×

Method and apparatus for reading and writing committed data

  • US 10,671,496 B2
  • Filed: 05/25/2017
  • Issued: 06/02/2020
  • Est. Priority Date: 05/31/2016
  • Status: Active Grant
First Claim
Patent Images

1. A database system comprising:

  • at least one processor configured to execute a plurality of system components, wherein the plurality of system components comprise;

    an interface component configured to receive a write commit command and provide a write commit confirmation;

    a snapshot component configured to generate a plurality of snapshots of data stored in a first data storage node of a plurality of data storage nodes and identify a first snapshot from the plurality of snapshots that is representative of data that has been replicated on a majority of the plurality of data storage nodes as a committed snapshot; and

    a command processing component configured to;

    determine whether the write commit command modifies at least one data element in the first data storage node; and

    responsive to the write commit command modifying the at least one data element in the first data storage node,modify the at least one data element in the first data storage node based on the write commit command;

    determine whether the majority of the plurality of storage nodes have replicated the modification to the at least one data element using the committed snapshot; and

    generate the write commit confirmation responsive to a determination that the majority of the plurality of data storage nodes have replicated the modification to the at least one data element;

    wherein;

    the interface component is further configured to receive a confirmation from a second data storage node of the plurality of data storage nodes that the second data storage node has replicated the modification to the at least one data element; and

    the snapshot component is further configured to;

    identify a second snapshot from the plurality of snapshots as the committed snapshot responsive to receipt of the confirmation from the second data storage node; and

    remove the first snapshot from the plurality of snapshots responsive to identifying the second snapshot as the committed snapshot.

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