-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rusoto: s3sink: Support aborting or completing multipart upload on error
A multipart upload should either be completed or aborted on error. In the current state of things, a multipart upload would neither be completed nor aborted, putting the onus on an external entity to take care of finishing incomplete uploads or relying on a sane bucket life cycle policy configured to abort incomplete multipart uploads. An incomplete multipart upload still contributes to the storage costs as long as it exists. We introduce a property here to allow the user to select either aborting or completing multipart uploads on error. Aborting the upload causes whole of data to be discarded and the same upload ID is not usable for uploading more parts to the same. Completing an incomplete multipart upload can be useful in situations like having a streamable MP4 where one might want to complete the upload and have part of the data which was uploaded be preserved. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/618>
- Loading branch information
1 parent
3ed9e29
commit 099a3f2
Showing
2 changed files
with
160 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters