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


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java:
##########
@@ -315,6 +319,40 @@ public synchronized VolumeCheckResult check(@Nullable 
Boolean unused)
     return checkDbHealth(dbFile);
   }
 
+  /**
+   * This method can be used to get total bytes pending for deletion
+   * in cached interval of time. This can be utilized by either storage
+   * report or other services.
+   */
+  public long getPendingDeletionBytes() {

Review Comment:
   This method is exposed for use in the storage report. Initially, all changes 
related to SCM and DN were included in a single PR. In this update, I’ve 
separated out the DN-specific changes for better clarity and reviewability.



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