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

[8.5] Implement repair functionality for aliases colliding with indices bug #91993

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

original-brownbear
Copy link
Member

backport of #91456 and #91887

…stic#91456)

This fixes a bug introduced in elastic#87863
which added a Metadata copy constructor with separate name collision checks that
assumed index name and alias names were already validated in `IndexMetada`.
=> fixed corrupted states by actually adding the validation to `IndexMetadata`
to make it impossible to instantiate a broken `IndexMetadata` in the first place.
…elastic#91887)

Follow up to elastic#91456 implementing an automated fix for indices corrupted in 8.5.
@original-brownbear original-brownbear added :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport labels Nov 29, 2022
@original-brownbear original-brownbear merged commit 8039973 into elastic:8.5 Nov 29, 2022
@original-brownbear original-brownbear deleted the 91456-8.5 branch November 29, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants