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

Rebalance range replica. Only fully-replicated ranges may be rebalanced. #620

Closed
petermattis opened this issue Apr 9, 2015 · 1 comment
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone

Comments

@petermattis
Copy link
Collaborator

Keep a rebalance queue in memory. Range replicas are added to the queue from a store during range scan according to certain conditions:

  • Replica not matching zone config. When zone config changes happen, all ranges are scanned by each store and any mismatched replicas are added to the queue.
  • Store is overweight in terms of size or range count.
  • Rebalance away from stores finding themselves in top N space utilized, taking care to account for fewer than N stores in cluster. Only stores finding themselves in the top N space utilized set may have rebalances in effect.
@tamird tamird added this to the v0.1 (Beta) milestone Jul 22, 2015
@tamird tamird added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Jul 22, 2015
@jess-edwards jess-edwards mentioned this issue Aug 17, 2015
78 tasks
@spencerkimball
Copy link
Member

@mrtracy, would you care to create a follow on issue, or issues, for what else needs to be done for beta. Perhaps improvements to the heuristics, as necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

No branches or pull requests

4 participants