Lifecycle transition validation for storage objects
First Claim
1. A method, comprising:
- determining a lifecycle policy for a storage object of a collection of storage objects of a storage service based at least in part on metadata for the collection indicating a policy assignment sequence number for the lifecycle policy and that the lifecycle policy applies to the storage object when stored as part of the collection, wherein the lifecycle policy comprises an indication of a lifecycle transition of the storage object, wherein the lifecycle transition comprises a transition from a first service level to a second service level, wherein the first service level and the second service level each, respectively, comprise at least one of;
a durability level,an availability level,a performance level indicating expected latencies for storage operations, or any combination thereof;
determining whether the lifecycle transition is valid based at least in part on a comparison of the policy assignment sequence number and a policy modification sequence number indicating a most recent modification of the lifecycle policy;
initiating, based at least in part on a determination that the lifecycle transition is valid, a modification operation associated with the storage object in accordance with the lifecycle policy;
verifying that the modification operation has succeeded; and
providing, in response to a query, an indication of a current service level of the storage object.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus for lifecycle support for storage objects are disclosed. A storage medium stores program instructions that when executed on a processor implement a storage lifecycle manager of a multi-tenant storage service. The lifecycle manager determines a lifecycle policy to be implemented for a storage object. The policy indicates lifecycle transitions of the object, including a transition from a first service level to a second service level. The first service level and the second service level may each specify a maximum number of versions of the storage object. The lifecycle manager initiates modification operations corresponding to the storage object'"'"'s data in accordance with the lifecycle policy, and verifies that the modification operations succeeded. The lifecycle manager provides, in response to a query, an indication of a current service level of the storage object.
40 Citations
20 Claims
-
1. A method, comprising:
-
determining a lifecycle policy for a storage object of a collection of storage objects of a storage service based at least in part on metadata for the collection indicating a policy assignment sequence number for the lifecycle policy and that the lifecycle policy applies to the storage object when stored as part of the collection, wherein the lifecycle policy comprises an indication of a lifecycle transition of the storage object, wherein the lifecycle transition comprises a transition from a first service level to a second service level, wherein the first service level and the second service level each, respectively, comprise at least one of; a durability level, an availability level, a performance level indicating expected latencies for storage operations, or any combination thereof; determining whether the lifecycle transition is valid based at least in part on a comparison of the policy assignment sequence number and a policy modification sequence number indicating a most recent modification of the lifecycle policy; initiating, based at least in part on a determination that the lifecycle transition is valid, a modification operation associated with the storage object in accordance with the lifecycle policy; verifying that the modification operation has succeeded; and providing, in response to a query, an indication of a current service level of the storage object. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
one or more processors; and a memory storing instructions that, when executed by the one or more processors, cause the one or more processors to; determine a lifecycle policy for a storage object of a collection of storage objects of a storage service based at least in part on metadata for the collection indicating a policy assignment sequence number for the lifecycle policy and that the lifecycle policy applies to the storage object when stored in the collection, wherein the lifecycle policy comprises an indication of a lifecycle transition of the storage object, wherein the lifecycle transition comprises a transition from a first service level to a second service level, wherein the first service level and the second service level each, respectively, comprise at least one of; a durability level, an availability level, a performance level indicating expected latencies for storage operations, or any combination thereof; determine whether to perform a modification operation associated with the storage based at least in part on a comparison of the policy assignment sequence number and a policy modification sequence number indicated in metadata for the storage object; initiate the modification operation associated with the storage object in accordance with the lifecycle policy in response to a determination that the policy assignment sequence number matches the policy modification sequence number; verify that the modification operation has succeeded; and provide, in response to a query, an indication of a current service level of the storage object. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory, computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
-
determine a lifecycle policy for a storage object of a collection of storage objects of a storage service based at least in part on metadata for the collection indicating a policy assignment sequence number for the lifecycle policy and that the lifecycle policy applies to the storage object when stored in the collection, wherein the lifecycle policy comprises an indication of a lifecycle transition of the storage object, wherein the lifecycle transition comprises a transition from a first service level to a second service level, wherein the first service level and the second service level each, respectively, comprise at least one of; a durability level indicating a probability of permanent data loss of the storage object, an availability level indicating an amount of time which the storage object is expected to be inaccessible over a particular time period, a performance level indicating expected latencies for storage operations, a replication level indicating a number of replicas of the storage object to be stored, or any combination thereof; determine whether to perform a modification operation associated with the storage based at least in part on a comparison of the policy assignment sequence number and a policy modification sequence number indicated in metadata for the storage object; initiate the modification operation associated with the storage object in accordance with the lifecycle policy in response to a determination that the policy assignment sequence number matches the policy modification sequence number; verify that the modification operation has succeeded; and provide, in response to a query, an indication of a current service level of the storage object. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification