You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2026/06/18 15:08:00 UTC

[jira] [Updated] (HDDS-14435) usedNamespace is being decremented incorrectly

     [ https://issues.apache.org/jira/browse/HDDS-14435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei-Chiu Chuang updated HDDS-14435:
-----------------------------------
    Epic Link: HDDS-15130

> 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
>            Assignee: Aswin Shakil
>            Priority: Major
>
> [~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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org