siddhantsangwan commented on a change in pull request #2578:
URL: https://github.com/apache/ozone/pull/2578#discussion_r717239874



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/balancer/ContainerBalancer.java
##########
@@ -411,7 +436,11 @@ private IterationResult doIteration() {
       }
     }
 
-    // check move results
+    checkIterationMoveResults();
+    return IterationResult.ITERATION_COMPLETED;
+  }
+
+  private void checkIterationMoveResults() {

Review comment:
       The introduction of this method also fixes 
[HDDS-5760](https://issues.apache.org/jira/browse/HDDS-5760). Now, iteration 
move results are getting checked every time we exit an iteration early.




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