Version Conflict Engine Exception : due to simultaneous updates

I have APIs[application] which update documents partially as per the action on the client side.

Now the issue that I am facing is

   "type": "version_conflict_engine_exception",
   "reason": "[5dede8546cce890029d8dfa6]: version conflict, required seqNo [1008824], primary term [1]. current document has seqNo [1068598] and primary term [1]",

The issue is straight forward that doc is getting modified concurrently.

Will the retry_on_conflict option for the update api maintain the sanity that the documents are updated properly without information loss ??

Is this option available at the elastic client level ?

any other recommendations are welcome .

Thanks a lot

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.