Arafat Khan created HDDS-11267:
----------------------------------

             Summary: Ozone Datanode Reporting Negative Container values for 
UsedBytes and BlockCount parameters
                 Key: HDDS-11267
                 URL: https://issues.apache.org/jira/browse/HDDS-11267
             Project: Apache Ozone
          Issue Type: Bug
          Components: Ozone Datanode, Ozone Recon
            Reporter: Arafat Khan


The issue involves datanodes in Ozone reporting negative container sizes for 
the {{usedBytes}} and block count metrics. This occurs when the Ozone Manager 
sends duplicate block deletion requests to the Storage Container Manager. Due 
to a delay in processing the original request, OM may mistakenly send a 
duplicate request. The datanode, upon receiving the duplicate request, attempts 
to delete blocks that have already been deleted, but still updates the metrics, 
leading to negative values. The proposed solution is to modify the deletion 
process in the datanode to track and ignore duplicate block deletion requests, 
ensuring metrics are not updated incorrectly.



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