-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kibana migrations potentially fail if there's a running ES snapshot #47808
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
Pinging @elastic/kibana-platform (Team:Platform) |
We had to implement retry logic for this in the esArchiver since snapshots are running pretty frequently on cloud... We should probably do something similar in the migrations kibana/src/es_archiver/lib/indices/delete_index.js Lines 49 to 56 in 3613174
|
Thanks, this is exactly what we need. |
There was also retry logic added to the check for if the migrations are up-to-date: |
From https://github.com/elastic/cloud/issues/41742
When Kibana runs it's saved object migrations it's possible that it migrates a concrete index into an alias which performs the following steps:
If a snapshot is currently running step (2) will throw an exception "Cannot delete indices that are being snapshotted" and cause the migration to fail requiring manual intervention.
This is more likely to happen during 7.3 -> 7.4 since we perform a migration of .kibana_task_manager into an alias and .kibana_task_manager_n
The text was updated successfully, but these errors were encountered: