From 64ed9b175f3f34a99264aab51808ef77f905d4a1 Mon Sep 17 00:00:00 2001 From: zjx20 Date: Tue, 22 Jul 2025 15:04:19 +0800 Subject: [PATCH] s3: set useAlreadyExists to false for Alibaba OSS --- 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 0d9ab396c..a1379da3d 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -3628,7 +3628,7 @@ func setQuirks(opt *Options) { useUnsignedPayload = false // AWS has trailer support which means it adds checksums in the trailer without seeking case "Alibaba": useMultipartEtag = false // Alibaba seems to calculate multipart Etags differently from AWS - useAlreadyExists = true // returns 200 OK + useAlreadyExists = false // returns BucketAlreadyExists case "HuaweiOBS": // Huawei OBS PFS is not support listObjectV2, and if turn on the urlEncodeListing, marker will not work and keep list same page forever. urlEncodeListings = false