×

Predicting validity of data replication prior to actual replication in a transaction processing system

  • US 9,727,601 B2
  • Filed: 08/25/2016
  • Issued: 08/08/2017
  • Est. Priority Date: 01/28/2014
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for validating a write of a replica record to a replica data store in a transaction processing system, the replica record duplicating a source record in a source data store, the method comprising:

  • writing, by the transaction processing system, the source record to a location in the source data store;

    recording, by the transaction processing system into a transaction log file, the location to which the source record is written in the source data store;

    obtaining, by the transaction processing system from the transaction log file, the location to which the source record is written in the source data store;

    predicting, by the transaction processing system, the location in the replica data store to which the replica record will be written, based on the location and length of the previous replica record;

    responsive to determining that the obtained location of the source record does not correspond to the predicted location of the replica record;

    not writing the replica record;

    signaling, to the transaction processing system, a replica record location prediction failure; and

    ending replication;

    responsive to determining that the obtained location of the source record corresponds to the predicted location of the replica record location, writing, by the transaction processing system, the replica record to a location in the replica data store; and

    responsive to determining that the obtained location of the source record does not correspond to the location in the replica data store to which the replica record was written, identifying the replica data store as corrupted.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×