ChenSammi commented on a change in pull request #1412: URL: https://github.com/apache/hadoop-ozone/pull/1412#discussion_r492518254
########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketSetPropertyRequest.java ########## @@ -150,6 +148,20 @@ public OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager, .setIsVersionEnabled(dbBucketInfo.getIsVersionEnabled()); } + //Check quotaInBytes and quotaInCounts to update + String volumeKey = omMetadataManager.getVolumeKey(volumeName); + OmVolumeArgs omVolumeArgs = omMetadataManager.getVolumeTable() + .get(volumeKey); + if (checkQuotaBytesValid(omVolumeArgs, omBucketArgs)) { Review comment: same as above. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org