forked from voldemort/voldemort
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial version of repartitioning tool 'RepartitionCLI'.
RebalanceCLI - removed all "generate" options and code from this tool (now tools/RepartitionCLI) - removed "analysis" option from this tool (now tools/PartitionAnalysisCLI) - Fixed errors in help/usage docs RepartitionCLI - Removed unnecessary options that restricted partition movement to be 'within a zone'. This decouples the repartition tool from the planning tool. This also assumes that optimizations can be done at plan time to keep all movement within a zone (when possible). - cleaned up option names to be more concise - Added options for target cluster/stores to allow zone expansion to be fully specified PartitionBalance - New class extracted from ClusterInstance - Made all partition analysis zone-aware. This prevents zones with fewer nodes, or partitions, from skewing any analysis. I.e., each zone's balance analysis is now correctly normalized to be comparable with other zones' balance analyses. - added inner ZoneBalanceStats class that makes stats tracking clearer - added getUtility methods to hide the exact utiliyt method from the interfaces - Changed utility methods to sum over all zones and to combine zone primary analysis with nary analysis. RebalanceClusterUtils.java - changed/extended balancePrimaryPartitions to handle zone expansion - Stripped out a bunch of unnecessary options/code. I.e., options/code that tried to minimize cross zone moves during repartitioning (rather than during planning!) - Added some helper methods to clean up repeated code. RebalanceUtilsTest - test new helper methods
- Loading branch information
Showing
5 changed files
with
475 additions
and
542 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
Oops, something went wrong.