Replication of versions of an object from a source storage to a target storage
First Claim
1. A computer program product for expiring objects replicated from a source storage to a target storage, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to cause operations, the operations comprising:
- providing at least one source retention requirement to determine when to expire versions of an object at the source storage and at least one target retention requirement to determine when to expire versions of the object at the target storage, wherein the source and target retention requirements for versions of the object are different;
determining whether an oldest version of the object needs to be expired as part of an expiration operation to satisfy the at least one source retention requirement;
determining whether the oldest version is unreplicated in response to determining the oldest version needs to be expired, wherein an unreplicated version of the object comprises a version that after being stored is subject to the expiration operation before being subject to a replication operation;
determining whether a number of unreplicated versions of the object on the source storage exceed the at least one target retention requirement in response to determining that the oldest version is unreplicated;
expiring the oldest version that is determined to be unreplicated at the source storage in response to determining that the number of unreplicated versions on the source storage do not satisfy the at least one target retention requirement; and
not expiring the oldest version that is determined to be unreplicated in response to determining that the oldest version needs to be expired to satisfy the at least one source retention requirement and determining that the number of the unreplicated versions on the source storage satisfy the at least one target retention requirement.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a computer program product, system, and method for replication of versions of an object from a source storage to a target storage. A source retention policy indicates at least one source retention requirement to determine when to expire versions of an object at the source storage and a target retention policy indicates at least one target retention requirement to determine when to expire versions of the object at the target storage. The source and target retention requirements for versions of the object are different. The source retention policy is used to expire at least one version of the object at the source storage to satisfy the at least one source retention requirement. A number of the versions of the object maintained at the source storage and target storage differ due to the different source and target retention requirements.
61 Citations
19 Claims
-
1. A computer program product for expiring objects replicated from a source storage to a target storage, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that executes to cause operations, the operations comprising:
-
providing at least one source retention requirement to determine when to expire versions of an object at the source storage and at least one target retention requirement to determine when to expire versions of the object at the target storage, wherein the source and target retention requirements for versions of the object are different; determining whether an oldest version of the object needs to be expired as part of an expiration operation to satisfy the at least one source retention requirement; determining whether the oldest version is unreplicated in response to determining the oldest version needs to be expired, wherein an unreplicated version of the object comprises a version that after being stored is subject to the expiration operation before being subject to a replication operation; determining whether a number of unreplicated versions of the object on the source storage exceed the at least one target retention requirement in response to determining that the oldest version is unreplicated; expiring the oldest version that is determined to be unreplicated at the source storage in response to determining that the number of unreplicated versions on the source storage do not satisfy the at least one target retention requirement; and not expiring the oldest version that is determined to be unreplicated in response to determining that the oldest version needs to be expired to satisfy the at least one source retention requirement and determining that the number of the unreplicated versions on the source storage satisfy the at least one target retention requirement. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for expiring objects replicated from a source storage to a target storage, comprising:
-
a processor; and a computer readable storage medium having computer readable program code that when executed by the processor performs operations, the operations comprising; providing at least one source retention requirement to determine when to expire versions of an object at the source storage and a at least one target retention requirement to determine when to expire versions of the object at the target storage, wherein the source and target retention requirements for versions of the object are different; determining whether an oldest version of the object needs to be expired as part of an expiration operation to satisfy the at least one source retention requirement; determining whether the oldest version is unreplicated in response to determining the oldest version needs to be expired, wherein an unreplicated version of the object comprises a version that after being stored is subject to the expiration operation before being subject to a replication operation; determining whether a number of unreplicated versions of the object on the source storage exceed the at least one target retention requirement in response to determining that the oldest version is unreplicated; expiring the oldest version that is determined to be unreplicated at the source storage in response to determining that the number of unreplicated versions on the source storage do not satisfy the at least one target retention requirement; and not expiring the oldest version that is determined to be unreplicated in response to determining that the oldest version needs to be expired to satisfy the at least one source retention requirement and determining that the number of the unreplicated versions on the source storage satisfy the at least one target retention requirement. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method for expiring objects replicated from a source storage to a target storage, comprising:
-
providing at least one source retention requirement to determine when to expire versions of an object at the source storage and at least one target retention requirement to determine when to expire versions of the object at the target storage, wherein the source and target retention requirements for versions of the object are different; determining whether an oldest version of the object needs to be expired as part of an expiration operation to satisfy the at least one source retention requirement; determining whether the oldest version is unreplicated in response to determining the oldest version needs to be expired, wherein an unreplicated version of the object comprises a version that after being stored is subject to the expiration operation before being subject to a replication operation; determining whether a number of unreplicated versions of the object on the source storage exceed the at least one target retention requirement in response to determining that the oldest version is unreplicated; expiring the oldest version that is determined to be unreplicated at the source storage in response to determining that the number of unreplicated versions on the source storage do not satisfy the at least one target retention requirement; and not expiring the oldest version that is determined to be unreplicated in response to determining that the oldest version needs to be expired to satisfy the at least one source retention requirement and determining that the number of the unreplicated versions on the source storage satisfy the at least one target retention requirement. - View Dependent Claims (16, 17, 18, 19)
-
Specification