Handling failed cluster members when replicating a database between clusters
AssigneeInternational Business Machines Corporation
InventorsKirill Bogdanov, Mark Dennehy, Diarmuid Flynn, Bruce M. Jackson, Marzia Mura, Effi Ofer, Jason C. Young, Roger L. Q. Zheng, Yuke Zhuge
Life of this patent
Estimating the term…
Abstract
Data integrity is maintained during failed communications between a member node of a primary cluster and a backup cluster by assigning an assisting member node to run an assisting process that transmits data entered into the member node to the backup cluster. In this way, a replicated database is maintained during a partial communication failure between the primary cluster and the backup cluster.
Claims20
A method comprising:
- determining a communication failure between a node of a primary cluster and a node of a backup cluster, the backup cluster having a replicated database of the primary cluster;
- identifying a second node in the primary cluster to assist in communicating at least a portion of a set of logs to the node of the backup cluster, the set of logs generated by successful commit activity in the primary cluster;
- and
- causing the second node to send to the node of the backup cluster at least a portion of the set of logs;
- wherein:
- the communication failure occurred while the node of the primary cluster attempted to send the set of logs to the node of the backup cluster.
A computer program product comprising a computer-readable storage medium having a set of instructions stored therein which, when executed by a processor, causes the processor to maintain data integrity during communication between a primary cluster and a backup cluster by:
- determining a communication failure between a node of a primary cluster and a node of a backup cluster, the backup cluster having a replicated database of the primary cluster;
- identifying a second node in the primary cluster to assist in communicating at least a portion of a set of logs to the node of the backup cluster, the set of logs generated by successful commit activity in the primary cluster;
- and
- causing the second node to send to the node of the backup cluster at least a portion of the set of logs;
- wherein:
- the communication failure occurred while the node of the primary cluster attempted to send the set of logs to the node of the backup cluster.
A computer system comprising:
- a processor set;
- and
- a computer readable storage medium;
- wherein:
- the processor set is structured, located, connected, and/or programmed to run program instructions stored on the computer readable storage medium;
- and
- the program instructions which, when executed by the processor set, cause the processor set to maintain data integrity during communication between a primary cluster and a backup cluster by:
- determining a communication failure between a node of a primary cluster and a node of a backup cluster, the backup cluster having a replicated database of the primary cluster;
- identifying a second node in the primary cluster to assist in communicating at least a portion of a set of logs to the node of the backup cluster, the set of logs generated by successful commit activity in the primary cluster;
- and
- causing the second node to send to the node of the backup cluster at least a portion of the set of logs;
- wherein:
- the communication failure occurred while the node of the primary cluster attempted to send the set of logs to the node of the backup cluster.
Dependencies are inferred from the claim text.