jojochuang opened a new pull request, #10065:
URL: https://github.com/apache/ozone/pull/10065

   ## What changes were proposed in this pull request?
   HDDS-14996. Add metrics to track Snapshot backup SST file stats.
   
   Please describe your PR in detail:
      - Added SstBackupDirSize and SstBackupSstFilesCount metrics to 
OMSnapshotDirectoryMetrics to track disk space usage and file counts for the 
backup SST
        directory.
      - Refactored calculation logic into a reusable calculateDirSize helper 
that handles both snapshots and backup SST directories while maintaining
        inode-based deduplication for hard-linked files.
      - Initialized metrics in the constructor to ensure reliability and avoid 
NullPointerException during testing.
      - Added TestOMSnapshotDirectoryMetrics.java to verify the new metrics and 
ensured Java 8 compatibility.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-14996
   
   ## How was this patch tested?
   
   New unit tests


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