Skip to content
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

Fix deleting index during snapshot finalization #104378

Conversation

DaveCTurner
Copy link
Contributor

Today if an index is deleted during a very specific order of snapshot
finalizations then it's possible we'll miscalculate the latest shard
generations for the shards in that index, causing the deletion of a
shard-level index-UUID blob which prevents further snapshots of that
shard.

Backports #103817 to 8.12
Closes #101029

Today if an index is deleted during a very specific order of snapshot
finalizations then it's possible we'll miscalculate the latest shard
generations for the shards in that index, causing the deletion of a
shard-level `index-UUID` blob which prevents further snapshots of that
shard.

Backports elastic#103817 to 8.12
Closes elastic#101029
@DaveCTurner DaveCTurner added >bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.12.1 labels Jan 15, 2024
@elasticsearchmachine elasticsearchmachine merged commit 4268368 into elastic:8.12 Jan 15, 2024
15 checks passed
@DaveCTurner DaveCTurner deleted the 2024/01/15/testDeleteIndexWithOutOfOrderFinalization-8.12 branch January 15, 2024 17:07
@DaveCTurner DaveCTurner restored the 2024/01/15/testDeleteIndexWithOutOfOrderFinalization-8.12 branch June 17, 2024 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.12.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants