Description of problem:
ElasticSearch v5 stores indices on persistent volumes differently than earlier versions (using a hash value instead of the name of the index, I believe).
When ElasticSearch is upgraded to v5, the new pods are not considered ready until the Searchguard index becomes green. Especially on large clusters this can take a VERY long time to complete, but the rollout strategy has a 30-minute default timeout before terminating the pods and rolling back to the previous version.
This can leave ElasticSearch indices partially converted to v5 format, which earlier ElasticSearch versions can't deal with.
Further attempts to upgrade ElasticSearch to v5 can further corrupt the partially-upgraded indices, making them extremely difficult to recover.
Version-Release number of selected component (if applicable):
Upgrade from v3.9.41 -> v3.10.45 -> v3.11.43
(In reply to Matthew Barnes from comment #0)
> Description of problem:
> ElasticSearch v5 stores indices on persistent volumes differently than
> earlier versions (using a hash value instead of the name of the index, I
> When ElasticSearch is upgraded to v5, the new pods are not considered ready
> until the Searchguard index becomes green. Especially on large clusters
> this can take a VERY long time to complete, but the rollout strategy has a
> 30-minute default timeout before terminating the pods and rolling back to
> the previous version.
This is not accurate. The state of the Searchguard index is not involved in determination of readiness. My assumption is the pod(s) are rolled back because the storage from the previous deployment is not released by AWS and attached to the new deployment before the rollback time is exceeded. This was fixed by .
It's been a long time with this issue but talking to PM we may resolve via documentation. Need to verify following  returns no results and that customer's must validate prior to upgrading their ES clusters otherwise their data may not be recoverable.
I'm looking to turn this into a doc issue. Expecting to reference the content of the script in #c3 and want to reference ES changes. I found the mapping explosion  but I dont see ref to dots in fields. Do you have a link?
Moving to ON_QA for validation which may have already occurred given QE has been involved in reviewing the docs
Changes are live: