Index template resolution does not wait for the Cluster State to be recovered #49499
Labels
>bug
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
If a bulk request hits a node that has not recovered the CS yet, index metadata will not be available. The actual bulk request will wait/retry until the CS is recovered (due to retry mechanism in BulkOperation), but the resolution of index templates has no retry mechanism. This means default-pipeline processors will be omitted and this can result in incorrect documents being indexed. It may affect other aspects that deal with index templates as well.
There was an attempt to fix this (#46085), but the PR stalled. I closed that PR so that the issue is "unclaimed" in case someone else wants to fix the issue. I might revisit, but don't have time right now. :(
The text was updated successfully, but these errors were encountered: