Help Center/ Object Storage Service/ FAQs/ How Do I Use Lifecycle Management?/ When Does an Updated Lifecycle Rule Take Effect and How Are the Objects Matching the Original Rule Handled?
Updated on 2026-11-16 GMT+08:00

When Does an Updated Lifecycle Rule Take Effect and How Are the Objects Matching the Original Rule Handled?

When you modify an existing lifecycle rule, the updated rule still follows the standard lifecycle timing: OBS starts calculating an object's lifecycle at 00:00 (UTC) on the calendar day following its last modification. For example, assume an object is uploaded at 09:00 on June 1, 2024 (UTC). OBS starts calculating its lifecycle at 00:00 on June 2, 2024 (UTC). If the rule is configured to expire objects after one day, the object meets the expiration condition at 00:00 on June 3, 2024 (UTC), and OBS starts deleting it.

Objects that matched the original lifecycle rule before it was modified are still processed according to the original rule:

For example, you configured a lifecycle rule for objects with the prefix te to transition them to the Infrequent Access storage class 30 days after their last modification and delete them 60 days after their last modification. If you change the prefix from te to et 31 days after an object's last modification, the original transition action still takes effect. That is, objects with the prefix te whose last modification was at least 30 days ago are transitioned to the Infrequent Access storage class. However, the original expiration action does not take effect, and these objects are not deleted 60 days after their last modification.