qqu0127 commented on code in PR #2456:
URL: https://github.com/apache/helix/pull/2456#discussion_r1175584628


##########
helix-core/src/main/java/org/apache/helix/controller/stages/StateTransitionThrottleController.java:
##########
@@ -155,16 +136,20 @@ protected boolean shouldThrottleForResource(
    */
   protected boolean shouldThrottleForInstance(
       StateTransitionThrottleConfig.RebalanceType rebalanceType, String 
instanceName) {
+    return shouldThrottleForGivenMap(rebalanceType, instanceName, 
_pendingTransitionAllowedPerInstance);

Review Comment:
   There are two similar methods: shouldThrottleForResource and 
shouldThrottleForInstance



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to