×

Consistent snapshot points in a distributed storage service

  • US 10,423,609 B1
  • Filed: 03/29/2017
  • Issued: 09/24/2019
  • Est. Priority Date: 03/29/2017
  • Status: Active Grant
First Claim
Patent Images

1. A distributed storage service, comprising:

  • a plurality of computing devices that implement;

    a storage subsystem comprising a plurality of storage nodes configured to store data for a plurality of data systems;

    an access subsystem comprising a plurality of access nodes, wherein two or more of the access nodes are assigned to a particular data system of the plurality of data systems and configured to;

    receive data requests for the data system; and

    issue write operations to the storage subsystem to update data of the data system as indicated by the data requests, wherein each write operation indicates a current snapshot epoch of the data system; and

    a snapshot coordinator implemented by one or more of the plurality of computing devices and configured to;

    obtain a snapshot request for the data system to generate a new snapshot; and

    perform a two-phase commit with the two or more access nodes assigned to the data system to establish a consistent snapshot point for the data system;

    wherein, to perform the two-phase commit, the snapshot coordinator is configured to;

    send a prepare message to each of the two or more access nodes, wherein the prepare message directs the access nodes to prepare to perform a snapshot epoch transition for the data system, wherein the snapshot epoch transition comprises incrementing the snapshot epoch at each of the two or more access nodes to thus establish a consistent snapshot point for the data system; and

    upon receiving a response message to the prepare message from each of the two or more access nodes, send a commit message to each of the two or more access nodes, wherein the commit message directs the access nodes to commit to the snapshot epoch transition so that subsequent write operations issued by the access nodes to the storage subsystem indicate a new snapshot epoch.

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