Skip to content

Commit 64ed9b1

Browse files
zjx20ncw
authored andcommitted
s3: set useAlreadyExists to false for Alibaba OSS
1 parent 2b10340 commit 64ed9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/s3/s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3628,7 +3628,7 @@ func setQuirks(opt *Options) {
36283628
useUnsignedPayload = false // AWS has trailer support which means it adds checksums in the trailer without seeking
36293629
case "Alibaba":
36303630
useMultipartEtag = false // Alibaba seems to calculate multipart Etags differently from AWS
3631-
useAlreadyExists = true // returns 200 OK
3631+
useAlreadyExists = false // returns BucketAlreadyExists
36323632
case "HuaweiOBS":
36333633
// Huawei OBS PFS is not support listObjectV2, and if turn on the urlEncodeListing, marker will not work and keep list same page forever.
36343634
urlEncodeListings = false

0 commit comments

Comments
 (0)