GitHub user lei-xia opened a pull request: https://github.com/apache/helix/pull/49
New topology-aware auto rebalance strategy and some minor fixes to the old AutoRebalanceStrategy This commit mainly contains a new topology-aware auto rebalance strategy based on CRUSH algorithm. The detailed design doc is at: https://cwiki.apache.org/confluence/display/HELIX/Helix+Topology-aware+Rebalance+Strategy Commits: 1. A new crush-based topology-aware auto rebalance strategy. 2. Allow current AutoRebalancer to pick different rebalance strategy at runtime based on new config option in IdealState. 3. Fix a bug in old AutoRebalanceStrategy which disabled instances are still included in the mapping calculation. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lei-xia/helix helix-0.6.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/helix/pull/49.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #49 ---- commit fd566e0caf4225fda8209654c14516050f95502f Author: Lei Xia <l...@linkedin.com> Date: 2016-06-01T02:17:39Z [HELIX-633] AutoRebalancer should ignore disabled instance and all partitions on disabled instances should be dropped in FULL_AUTO rebalance mode commit c728f92b85cdfa90a3b088751773340e133b67b4 Author: Lei Xia <l...@linkedin.com> Date: 2016-06-07T21:42:43Z [HELIX-634] Refactor AutoRebalancer to allow configuable placement strategy. commit 5b2a813b0bbc6b3358e217657cc2da6b9d8a9d6e Author: Lei Xia <l...@linkedin.com> Date: 2016-06-16T19:06:34Z [HELIX-568] Add new topology aware (rack-aware) rebalance strategy based on CRUSH algorithm. Design doc is available at: https://cwiki.apache.org/confluence/display/HELIX/Helix+Topology-aware+Rebalance+Strategy ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---