Skip to content

feature/s3/transfermanager minimum part size should be 5MB #3296

@jfantinhardesty

Description

@jfantinhardesty

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

  • Select this option if this issue appears to be a regression.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions