Skip to content

Conversation

@gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Apr 30, 2021

Backports the following commits to 7.x:

… are preparing for shutdown (elastic#71658)

This PR adds an allocation decider which uses the metadata managed by the Node Shutdown API to prevent shards from being allocated to nodes which are preparing to be removed from the cluster.

Additionally, shards will not be auto-expanded to nodes which are preparing to restart, instead waiting until after the restart is complete to expand the shard replication.
@gwbrown gwbrown merged commit 50fbfd5 into elastic:7.x Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant