jiajunwang commented on a change in pull request #632: Asynchronously 
calculating the Baseline
URL: https://github.com/apache/helix/pull/632#discussion_r351946851
 
 

 ##########
 File path: helix-core/src/main/java/org/apache/helix/model/ClusterConfig.java
 ##########
 @@ -94,7 +94,12 @@
     // The preference of the rebalance result.
     // EVENNESS - Evenness of the resource utilization, partition, and top 
state distribution.
     // LESS_MOVEMENT - the tendency of keeping the current assignment instead 
of moving the partition for optimal assignment.
-    REBALANCE_PREFERENCE
+    REBALANCE_PREFERENCE,
+    // Specify if the WAGED rebalancer should asynchronously calculating the 
global rebalance result.
+    // Note that asynchronously calculating will reduce the rebalance delay 
but may cause more
+    // partition movements/
+    // Default to be true.
+    ASYNC_GLOBAL_REBALANCE
 
 Review comment:
   You mean have a different enum for WAGED rebalancer options? I think it's a 
good idea.
   One thing we might need to discuss is whether we need and how to 
differentiate this enum in the ZNode content. Adding prefix seems to be too 
much overhead.

----------------------------------------------------------------
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