Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

s3: Add the md5 value to debug message for multipart chunk for S3

interested.tortoise9daa4ccfebeb
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index 494efcc8a..778761748 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -4784,7 +4784,7 @@ func (w *s3ChunkWriter) WriteChunk(ctx context.Context, chunkNumber int, reader
w.addCompletedPart(s3PartNumber, uout.ETag)
- fs.Debugf(w.o, "multipart upload wrote chunk %d with %v bytes and etag %v", chunkNumber+1, currentChunkSize, *uout.ETag)
+ fs.Debugf(w.o, "multipart upload wrote chunk %d with %v bytes, etag %v and md5 %v", chunkNumber+1, currentChunkSize, *uout.ETag, hex.EncodeToString(md5sumBinary))
return currentChunkSize, err
}