You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arafat Khan (Jira)" <ji...@apache.org> on 2024/08/01 10:06:00 UTC

[jira] [Created] (HDDS-11267) Ozone Datanode Reporting Negative Container values for UsedBytes and BlockCount parameters

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org