adoroszlai commented on code in PR #8085:
URL: https://github.com/apache/ozone/pull/8085#discussion_r2005155454
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java:
##########
@@ -290,6 +300,12 @@ private boolean getFilesForArchive(DBCheckpoint checkpoint,
}
AtomicLong copySize = new AtomicLong(0L);
+
+ // Log estimated total data transferred on first request.
+ if (sstFilesToExclude.isEmpty()) {
+ logTotals(checkpoint, includeSnapshotData);
Review Comment:
```suggestion
logEstimatedTarballSize(checkpoint, includeSnapshotData);
```
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java:
##########
@@ -358,6 +338,30 @@ private boolean getFilesForArchive(DBCheckpoint checkpoint,
compactionLogDir.getOriginalDir().toPath());
}
+ private void logTotals(
Review Comment:
```suggestion
private void logEstimatedTarballSize(
```
--
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]