GitHub user narendly opened a pull request:
https://github.com/apache/helix/pull/211
Allow downward state transition during recovery and add recovery threshold
â¦recovery threshold
Previously, a single partition requiring recovery balance would block all
types of load-balance. This commit allows all downward state transitions (load
balance) to happen even when recovery balance is happening in the same cycle.
As for non-downward state transitions load-balance, a parameter,
ErrorOrRecoveryPartitionThresholdForLoadBalance, was added to ClusterConfig. If
the number of partitions requiring recovery is lower than the threshold,
non-downward load-balance will take place in the same cycle as recovery
balance; otherwise, non-downward load-balance will not take place in the same
cycle.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/narendly/helix 1292476
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/211.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 #211
----
commit 37f3d4c8dadd7cadeebad4fb41e2d4b1c38601fa
Author: Hunter Lee <narendly@...>
Date: 2018-06-29T01:06:04Z
[HELIX-711] Allow downward state transition during recovery and add
recovery threshold
Previously, a single partition requiring recovery balance would block all
types of load-balance. This commit allows all downward state transitions (load
balance) to happen even when recovery balance is happening in the same cycle.
As for non-downward state transitions load-balance, a parameter,
ErrorOrRecoveryPartitionThresholdForLoadBalance, was added to ClusterConfig. If
the number of partitions requiring recovery is lower than the threshold,
non-downward load-balance will take place in the same cycle as recovery
balance; otherwise, non-downward load-balance will not take place in the same
cycle.
----
---