aldy120 / s3-note

Note for Amazon S3
0 stars 0 forks source link

Versioning #29

Open aldy120 opened 2 years ago

aldy120 commented 2 years ago

Versioning enable: Added object have a version id and marked as latest version. Deleting an object add a delete marker.

Versioning suspended: Added object have a null version id. Deleting object add a delete marker with version id null.

aldy120 commented 9 months ago

原本在沒開 versioning 的時候上傳的文件,會有 version id null 。如果這時候刪除,會加上一個 delete marker with version id null ,會把原本的覆蓋掉,只留下 delete marker 。

aldy120 commented 9 months ago

When you get an object without specifying a versionId in your request, if its current version is a delete marker, Amazon S3 responds with the following:

When you get an object by specifying a versionId in your request, if the specified version is a delete marker, Amazon S3 responds with the following:

aldy120 commented 9 months ago

MFA delete