×

System and method for log conflict detection and resolution in a data store

  • US 10,248,704 B2
  • Filed: 05/05/2014
  • Issued: 04/02/2019
  • Est. Priority Date: 01/17/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a plurality of computing nodes, each comprising at least one processor and memory, wherein the plurality of computing nodes is configured to implement a data storage service;

    wherein the data storage service maintains data on behalf of one or more storage service clients, wherein maintaining the data comprises storing two or more replicas of the data on respective computing nodes in the system, wherein the two or more replicas make up a replica group, wherein at most one of the replicas in the replica group can act as a master replica for the replica group at a time, and wherein replicas in the replica group that are not acting as the master replica act as slave replicas in the replica group;

    wherein one of the replicas in the replica group is configured to;

    receive a log record to be appended to a log maintained by the replica, wherein the log comprises a plurality of log records, wherein each log record indicates an update to the data being maintained on behalf of the storage service clients or an update to the membership of the replica group, and wherein each log record comprises metadata associated with the update or the replica group that receive log records from the master replica, wherein the metadata comprises;

    a sequence number that was assigned to the log record when the log record was generated and that comprises a value in a strictly increasing series; and

    a master reign identifier indicating a reign of a particular master replica over the replica group when the log record was generated;

    compare metadata for the received log record to metadata for one or more other log records in the log to determine a conflict in master reign between the received log record and the one or more other log records;

    determine an action to be taken in response to receiving the log record dependent on results of the comparison, wherein the action resolves the determined conflict; and

    take the determined action.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×