Storage service lifecycle policy transition management
First Claim
1. A system, comprising:
- one or more hardware computing devices configured to;
implement a network-accessible multi-tenant storage service storing a plurality of storage objects in a plurality of logical containers;
receive a lifecycle policy to be applied to at least a set of storage objects stored within a particular logical container of the storage service, wherein the lifecycle policy indicates one or more lifecycle transitions to be implemented for the set of storage objects;
store, within the storage service, (a) a representation of the lifecycle policy in a data component of an additional storage object, and (b) a policy modification sequence number having a current value indicative of a most recent modification of the lifecycle policy in a metadata entry for the additional storage object;
store, within the storage service, an indication that the lifecycle policy applies to the set of storage objects, and a policy application sequence number in a metadata entry for the particular logical container, wherein the policy application sequence number is based at least in part on a particular value of the policy modification sequence number corresponding to a particular version of the lifecycle policy and is indicative of the particular version of the lifecycle policy;
determine, based at least in part on a comparison of the policy application sequence number and the policy modification sequence number, whether a modification operation is to be performed to implement a lifecycle transition for a particular storage object of the set of storage objects in accordance with the particular version of the lifecycle policy; and
in response to a determination that the modification operation is to be performed, schedule an execution of the modification operation.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for storage lifecycle configuration management are disclosed. A storage medium stores program instructions that, when executed on a processor, implement a storage lifecycle manager. The manager receives a lifecycle policy to be applied to storage objects of a container of a storage service. The policy indicates lifecycle transitions to be implemented for the objects. The manager stores (a) a policy modification sequence number (PMSN) indicative of a most recent modification of the policy and (b) a policy application sequence number (PASN) associated with the particular logical container, where the PASN is based on the PMSN. The manager later compares the PMSN and the PASN to determine whether a lifecycle transition is to be performed, and if the transition is to be performed, schedules one or more operations for the transition.
84 Citations
24 Claims
-
1. A system, comprising:
one or more hardware computing devices configured to; implement a network-accessible multi-tenant storage service storing a plurality of storage objects in a plurality of logical containers; receive a lifecycle policy to be applied to at least a set of storage objects stored within a particular logical container of the storage service, wherein the lifecycle policy indicates one or more lifecycle transitions to be implemented for the set of storage objects; store, within the storage service, (a) a representation of the lifecycle policy in a data component of an additional storage object, and (b) a policy modification sequence number having a current value indicative of a most recent modification of the lifecycle policy in a metadata entry for the additional storage object; store, within the storage service, an indication that the lifecycle policy applies to the set of storage objects, and a policy application sequence number in a metadata entry for the particular logical container, wherein the policy application sequence number is based at least in part on a particular value of the policy modification sequence number corresponding to a particular version of the lifecycle policy and is indicative of the particular version of the lifecycle policy; determine, based at least in part on a comparison of the policy application sequence number and the policy modification sequence number, whether a modification operation is to be performed to implement a lifecycle transition for a particular storage object of the set of storage objects in accordance with the particular version of the lifecycle policy; and in response to a determination that the modification operation is to be performed, schedule an execution of the modification operation. - View Dependent Claims (2, 3, 4, 5)
-
6. A method, comprising:
-
implementing a network-accessible multi-tenant storage service configured to store a plurality of storage objects in a plurality of logical containers; receiving an indication of a lifecycle policy to be applied to at least a set of storage objects stored within a particular logical container of the storage service, wherein the lifecycle policy indicates one or more lifecycle transitions to be implemented for the set of storage objects; storing, in the storage service, a representation of the lifecycle policy, and a policy modification sequence number having a current value indicative of a most recent modification of the lifecycle policy; storing, in the storage service, a policy application sequence number indicative of an application of the lifecycle policy to the particular logical container, wherein the policy application sequence number is based at least in part on a particular value of the policy modification sequence number corresponding to a particular version of the lifecycle policy and is indicative of the particular version of the lifecycle policy; determining, based at least in part on a comparison of the policy application sequence number and the policy modification sequence number, whether a lifecycle transition is to be performed in accordance with the particular version of the lifecycle policy; and in response to determining that the lifecycle transition is to be performed, scheduling one or more operations to implement the lifecycle transition. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors implement a storage lifecycle manager configured to:
-
receive an indication of a lifecycle policy to be applied to at least a set of storage objects stored within a particular logical container of a multi-tenant storage service, wherein the lifecycle policy indicates one or more lifecycle transitions to be implemented for the set of storage objects; store, in the storage service, a representation of the lifecycle policy, and a policy modification sequence number having a current value indicative of a most recent modification of the lifecycle policy; store, in the storage service, a policy application sequence number associated with the particular logical container, wherein the policy application sequence number is based at least in part on a particular value of the policy modification sequence number corresponding to a particular version of the lifecycle policy and is indicative of the particular version of the lifecycle policy; determine, based at least in part on a comparison of the policy application sequence number and the policy modification sequence number, whether a lifecycle transition is to be performed in accordance with the particular version of the lifecycle policy; and in response to a determination that the lifecycle transition is to be performed, schedule one or more operations to implement the lifecycle transition. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
Specification