forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ducky: change the balanced partition criteria
The assessment whether partitions are balanced were done by comparing the number of partitions in each node with the average target ±20%. This way went broken with the introduction of partition balancing domains. The criteria is changed by this commit to make sure that the number of partitions across noded is levelled within a scope of each domain separately. Levelled means that min and max # of replicas differ by 1 at most. Re redpanda-data#7418
- Loading branch information
Showing
1 changed file
with
25 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters