priyeshkaratha commented on code in PR #9127:
URL: https://github.com/apache/ozone/pull/9127#discussion_r2434746742


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/handlers/BucketEntityHandler.java:
##########
@@ -122,25 +124,18 @@ public DUResponse getDuResponse(
       DUResponse.DiskUsage diskUsage = new DUResponse.DiskUsage();
       diskUsage.setSubpath(subpath);
       long dataSize = getTotalSize(subdirObjectId);
-      bucketDataSize += dataSize;
 
       if (withReplica) {
         long dirDU = getBucketHandler()
             .calculateDUUnderObject(subdirObjectId);

Review Comment:
   we can write inline. I tested locally will update.



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

Reply via email to