We are running an _update_by_query
query on an index with a few clauses to carefully select the documents that should be updating.
We are running into issues where we are getting back 409 Conflict errors when there are no documents which match the query we're sending over -- if I run the query section of the update prior to running the update, I get zero results back (which is accurate).
I then run the update (with the same exact query clause) and get back errors saying that the version of the document it was updating (version 1) is now version 2 on the backend -- but there should have been ZERO updates to perform based on this query.
We are using Elasticsearch 6.3.0.