ArafatKhan2198 opened a new pull request, #7031:
URL: https://github.com/apache/ozone/pull/7031

   ## What changes were proposed in this pull request?
   In this pull request, a fix was implemented to address an issue where 
datanodes reported negative container sizes due to duplicate block deletion 
requests. The root cause was identified as multiple deletion requests being 
sent for the same blocks, leading to incorrect updates in container metrics. 
The solution involved improving the block deletion logic by tracking 
already-deleted blocks and ignoring duplicate deletion attempts. This ensures 
that the container's used bytes and block count metrics remain accurate, 
preventing negative values. 
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11267
   ## How was this patch tested?
   Manually Tested


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