Skip to content

Commit

Permalink
external storage: disable s3 100 continue (pingcap#38087)
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunzhu authored Sep 28, 2022
1 parent 1a89dec commit 30f07c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion br/pkg/storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ func newS3Storage(backend *backuppb.S3, opts *ExternalStorageOptions) (obj *S3St
qs := *backend
awsConfig := aws.NewConfig().
WithS3ForcePathStyle(qs.ForcePathStyle).
WithRegion(qs.Region)
WithRegion(qs.Region).
WithS3Disable100Continue(true)
request.WithRetryer(awsConfig, defaultS3Retryer())
if qs.Endpoint != "" {
awsConfig.WithEndpoint(qs.Endpoint)
Expand Down

0 comments on commit 30f07c5

Please sign in to comment.