1

Versioning is not suitable in my case because if the user wants to delete anything in storage it would be deleted permanently not soft-deleted but for the backup purpose, I have to use Cross-Region Replication and to use CRR I need to enable Versioning.

I tried to delete those object which has Delete-marker as the current version and non-current version as a soft deleted object. here is my life cycle rule policy. No Transitions, No current version expiration.

Only applied the Previous version permanently delete so that it considers delete marker as the current version and soft-deleted object as the previous version and delete it permanently BUT I DON'T KNOW IT IS NOT WORKING...!

I checked on next day the deleted version is still there also I have added multiple version of the same object and that versions are also not deleted.

4

1 回答 1

1

如果您刚刚启用它,它可能仍在排队需要删除的对象。

生命周期策略不会在此标记之后完全删除,实际上操作会排队并稍后处理。

当一个对象达到其生命周期的终点时,Amazon S3 将其排入队列等待移除并异步移除。到期日期与 Amazon S3 删除对象的日期之间可能存在延迟。您无需为与已过期对象关联的存储时间付费。

有时,当您第一次配置时,它可能会稍微延迟(因为它没有排队任何东西),所以我建议在这个过程现在应该发生的时候再检查几天。

了解对象过期文档中提供了更多信息。

于 2020-07-23T06:12:01.213 回答