Open
Description
Describe the bug
When you use S3ng as storage driver and things go bad, you may have a lot of unfinished multipart-uploads, that can cost money
Steps to reproduce
Steps to reproduce the behavior:
- upload files
- kill the storage-users service while it uploads the file to s3
- look at the pending multipart-uploads in your s3 server
Expected behavior
have a command / mechanism that deletes unfinished multipart uploads (that also will never be continued)
Actual behavior
unfinished multipart uploads persist forever and actually occupy space on s3 which may create costs.
Additional context
https://aws.amazon.com/blogs/aws-cloud-financial-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/ / https://docs.aws.amazon.com/de_de/AmazonS3/latest/userguide/mpu-abort-incomplete-mpu-lifecycle-config.html
-> Depending on the S3 server / service there are also other ways to abort unfinished multipart uploads