swamirishi opened a new pull request, #8587:
URL: https://github.com/apache/ozone/pull/8587

   ## What changes were proposed in this pull request?
   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.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13036
   
   ## How was this patch tested?
   Adding unit tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to