ChenSammi commented on code in PR #8297:
URL: https://github.com/apache/ozone/pull/8297#discussion_r2057610504


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/diskbalancer/DiskBalancerService.java:
##########
@@ -92,10 +92,15 @@ public class DiskBalancerService extends BackgroundService {
   private Map<DiskBalancerTask, Integer> inProgressTasks;
   private Set<Long> inProgressContainers;
 
-  // Every time a container is decided to be moved from Vol A to Vol B,
-  // the size will be deducted from Vol A and added to Vol B.
-  // This map is used to help calculate the expected storage size after
-  // the container balancing finished.
+  /**
+   * A map that tracks the total bytes freed from each source volume
+   * during container moves in the current disk balancing cycle.
+   *
+   * Unlike committedBytes, which is used for pre-allocating space on
+   * destination volumes, deltaSizes helps track how much space has
+   * effectively been freed on the source volumes without modifying

Review Comment:
   how much space has effectively been freed -> how many space will be freed



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