SaketaChalamchala opened a new pull request, #8085: URL: https://github.com/apache/ozone/pull/8085
## What changes were proposed in this pull request? No logs to indicate checkpoint tarball in leader OM. Added logs to provide an initial estimate of the amount of data, number of files and snapshots to be transferred in the tarball stream. Added progress indicator logs every 30s detailing # sst files and size of data trasferred per request. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12557 ## How was this patch tested? Manually tested with docker with a progress log interval of `500ms` Leader OM: ``` INFO om.OMDBCheckpointServlet: Transfer estimates to Checkpoint Tarball Stream - Estimated Data size: 44 MB, Estimated number of SST files: 35654, Estimated number of Snapshots: 150 INFO om.OMDBCheckpointServlet: Transferred 55833 KB, #files 2022 to checkpoint tarball stream... // Will print every 30s. INFO om.OMDBCheckpointServlet: Completed checkpoint tarball transfer. INFO om.OMDBCheckpointServlet: Completed transfer of 55833 KB, #files 2022 to checkpoint tarball stream. // excluding hard links. ``` As usual the follower tracks the amount of data transferred Follower OM: ``` 2025-03-15 01:10:27,757 [om3-InstallSnapshotThread] INFO ratis_snapshot.OmRatisSnapshotProvider: Downloading latest checkpoint from Leader OM om1. Checkpoint: om.db-om1-1742001027751.tar URL: http://om1:9874/dbCheckpoint?includeSnapshotData=true&flushBeforeCheckpoint=true 2025-03-15 01:10:29,713 [om3-InstallSnapshotThread] INFO ratis_snapshot.OmRatisSnapshotProvider: Download completed for 'om.db-om1-1742001027751.tar'. Total size: 62602 KB ``` -- 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]
