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

Swaminathan Balachandran updated HDDS-13036:
--------------------------------------------
        Parent:     (was: HDDS-12940)
    Issue Type: Bug  (was: Sub-task)

> 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: Bug
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to