Gargi-jais11 commented on code in PR #8239:
URL: https://github.com/apache/ozone/pull/8239#discussion_r2055951104


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/diskbalancer/DiskBalancerService.java:
##########
@@ -352,6 +359,18 @@ public BackgroundTaskQueue getTasks() {
     }
 
     if (queue.isEmpty()) {

Review Comment:
   If pair is null it implies that there is no volumes to be balanced now so we 
can mark that for one iteration it is balanced as volume data density is below 
threshold. If again it has become uneven user can start disk balancer again



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