-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Map data tiers roles onto DATA legacy role for <7.3 #71628
Map data tiers roles onto DATA legacy role for <7.3 #71628
Conversation
Pinging @elastic/es-core-features (Team:Core/Features) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking a look at this @andreidan! I think we might be able to do it in a simpler way, what do you think?
server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this!
Map data tiers roles onto DATA legacy role for <7.3 (cherry picked from commit 55e003d) Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
A rolling upgrade from <7.3 to ≥7.10 would fail to map the data
tiers node roles to the
DATA
role. This PR adjusts the logic tocorrectly map the data tier node roles (or rather, all node roles
that can contain data) onto the
DATA
role.Fixes #71464