Skip to content

continue existing multi-part upload #123

Description

@waynr

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

I am implementing an HTTP API that supports chunked uploads of data across multiple HTTP requests. In order to support this I need to be able to continue a pre-established multipart upload.

It's not clear to me either from the documentation or from looking at the AWS implementation of ObjectStore.put_multipart that this would be possible since it appears to create a new multipart upload each time. I am leaning toward "eh, probably not possible".

Describe the solution you'd like

I would like some API for an ObjectStore to get a PutPart for an existing multipart upload given that multipart upload's MultipartId.

The implementation could be as simple as providing a constructor method on S3MultiPartUpload. But that would break the trait-level API boundary, making this approach only applicable to the AWS implementation of ObjectStore so I imagine it would be best to add a new ObjectStore trait method.

Describe alternatives you've considered

Right now my project has its own ObjectStore trait that is a bit simpler and catered specifically to my needs (also a bit easier to understand since it uses AWS's own SDK library). I'll probably continue using this for the foreseeable future, but would prefer to use the established object_store crate if possible.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions