Gargi-jais11 opened a new pull request, #8006:
URL: https://github.com/apache/ozone/pull/8006

   ## What changes were proposed in this pull request?
   
   Current DiskBalancerService#balancedBytesInLastWindow is always 0. 
Throttling configuration 
"hdds.datanode.disk.balancer.max.disk.throughputInMBPerSec" is not respected.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12432
   
   ## How was this patch tested?
   
   The patch was tested manually on docker cluster by adding log for debugging.
   ```
   2025-03-04 12:46:23 2025-03-04 07:16:23,611 [DiskBalancerService#3] INFO 
diskbalancer.DiskBalancerService: Skipping balancing until nextAvailableTime 
(8628818)
   2025-03-04 12:46:23 2025-03-04 07:16:23,611 
[47aaddad-75cb-42a0-8e02-cde1309ca6d2-BlockDeletingService#2] INFO 
interfaces.ContainerDeletionChoosingPolicyTemplate: Chosen 0/5000 blocks from 0 
candidate containers.
   2025-03-04 12:47:23 2025-03-04 07:17:23,611 [DiskBalancerService#3] INFO 
diskbalancer.DiskBalancerService: Skipping balancing until nextAvailableTime 
(8628818)
   2025-03-04 12:47:23 2025-03-04 07:17:23,611 
[47aaddad-75cb-42a0-8e02-cde1309ca6d2-BlockDeletingService#2] INFO 
interfaces.ContainerDeletionChoosingPolicyTemplate: Chosen 0/5000 blocks from 0 
candidate containers.
   2025-03-04 12:48:23 2025-03-04 07:18:23,610 [DiskBalancerService#3] INFO 
diskbalancer.DiskBalancerService: Skipping balancing until nextAvailableTime 
(8628818)
   2025-03-04 12:48:23 2025-03-04 07:18:23,610 
[47aaddad-75cb-42a0-8e02-cde1309ca6d2-BlockDeletingService#2] INFO 
interfaces.ContainerDeletionChoosingPolicyTemplate: Chosen 0/5000 blocks from 0 
candidate containers.
   ```
   


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