Consider that there are three primary shards in my index. For indexing and update requests, the primary shards are used. Elasticsearch can distribute incoming requests (such as massive bulk requests) to various primary shards if I have more than 1 primary shard in order to improve performance.
-
Before the 6.x version, there existed a field called "_version" that kept track of how frequently a document was modified.
-
I recently read about optimistic concurrency management techniques like the primary term and seq no, which were first introduced in 6.x. I understand that using the primary term and seq no is considerably more reliable than using the _version method since it enables us to figure out the exact sequence of index operations that took place on the primary.
However, why is the _version parameter still used and not deprecated? Which will be more effective in my use case for handling conflict #1 or #2?