You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/12/23 15:24:02 UTC

[GitHub] [ozone] linyiqun edited a comment on pull request #1723: HDDS-4588. If volume's quota is enabled then bucket's quota cannot be cleared

linyiqun edited a comment 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 volume 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org