jojochuang commented on code in PR #8587:
URL: https://github.com/apache/ozone/pull/8587#discussion_r2147367674
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java:
##########
@@ -912,9 +912,9 @@ protected void checkBucketQuotaInBytes(
OMMetadataManager metadataManager, OmBucketInfo omBucketInfo,
long allocateSize) throws IOException {
if (omBucketInfo.getQuotaInBytes() > OzoneConsts.QUOTA_RESET) {
- long usedBytes = omBucketInfo.getUsedBytes();
+ long usedBytes = omBucketInfo.getTotalBucketSpace();
long quotaInBytes = omBucketInfo.getQuotaInBytes();
- if (quotaInBytes - usedBytes < allocateSize) {
+ if (quotaInBytes - usedBytes < allocateSize) {
Review Comment:
extra space
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]