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
asked 4 months ago182 views
1 Answer
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
answered 4 months ago
profile picture
EXPERT
reviewed 25 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions