From 9daa4ccfebeb06c0e425f3cbd165eddcfc58f8fe Mon Sep 17 00:00:00 2001 From: "interested.tortoise" Date: Thu, 24 Sep 2026 09:43:52 +0100 Subject: [PATCH] s3: Add the md5 value to debug message for multipart chunk for S3 Adding md5 information to debug message for multipart upload as this is useful when testing. --- backend/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }