narendly commented on a change in pull request #696: Add WAGED rebalancer reset 
method to clean up cached status.
URL: https://github.com/apache/helix/pull/696#discussion_r369897296
 
 

 ##########
 File path: 
helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java
 ##########
 @@ -177,12 +172,13 @@ private WagedRebalancer(AssignmentMetadataStore 
assignmentMetadataStore,
     _assignmentMetadataStore = assignmentMetadataStore;
     _rebalanceAlgorithm = algorithm;
     _mappingCalculator = mappingCalculator;
+    if (manager == null) {
+      LOG.warn("HelixManager is not provided. The rebalancer is not going to 
schedule for a future "
+          + "rebalance even when delayed rebalance is enabled.");
 
 Review comment:
   Whether HelixManager is null or not is not and should not be a flag for 
DelayedRebalance. Why does the log specifically mention delayed rebalance here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to