Skip to content

Use versioned deletes for S3 objects

Cal Pratt requested to merge cpratt34/destructive-delete-objects into master

Some S3 implementations require specifying a VersionId when performing a delete in order to immediately delete the content. If you do not use a VersionId in these systems, then the delete will result in a delete marker which does not immediately free up space in the bucket. For the cleanup to work properly, we want to be performing versioned deletes always if the version id is available for use.

Edited by Cal Pratt

Merge request reports