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

Swaminathan Balachandran updated HDDS-13036:
--------------------------------------------
    Description: The quota calculation now checks bucket quota usage by 
considering both active objects and snapshot references, ensuring that deleted 
keys or directories are only subtracted from the quota when they are purged and 
no longer referenced in any snapshot.  (was: 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.)

> Bucket Quota usage should be a total of AOS usage + Snapshot Usage
> ------------------------------------------------------------------
>
>                 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
>
> The quota calculation now checks bucket quota usage by considering both 
> active objects and snapshot references, ensuring that deleted keys or 
> directories are only subtracted from the quota when they are purged and no 
> longer referenced in any 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