Acknowledgements
Describe the bug
In the newly released S3 transfer manager, when trying to initiate a multipart upload with a part size less than 8MB gives an error "unable to initialize upload: part size must be at least 8388608 bytes"
Regression Issue
Expected Behavior
The S3 transfer manager should allow part sizes of 5MB or more as per the S3 spec.
Current Behavior
Unable to upload the object and gives error: "unable to initialize upload: part size must be at least 8388608 bytes"
Reproduction Steps
Upload an object with S3 transfer manager and set the partSize to 5MB.
mgr = transfermanager.New(cl.AwsS3Client, func(o *transfermanager.Options) {
o.PartSizeBytes = 5 * 1024 * 1024
})
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.41.1
github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.1.1
github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0
Compiler and Version used
1.25.6
Operating System and version
Ubuntu 24.04
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...)Describe the bug
In the newly released S3 transfer manager, when trying to initiate a multipart upload with a part size less than 8MB gives an error "unable to initialize upload: part size must be at least 8388608 bytes"
Regression Issue
Expected Behavior
The S3 transfer manager should allow part sizes of 5MB or more as per the S3 spec.
Current Behavior
Unable to upload the object and gives error: "unable to initialize upload: part size must be at least 8388608 bytes"
Reproduction Steps
Upload an object with S3 transfer manager and set the partSize to 5MB.
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2 v1.41.1
github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.1.1
github.com/aws/aws-sdk-go-v2/service/s3 v1.96.0
Compiler and Version used
1.25.6
Operating System and version
Ubuntu 24.04