En utilisant AWS re:Post, vous acceptez les AWS re:Post Conditions d’utilisation

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

demandé il y a un an321 vues
1 réponse
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
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions