sreejasahithi opened a new pull request, #10708: URL: https://github.com/apache/ozone/pull/10708
## What changes were proposed in this pull request? When multiple container moves finish at the same time, each move runs a callback on its own thread. The balancer was updating moved data size with a plain long (sizeActuallyMovedInLatestIteration += ...). This update is not thread safe, so some bytes could be lost and the reported moved size could be low. This PR updates moved bytes through the existing balancer metrics in the callback, the same way move counts are already updated. ## What is the link to the Apache JIRA [HDDS-15656](https://issues.apache.org/jira/browse/HDDS-15656) ## How was this patch tested? Green CI : https://github.com/sreejasahithi/ozone/actions/runs/29022183864 -- 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]
