Difference between _version and [_seq_no, _primary_term]

It seems to me that both versioning (_version; See here) and [_seq_no, _primary_term] (See here) are used for optimistic concurrency control (e.g., to determine the version of a document we want to update). What's the difference between them and when should we use each?

You should use _seq_no and _primary_term.

2 Likes

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