Wei-Chiu Chuang created HDDS-14435:
--------------------------------------

             Summary: usedNamespace is being decremented incorrectly
                 Key: HDDS-14435
                 URL: https://issues.apache.org/jira/browse/HDDS-14435
             Project: Apache Ozone
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Wei-Chiu Chuang


[~sarvekshayr] reported that after HDDS-13756 seems to cause a regression:

https://github.com/apache/ozone/pull/9115#discussion_r2685116012
{noformat}
After this PR, observed an issue where usedBytes is high while usedNamespace is 
0, even though the bucket has no keys.

It appears that usedNamespace is being decremented incorrectly. In the 
overwrite case, the namespace seems to be reduced twice, whereas it should done 
once by 1.

Since the bucket has no data, this likely indicates a problem in how namespace 
is being updated during the commit or delete flow.
{noformat}

[~aswinshakil] [~smeng] 



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