Skip to content

Commit e076e66

Browse files
Add log when download completes with file size (#15224) (#15348)
(cherry picked from commit 0ca4ed0) Signed-off-by: Gaurav Bafna <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3971a25 commit e076e66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/org/opensearch/index/store/RemoteStoreFileDownloader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ private void copyOneFile(
149149
try {
150150
cancellableThreads.executeIO(() -> {
151151
destination.copyFrom(source, file, file, IOContext.DEFAULT);
152+
logger.trace("Downloaded file {} of size {}", file, destination.fileLength(file));
152153
onFileCompletion.run();
153154
if (secondDestination != null) {
154155
secondDestination.copyFrom(destination, file, file, IOContext.DEFAULT);

0 commit comments

Comments
 (0)