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

ILM shrink Action should pick only highest version nodes #41879

Closed
colings86 opened this issue May 7, 2019 · 1 comment · Fixed by #43300

Comments

@colings86
Copy link
Member

commented May 7, 2019

One of the steps in the ILM shrink action picks a random nodes with the current allocation rules and creates an allocation rule to require the shard are allocated on that node. This is necessary as a copy of each shard needs to be on the same node in order to perform the shrink operation.

When picking the random node ILM should consider the versions of the nodes and pick a node with the highest version. This will mean in a mixed cluster scenario ILM does not get into a deadlock situation where some shards are on a node with a higher version than the random node thats picked and therefore cannot be allocated to the randomly picked node (because we don't let shards move to an earlier versioned node)

@elasticmachine

This comment has been minimized.

Copy link
Collaborator

commented May 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.