zpinto commented on code in PR #2877: URL: https://github.com/apache/helix/pull/2877#discussion_r1736773976
########## helix-core/src/main/java/org/apache/helix/controller/rebalancer/strategy/AutoRebalanceStrategy.java: ########## @@ -82,7 +84,7 @@ public void init(String resourceName, final List<String> partitions, @Override public ZNRecord computePartitionAssignment(final List<String> allNodes, final List<String> liveNodes, final Map<String, Map<String, String>> currentMapping, ResourceControllerDataProvider clusterData) { - int numReplicas = countStateReplicas(); + int numReplicas = calculateStatesReplicaCount(); Review Comment: Nvm, explained offline -- 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: reviews-unsubscr...@helix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@helix.apache.org For additional commands, e-mail: reviews-h...@helix.apache.org