对象生命周期管理问题

时间:2016-08-20 11:45:08

标签: google-cloud-storage lifecycle

此帖子引用https://cloud.google.com/storage/docs/lifecycle

警告说明:

It is recommended that you test your lifecycle policy on development data before applying to production, and observe the expiration time metadata to ensure your policy has the effect you intend.

这是一个很好的建议,但谷歌云存储让人难以理解。 在满足条件和采取行动之间可能存在滞后。 因此,解决方法是观察到期时间元数据。 但是"过期时间元数据"部分说:

the expiration time will not be available for the object if:
* The NumberOfNewerVersions condition is also specified

参考示例" 30天后删除活动对象,并在启用版本控制的存储桶中仅保留每个对象的3个最新版本。" 什么事件后Live对象在30天内被删除? 有没有办法测试这个例子?

0 个答案:

没有答案