Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[aws_s3] fix deleting versioned objects before deleting bucket #54435
Prior to this fix the latest objects are deleted from a bucket but the versioned markers are left behind, causing a traceback when deleting the bucket.
Generating the list of keys and deleted version markers from
@willthames Do you mind taking a look at this? It seems like a foot gun that people could delete a bucket containing versioned objects accidentally. But since object locks can prevent that I'm not sure. Thoughts?