<p dir="auto">Can we possible add a feature to the Index command that gives the option of returning the source of the existing item on failure to update/insert. The failure would probably be caused by a version conflict. I have scenarios were multiple (external) nodes need to update the same key with different values and possibly the same value. If I get the source back it would remove the need for me to have to query for it on failure to figure out what state I am in.</p>
<p dir="auto">So I was wondering if it would be possible to add a feature to UPDATE for returning the old source of a document that exist before the update is applied. This would be useful in scenarios where you want to update a document and possibly take additional actions if the update caused certain values in the document to change. The current alternative is to do a GET operation before the update, but then you can run into possible timing issues. Not mention you take the additional network call to perform the GET.</p>