×

Log Forwarding to Avoid Deadlocks During Parallel Log Replay in Asynchronous Table Replication

  • US 20160147858A1
  • Filed: 03/13/2015
  • Published: 05/26/2016
  • Est. Priority Date: 11/25/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for removing a deadlock during replication from distributed source tables to a replica node, comprising:

  • detecting, by at least one processor, a deadlock at a parallel log replayer at a replica node;

    selecting, by the at least one processor, a first replication log entry from a queue of a plurality of queues of the parallel log replayer based on whether removing the first replication log entry from the queue removes the deadlock;

    forwarding, by the at least one processor, the first replication log entry from the queue to a waiting queue;

    replaying, by the at least one processor, a second replication log entry at the parallel log replayer after forwarding the first replication log entry; and

    replaying, by the at least one processor, the first replication log entry at the parallel log replayer after replaying the second replication log entry;

    wherein at least one of the detecting, selecting, forwarding, replaying the second replication log entry, and replaying the first replication log entry are performed by one or more computers.

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