davidradl commented on code in PR #27970:
URL: https://github.com/apache/flink/pull/27970#discussion_r3109225035
##########
flink-filesystems/flink-s3-fs-native/src/main/java/org/apache/flink/fs/s3native/NativeS3BulkCopyHelper.java:
##########
@@ -113,12 +152,18 @@ public void copyFiles(
}
if (copyFutures.size() >= maxConcurrentCopies || i ==
requests.size() - 1) {
+ batchNumber++;
+ LOG.debug(
+ "Waiting for batch {}/{} ({} files)",
+ batchNumber,
+ totalBatches,
+ copyFutures.size());
waitForCopies(copyFutures);
copyFutures.clear();
}
}
- LOG.info("Completed bulk copy of {} files", requests.size());
+ LOG.info("Completed bulk copy of {} files", totalFiles);
Review Comment:
I am curious - the total number of files could be different to the total
number of requests. does that mean a request could be for more than one file .
nit: maybe put out the number of requests made as well in trace - as least as
debug - so the log would show what is happening around this.
--
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]