Is it possible for multiple update actions in one bulk request on the same document to cause version conflict? that is to say, bulk actions are executed in parallel, so it is possible to face version conflict in that case right?
To my knowledge, update actions on the same document from one single bulk request should be grouped into a sub-request that gets sent to the shard for that document and exectured in order there, so there shouldn't be any parallel execution in that case.
If you have multiple bulk requests "in flight" containing updates to the same document, thats a different story though.
Please be aware that this pattern of frequent updates of the same document can lead to a lot of small segments and performance problems. It would be better to merge updates by document before sending bulk.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.