-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[controller] Make Helix rebalance preferences and capacity keys confi…
…gurable for the controller (#1475) We are migrating from SEMI_AUTO to FULL_AUTO Waged. After thorough testing, we discovered a config that achieves overall even distribution for resource assignment. 1. Made the Helix rebalance preference configurable. This is helpful when using Waged, as we can configure it to priortize evenness. 2. Made instance capacity keys configurable, allowing Helix to consider the current top-state when calculating assignments. 3. To accommodate these configurations, I updated the logic of updateClusterConfigs to support more complex configurations beyond simple fields. This logic was also ported to updateRESTConfigs. 4. Enabled PERSIST_BEST_POSSIBLE_ASSIGNMENT, as this is the setting we use for our controller clusters.
- Loading branch information
Showing
8 changed files
with
644 additions
and
34 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
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
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
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
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.