Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Improve the rebalace: old nodes should only give away partitions, not obtain new ones #63

Closed
v-stepanov opened this issue Sep 9, 2016 · 1 comment
Assignees

Comments

@v-stepanov
Copy link
Contributor

When the new node is added to cluster and rebalance starts the old nodes sometimes get new partitions. In my understanding the rebalance should happen in a way that partitions are only moved from old nodes to the new one (in other case it can result in that old nodes can run out of disk space)

@antban
Copy link
Contributor

antban commented Sep 13, 2016

Will copy additional information form #36

  1. Rebalance should do as less steps as it's possible (do not move data that should not be moved)
  2. Leaders should be balanced having in mind that there must be different leaders for partitions in single topic.

@antban antban self-assigned this Sep 13, 2016
antban added a commit that referenced this issue Sep 20, 2016
@antban antban closed this as completed in d7e68e6 Oct 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants