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 2025/07/08 20:49:00 UTC

[jira] [Updated] (HDDS-13036) Bucket Quota should be updated while purging keys and directories instead of delete keys & delete directory

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

Wei-Chiu Chuang updated HDDS-13036:
-----------------------------------
    Parent: HDDS-12940  (was: HDDS-12558)

> Bucket Quota should be updated while purging keys and directories instead of delete keys & delete directory
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-13036
>                 URL: https://issues.apache.org/jira/browse/HDDS-13036
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>
> Currently the Bucket Quota is updated while performing a key delete and delete directory without even checking if the objects has any reference in the previous snapshot which could lead to erroneous calculation. Instead of that if bucket quotas are updated as part of OmKeyPurgeRequest & OMDirectoriesPurgeRequestWithFSO then the numbers would be correct since a purge request would be called only if and only if the object doesn't exist in any of the snapshot.



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