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


   > > I am thinking for this case, it's okay to just clear bucket quota no 
matter if the volume quota was set? Since the volume quota check will still 
make the sense, when we clear one bucket quota.
   > 
   > There is a very [detailed 
discussion](https://github.com/apache/ozone/pull/1677#issuecomment-745026394) 
of this.
   
   @captainzmc , although we removed the usedBytes because of the quota update 
issue. But instead of, we sum the buckets used bytes when bucket is created. 
This logic can still make the sense, 
[OMBucketCreateRequest.java#L331](https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java#L331)
   
   


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