JacksonYao287 commented on a change in pull request #2676:
URL: https://github.com/apache/ozone/pull/2676#discussion_r718176413
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/balancer/ContainerBalancer.java
##########
@@ -187,7 +190,13 @@ private void balance() {
stop();
return;
}
- doIteration();
+
+ //if no new move option is generated, it means the cluster can
+ //not be balanced any more , so just stop
+ if (doIteration() == IterationResult.CAN_NOT_BALANCE_ANY_MORE) {
Review comment:
sure, will do this in a new commit
--
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]