Elasticsearch version: 6.4.3
Our cluster has a large number of indexes (~300-400) and we occasionally create about 20 indexes at once. Most of the time everything works perfectly. However, sometimes we are experiencing the following sequence of events:
- Index
my_index
is created -
HEAD /my_index
returns 200 - Any attempt to index an object to the index fails with a 404 (as does a call like
GET /my_index/_settings
We've implemented some exponential backoff logic to wait some amount of time between steps 2 and 3 and it seems to help mitigate the problem, but doesn't eliminate the problem completely. We also make some cluster health calls with wait_for_status=green
to really make sure the cluster is in good shape before proceeding.
- Is this a known issue with ES that happens when there are large numbers of indexes?
- Is there any setting or call we can make to help avoid this issue? I find it particularly strange that the
HEAD
call returns 200 but subsequent calls fail.
Thanks for any help!