Skip to content

Commit

Permalink
Fix backup on s3 like storage (#14311)
Browse files Browse the repository at this point in the history
Signed-off-by: Leopold Jacquot <[email protected]>
  • Loading branch information
vitess-bot[bot] committed Oct 25, 2023
1 parent 152b01f commit 067a391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/vt/mysqlctl/s3backupstorage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ func (bh *S3BackupHandle) AddFile(ctx context.Context, filename string, filesize
})
object := objName(bh.dir, bh.name, filename)
sendStats := bh.bs.params.Stats.Scope(stats.Operation("AWS:Request:Send"))
_, err := uploader.UploadWithContext(ctx, &s3manager.UploadInput{
// Using UploadWithContext breaks uploading to Minio and Ceph https://github.com/vitessio/vitess/issues/14188
_, err := uploader.Upload(&s3manager.UploadInput{
Bucket: &bucket,
Key: object,
Body: reader,
Expand Down

0 comments on commit 067a391

Please sign in to comment.