# US 2024/0205073 A1 · System and method for data replication using a single master failover protocol

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0205073 A1
- Document ID: US20240205073A1
- Status: Published application
- Kind: A1
- Application number: 18/391,261
- Filed: 2023-12-20
- Published: 2024-06-20
- Earliest claimed: 2012-01-17
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Timothy Andrew Rath; Jakub Kulesza; David Alan Lutz
- Web page: https://patentgrep.com/patent/US20240205073A1

## CPC

- H04L 41/0668: by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
- G06F 3/0617: {in relation to availability}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0683: {Plurality of storage devices}
- G06F 11/1425: {by reconfiguration of node membership}
- G06F 11/1662: {the resynchronized component or unit being a persistent storage device (re-synchronization of failed mirror storage G06F11/2082; rebuild or reconstruction of parity RAID storage G06F11/1008)}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/2041: {with more than one idle spare processing component}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 11/2097: {maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups)}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- G06F 11/2048: {where the redundant components share neither address space nor persistent storage}
- G06F 2201/825: the problem or solution involving locking
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system that implements a data storage service may store data on behalf of storage service clients. The system may maintain data in multiple replicas of various partitions that are stored on respective computing nodes in the system. The system may employ a single master failover protocol, usable when a replica attempts to become the master replica for a replica group of which it is a member. Attempting to become the master replica may include acquiring a lock associated with the replica group, and gathering state information from the other replicas in the group. The state information may indicate whether another replica supports the attempt (in which case it is included in a failover quorum) or stores more recent data or metadata than the replica attempting to become the master (in which case synchronization may be required). If the failover quorum includes enough replicas, the replica may become the master.

## Claims

### Claim at position 1

1-19. (canceled)

### Claim 20

A system, comprising:
one or more processors and corresponding memory configured to implement a plurality of replicas that collectively form a replica group, wherein the plurality of replicas store data on respective computing nodes of a plurality of computing nodes that collectively implement a data store;
wherein the data store is configured to:
detect a change in membership of the replica group;
determine a corresponding update to a quorum requirement used to perform access requests to the data at the replica group based, at least in part, on the change in the membership of the replica group; and
perform an access request to the data at the replica group according to the updated quorum requirement.

### Claim 21 (depends on 20)

The system of claim 20, wherein the data store is further configured to communicate the update to the quorum requirement via a write to metadata replicated amongst the replica group.

### Claim 22 (depends on 21)

The system of claim 21, wherein the write to the metadata includes a membership version number, different than a prior membership version number used before the detected change in membership of the replica group.

### Claim 23 (depends on 20)

The system of claim 20, wherein the update to the quorum requirement causes a change to a write quorum used to perform write requests to the data.

### Claim 24 (depends on 20)

The system of claim 20, wherein the update to the quorum requirement causes a change to a read quorum used to perform read requests to the data.

### Claim 25 (depends on 20)

The system of claim 20, wherein the detected change in membership is an increase or decrease in a number of replicas in the replica group.

### Claim 26 (depends on 20)

The system of claim 20, wherein the data store is a Web based storage service that hosts the data as a non-relational database.

### Claim 27

A method, comprising:
detecting, by a data store, a change in membership of a replica group, wherein the replica group comprises a plurality of replicas that store data on respective computing nodes of a plurality of computing nodes that collectively implement the data store;
determining, by the data store, a corresponding update to a quorum requirement used to perform access requests to the data at the replica group based, at least in part, on the change in the membership of the replica group; and
performing, by the data store, an access request to the data at the replica group according to the updated quorum requirement.

### Claim 28 (depends on 27)

The method of claim 27, further comprising communicating, by the data store, the update to the quorum requirement via a write to metadata replicated amongst the replica group.

### Claim 29 (depends on 28)

The method of claim 28, wherein the write to the metadata includes a membership version number, different than a prior membership version number used before the detected change in membership of the replica group.

### Claim 30 (depends on 27)

The method of claim 27, wherein the update to the quorum requirement causes a change to a write quorum used to perform write requests to the data.

### Claim 31 (depends on 27)

The method of claim 27, wherein the update to the quorum requirement causes a change to a read quorum used to perform read requests to the data.

### Claim 32 (depends on 27)

The method of claim 27, wherein the detected change in membership is an increase or decrease in a number of replicas in the replica group.

### Claim 33 (depends on 27)

The method of claim 27, wherein the data store is a Web based storage service that hosts the data as a non-relational database.

### Claim 35

One or more non-transitory computer-readable storage media storing program instructions that, when executed on or across one or more computing devices, cause the one or more computing devices to implement:
detecting, by a data store, a change in membership of a replica group, wherein the replica group comprises a plurality of replicas that store data on respective computing nodes of a plurality of computing nodes that collectively implement the data store;
determining, by the data store, a corresponding update to a quorum requirement used to perform access requests to the data at the replica group based, at least in part, on the change in the membership of the replica group; and
performing, by the data store, an access request to the data at the replica group according to the updated quorum requirement.

### Claim 35 (depends on 34)

The one or more non-transitory computer-readable storage media of claim 34, storing further instructions that when executed on or across the one or more computing devices, cause the one or more computing devices to further implement communicating, by the data store, the update to the quorum requirement via a write to metadata replicated amongst the replica group.

### Claim 36 (depends on 35)

The one or more non-transitory computer-readable storage media of claim 35, wherein the write to the metadata includes a membership version number, different than a prior membership version number used before the detected change in membership of the replica group.

### Claim 37 (depends on 34)

The one or more non-transitory computer-readable storage media of claim 34, wherein the update to the quorum requirement causes a change to a write quorum used to perform write requests to the data.

### Claim 38 (depends on 34)

The one or more non-transitory computer-readable storage media of claim 34, wherein the update to the quorum requirement causes a change to a read quorum used to perform read requests to the data.

### Claim 39 (depends on 34)

The one or more non-transitory computer-readable storage media of claim 34, wherein the detected change in membership is an increase or decrease in a number of replicas in the replica group.
