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
gefragt vor 5 Monaten196 Aufrufe
1 Antwort
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
beantwortet vor 4 Monaten
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen