smengcl commented on code in PR #8587:
URL: https://github.com/apache/ozone/pull/8587#discussion_r2373505974
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -1296,8 +1296,8 @@ public OzoneBucket getBucketDetails(
bucketInfo.getEncryptionKeyInfo().getKeyName() : null)
.setSourceVolume(bucketInfo.getSourceVolume())
.setSourceBucket(bucketInfo.getSourceBucket())
- .setUsedBytes(bucketInfo.getUsedBytes())
- .setUsedNamespace(bucketInfo.getUsedNamespace())
+ .setUsedBytes(bucketInfo.getTotalBucketSpace())
+ .setUsedNamespace(bucketInfo.getTotalBucketNamespace())
Review Comment:
I'm worried about the confusion future devs will get into.
How much effort would it take to expose TotalBucket(Name)Space separately,
and rename all the usages of UsedBytes/UsedNamespace?
--
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]