Delete marker not available when i delete object in a versioned bucket

0

I uploaded multiple versions of the same object to my versioning enabled bucket. When i delete the standalone object without adding additional versions, i can see the delete marker. but when i delete the one of the versions or the current version, i am not able to see the delete marker. I used the toggle button (versions) still no delete marker is seen.

My question is- does deletion of versions of an object create a delete marker? or is delete marker only valid for a single object without additional versions.

Pl guide me Thank u

Anu
已提问 5 个月前196 查看次数
1 回答
0

Deleting an object version explicitly and permanently deletes that object version. A delete marker is not created.

When you access an object in S3, you can do so without specifying an object version (see https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html#AmazonS3-GetObject-request-querystring-VersionId). If an object does not exist, a 404 will be returned. That will also be returned if a delete marker is the most recent "version" of an object. This allows the non-current object versions to continue to exist, while still returning results consistent with a deletion.

There would be no role for a delete marker for a object version, as the object version is permanently deleted, and any attempt to explicitly access it by it's versionId would return a 404.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectVersions.html

profile pictureAWS
已回答 4 个月前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则