×

Chaining log operations in data replication groups

  • US 10,489,230 B1
  • Filed: 12/02/2015
  • Issued: 11/26/2019
  • Est. Priority Date: 12/02/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • receiving, at a first node of a data replication group, a message from a second node of the data replication group, where the data replication group comprises a plurality of nodes implementing a consensus protocol;

    determining to commit an operation to the first node, where the operation is indicated in the message;

    obtaining an operation number corresponding to the operation;

    obtaining a previous operation number corresponding to a previous operation committed immediately prior to the operation;

    recording the operation number and the previous operation number in a log entry such that the log entry indicates that the first node committed the previous operation immediately prior to the operation in error, wherein the error indicates that a gap exists between the operation number and the previous operation number in the log entry; and

    determining validity of the gap and other gaps in a log that comprises the log entry and other log entries by using state information of the node and state information of the data replication group.

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