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

Relocate primary shards first while excluding set of nodes #1349

Closed
jainankitk opened this issue Oct 8, 2021 · 0 comments
Closed

Relocate primary shards first while excluding set of nodes #1349

jainankitk opened this issue Oct 8, 2021 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request

Comments

@jainankitk
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When some node or set of nodes is excluded, the shards are moved away in random order. It might relocate all copies of same shard first over any copy of some shard that reduces availability.

Describe the solution you'd like
Whenever some node or set of nodes is excluded, we move away primary or atleast one copy of every shard before relocating other copies of the same shard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

1 participant