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

Map data tiers roles onto DATA legacy role for <7.3 #71628

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

andreidan
Copy link
Contributor

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 to
correctly map the data tier node roles (or rather, all node roles
that can contain data) onto the DATA role.

Fixes #71464

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@andreidan andreidan added the >bug label Apr 13, 2021
Copy link
Member

@dakrone dakrone left a 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?

@andreidan andreidan requested a review from dakrone April 13, 2021 20:39
Copy link
Member

@dakrone dakrone left a 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!

@andreidan andreidan merged commit 55e003d into elastic:7.x Apr 14, 2021
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Apr 14, 2021
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>
andreidan added a commit that referenced this pull request Apr 14, 2021
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Team:Data Management Meta label for data/management team v7.12.1 v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants