Gargi Jaiswal created HDDS-13278:
------------------------------------

             Summary: [DiskBalancer] Incorrect tracking of DiskBalancer 
inProgressTask and balancedByteMap initialisation
                 Key: HDDS-13278
                 URL: https://issues.apache.org/jira/browse/HDDS-13278
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Gargi Jaiswal
            Assignee: Gargi Jaiswal


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to