ChenSammi commented on a change in pull request #1746:
URL: https://github.com/apache/ozone/pull/1746#discussion_r557398818



##########
File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/volume/OMVolumeSetQuotaRequest.java
##########
@@ -189,7 +189,7 @@ public boolean checkQuotaBytesValid(OMMetadataManager 
metadataManager,
       long volumeQuotaInBytes, String volumeName) throws IOException {
     long totalBucketQuota = 0;
 
-    if (volumeQuotaInBytes == 0) {
+    if (volumeQuotaInBytes < OzoneConsts.QUOTA_RESET) {

Review comment:
       (volumeQuotaInBytes < OzoneConsts.QUOTA_RESET || volumeQuotaInBytes == 
0) ?




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