This is an automated email from the ASF dual-hosted git repository.
jiajunwang pushed a change to branch wagedRebalancer
in repository https://gitbox.apache.org/repos/asf/helix.git.
from 55e21b8 Add ChangeDetector interface and ResourceChangeDetector
implementation (#388)
add 672c9cb Redefine the hard/soft constraints (#422)
No new revisions were added by this update.
Summary of changes:
.../rebalancer/waged/RebalanceAlgorithm.java | 45 ------------------
.../constraints/ConstraintsRebalanceAlgorithm.java | 49 --------------------
.../waged/constraints/HardConstraint.java | 23 ++++-----
.../constraints/LeastPartitionCountConstraint.java | 53 +++++++++++++++++++++
.../waged/constraints/SoftConstraint.java | 54 +++++++++++++++++-----
.../constraints/SoftConstraintWeightModel.java | 54 ++++++++++++++++++++++
6 files changed, 159 insertions(+), 119 deletions(-)
delete mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/RebalanceAlgorithm.java
delete mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintsRebalanceAlgorithm.java
create mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/LeastPartitionCountConstraint.java
create mode 100644
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/SoftConstraintWeightModel.java