GitHub user lei-xia opened a pull request:
https://github.com/apache/helix/pull/153
Retrieve cached idealMappings for all Rebalancers instead of recomputing it
during every rebalance round.
Retrieve cached idealMappings for all Rebalancers (AutoRebalancer,
DelayedRebalancer and CustomRebalancer) for any rebalance strategies. This will
avoid recompute idealmapping (preference list) if there is no
idealstate/instanceconfig/LiveInstances changes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lei-xia/helix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/153.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 #153
----
commit e2f99412b46f282f626a4734f24459c49bd130e1
Author: Lei Xia <lxia@...>
Date: 2018-02-09T18:28:25Z
Retrieve cached idealMappings for all Rebalancers (AutoRebalancer,
DelayedRebalancer and CustomRebalancer) for any rebalance strategies. This will
avoid recompute idealmapping (preference list) if there is no
idealstate/instanceconfig/LiveInstances changes.
----
---