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

Cluster shards rebalance should take into account that primary shards are evenly distributed among the dataNodes #57070

Closed
kkewwei opened this issue May 22, 2020 · 1 comment
Labels
>enhancement needs:triage Requires assignment of a team area label

Comments

@kkewwei
Copy link
Contributor

kkewwei commented May 22, 2020

Describe the feature

When we wan to add some nodes to cluster, We use index.routing.allocation.total_shards_per_node to controll shards allocation. After reaching equilibrium, the primary shards are almost distributed on the new nodes, this is not a good phenomenon. there will be more pressure on the new nodes when indexing and recovery.

If we should add a new AllocationDecider to make distribution of the primary shards more evenly.

@kkewwei kkewwei added >enhancement needs:triage Requires assignment of a team area label labels May 22, 2020
@DaveCTurner
Copy link
Contributor

Closing this as a duplicate of #41543.

@a03nikki a03nikki changed the title Cluster sharhs rebalance should take into account that primary shards are evenly distributed among the dataNodes Cluster shards rebalance should take into account that primary shards are evenly distributed among the dataNodes Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement needs:triage Requires assignment of a team area label
Projects
None yet
Development

No branches or pull requests

2 participants