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: fix multitenant multipart uploads with CEPH

Nick Craig-Wood964fcd5f59c3
diff --git a/backend/s3/s3.go b/backend/s3/s3.go
index 8d13f9be9..e27e3a60a 100644
--- a/backend/s3/s3.go
+++ b/backend/s3/s3.go
@@ -6070,8 +6070,8 @@ func (f *Fs) OpenChunkWriter(ctx context.Context, remote string, src fs.ObjectIn
chunkSize: int64(chunkSize),
size: size,
f: f,
- bucket: mOut.Bucket,
- key: mOut.Key,
+ bucket: ui.req.Bucket,
+ key: ui.req.Key,
uploadID: mOut.UploadId,
multiPartUploadInput: &mReq,
completedParts: make([]types.CompletedPart, 0),