Skip to content

Commit

Permalink
[release-18.0] Fix backup on s3 like storage (#14311) (#14362)
Browse files Browse the repository at this point in the history
Signed-off-by: Leopold Jacquot <[email protected]>
Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
  • Loading branch information
vitess-bot[bot] authored Oct 26, 2023
1 parent 152b01f commit 9672d7a
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 9672d7a

Please sign in to comment.