Skip to content

S3ng clean up unfinished multipart-uploads #4968

Open
@wkloucek

Description

@wkloucek

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:

  1. upload files
  2. kill the storage-users service while it uploads the file to s3
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions