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

Add new ShardsAllocator that takes indices into account when allocating and balancing shards #2555

Closed
s1monw opened this issue Jan 17, 2013 · 0 comments

Comments

@s1monw
Copy link
Contributor

s1monw commented Jan 17, 2013

The current EvenShardCountAllocator balances shards in a global fashion across all eligible nodes in the cluster. Under certain circumstances this algorithm can overload certain nodes with multiple shards for a single index while still gaining global balance.
The shard allocation algorithm should be more flexible to take into account more information like indexes or primaries and eventually things like the size of a shard or request patterns of an index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant