linyiqun commented on pull request #1489:
URL: https://github.com/apache/ozone/pull/1489#issuecomment-721653699


   Also +1 with no volume lock approach and aggregate the bucket bytes used 
instead. 
   
   >This bytesUsed should be updated all the time. If quota is not enabled when 
a bucket is created, then quota is enabled after a certain amount of data is 
written. At this point we need to know how much bytesUsed was before quota was 
enabled so that we can correctly update it.
   
   Agreed, bytes used still needed but don't need to do any quota check if we 
have a way to disable quota.


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

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