This is an automated email from the ASF dual-hosted git repository.

jiajunwang pushed a commit to branch wagedRebalancer
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/wagedRebalancer by this push:
     new c531a4b  Fix a missing parameter when the WAGED rebalancer init the 
change detector. (#547)
c531a4b is described below

commit c531a4bbcb0ebe327f6a3c6cf6e5cf7e5cb9e2e9
Author: Jiajun Wang <[email protected]>
AuthorDate: Mon Oct 28 17:53:43 2019 -0700

    Fix a missing parameter when the WAGED rebalancer init the change detector. 
(#547)
    
    This parameter was missed during the previous change.
---
 .../org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java
 
b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java
index 1e96b1e..7d52389 100644
--- 
a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java
+++ 
b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java
@@ -146,7 +146,7 @@ public class WagedRebalancer {
     // allow rebalancer to proceed
     _metricCollector =
         metricCollector == null ? new WagedRebalancerMetricCollector() : 
metricCollector;
-    _changeDetector = new ResourceChangeDetector();
+    _changeDetector = new ResourceChangeDetector(true);
   }
 
   // Release all the resources.

Reply via email to