Detection of data replication consistency
First Claim
1. A method for detecting consistency between first and second data replicas, the method comprising:
- acquiring first characteristic information of a first data replica and second characteristic information of a second data replica, the first and second characteristic information being associated with keys of the respective first and second data replicas;
determining, based on a predetermined threshold value of a number of determination times, whether the first characteristic information is identical to the second characteristic information of the second data replica to confirm the consistency between the first and second data replicas; and
re-executing the acquiring of the first and second characteristic information and the determining of whether the first characteristic information and the second characteristic information are identical in response to the determining that the first characteristic information and the second characteristic information are not identical,wherein the number of determination times is not more than the predetermined threshold value,wherein the first and second characteristic information are hash value sums obtained by hashing the keys of the respective first and second data replicas,wherein the re-executing is performed after a predetermined waiting time.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for detecting consistency between first and second data replicas is provided. Detecting consistency between data replicas includes acquiring first characteristic information of a first data replica and second characteristic information of a second data replica, the first and second characteristic information being associated with keys of the respective first and second data replicas. Detecting consistency between data replicas further include determining, based on a predetermined threshold value of a number of determination times, whether the first characteristic information is identical to the second characteristic information of the second data replica. In response to the determining that the first characteristic information and the second characteristic information are identical, whether the first data replica is consistent with the second data replica may then be confirmed.
-
Citations
9 Claims
-
1. A method for detecting consistency between first and second data replicas, the method comprising:
-
acquiring first characteristic information of a first data replica and second characteristic information of a second data replica, the first and second characteristic information being associated with keys of the respective first and second data replicas; determining, based on a predetermined threshold value of a number of determination times, whether the first characteristic information is identical to the second characteristic information of the second data replica to confirm the consistency between the first and second data replicas; and re-executing the acquiring of the first and second characteristic information and the determining of whether the first characteristic information and the second characteristic information are identical in response to the determining that the first characteristic information and the second characteristic information are not identical, wherein the number of determination times is not more than the predetermined threshold value, wherein the first and second characteristic information are hash value sums obtained by hashing the keys of the respective first and second data replicas, wherein the re-executing is performed after a predetermined waiting time. - View Dependent Claims (2, 3)
-
-
4. A computer program product, the computer program product comprising a computer readable storage medium having program instructions for detecting consistency between first and second data replicas embodied therewith, the program instructions executable by a processor to cause the processor to perform:
-
acquiring first characteristic information of the first data replica and second characteristic information of the second data replica, the first and second characteristic information being associated with keys of the respective first and second data replicas; determining, based on a predetermined threshold value of a number of determination times, whether the first characteristic information is identical to the second characteristic information of the second data replica to confirm the consistency between the first and second data replicas; and re-executing the acquiring of the first and second characteristic information and the determining of whether the first characteristic information and the second characteristic information are identical in response to the determining that the first characteristic information and the second characteristic information are not identical, wherein the number of determination times is not more than the predetermined threshold value, wherein the first and second characteristic information are hash value sums obtained by hashing the keys of the respective first and second data replicas, wherein the re-executing is performed after a predetermined waiting time. - View Dependent Claims (5, 6)
-
-
7. A system for detecting consistency between first and second data replicas, comprising:
-
a first apparatus comprising a first processor and a first memory and configured to acquire first characteristic information of the first data replica and second characteristic information of the second data replica, the first and second characteristic information being associated with keys of the respective first and second data replicas; and a second apparatus comprising a second processor and a second memory and configured to; determine, based on a predetermined threshold value of a number of determination times, whether the first characteristic information is identical to the second characteristic information of the second data replica to confirm the consistency between the first and second data replicas, re-executing the acquiring of the first and second characteristic information and the determining of whether the first characteristic information and the second characteristic information are identical in response to the determination that the first characteristic information and the second characteristic information are not identical, wherein the number of determination times is not more than the predetermined threshold value, wherein the first and second characteristic information are hash value sums obtained by hashing the keys of the respective first and second data replicas, wherein the re-executing is performed after a predetermined waiting time. - View Dependent Claims (8, 9)
-
Specification