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

   ## What changes were proposed in this pull request?
   This ticket addresses two related issues within the DiskBalancer logic:
   
   Incorrect Task Tracking: The DiskBalancerService fails to track in-progress 
tasks, causing it to constantly over-schedule new balancing operations. This 
leads to an excessive task queue and flawed decision-making based on an 
inaccurate view of pending work.
   Uninitialized State Map: In the DiskBalancerManager, the balancedBytesMap is 
never initialized. Consequently, it remains null, and any attempts to record 
the number of balanced bytes from datanode reports are silently ignored, 
preventing proper state tracking.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13278
   
   ## How was this patch tested?
   
   Passed existing tests.


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