# US 10,956,388 B2 · Eventual consistency in a deduplicated cloud storage system

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

- Number: US 10,956,388 B2
- Document ID: US10956388B2
- Status: Granted
- Kind: B2
- Application number: 16/031,920
- Filed: 2018-07-10
- Published: 2020-01-16
- Granted: 2021-03-23
- Earliest claimed: 2018-07-10
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Philip Shilane; Venkata Ravi Chandra Bandlamudi; Atul A. Karmarkar
- Web page: https://patentgrep.com/patent/US10956388B2

## CPC

- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/184: {implemented as replicated file system}
- G06F 16/2255: {Hash tables}
- G06F 16/2329: {using versioning}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- 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]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

One example method includes receiving a write request that includes a data structure version to be written, wherein the data structure version is associated with a unique identifier, storing the data structure version in association with the unique identifier, receiving a read request for a most recent version of the data structure and, when the stored data structure version is not the most recent version of the data structure, examining respective unique identifiers of each of a group of other stored data structure versions to determine which stored data structure version is the most recent. Finally, the example method includes returning the most recent data structure version, notwithstanding that one or more other data structure versions existed at the time that the read request was received.

## Claims

### Claim 1

A non-transitory storage medium having stored therein computer-executable instructions which, when executed by one or more hardware processors, perform the following operations:
receiving a write request that includes a data structure version to be written, wherein the data structure version is assigned a unique identifier that is generated based on a hash of contents of the data structure, the data structure comprising a similarity group that records a mapping between a compression region comprising a compressed group of data portions, and fingerprints of the data portions that make up the compression region;
appending, to a name of the similarity group, a transaction ID that is incremented for each update that is made to the similarity group;
storing the data structure version in association with the unique identifier;
receiving a read request for a most recent version of the data structure;
when the stored data structure version is not the most recent version of the data structure, examining respective unique identifiers of each of a plurality of other stored data structure versions to determine which stored data structure version is the most recent; and
returning the most recent data structure version, notwithstanding that one or more other data structure versions existed at the time that the read request was received.

### Claim 2 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the read request is received from a deduplication microservice.

### Claim 3 (depends on 1)

The non-transitory storage medium of claim 1, wherein when the size of the similarity group exceeds a threshold, the operations further comprise creating a new subgroup having a subgroup ID that has a relatively higher value than a prior in time subgroup ID.

### Claim 4 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein as between the similarity group and one or more other similarity groups, the operations further comprise performing data deduplication against the similarity group with the highest subgroup ID and, within that highest subgroup ID, the highest transaction ID.

### Claim 5 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein namespace consistency is achieved before the stored data structure version is available to fulfill the read request.

### Claim 6 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the compression region is shared by multiple objects.

### Claim 7 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the operations are performed in a data protection environment that implements an eventual consistency model.

### Claim 8 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein determining which stored data structure version is the most recent comprises performing a list call that includes a data structure name prefix that is common to two or more of the stored data structure versions.

### Claim 9 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the unique identifier of a data structure version prevents that data structure version from being overwritten by another data structure version with a different unique identifier.

### Claim 10 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the operations further comprise deleting all but the newest data structure version.

### Claim 11 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein as between successive unique identifiers, a second one of the successive unique identifiers reflects a time increment relative to a first one of the successive unique identifiers.

### Claim 12 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein the unique identifier associated with the data structure version included in the write request is assigned either by a component of a datacenter, or by an entity that issued the write request.

### Claim 13 (depends on 1)

The non-transitory storage medium as recited in claim 1, wherein one or more of the data structure versions comprise deduplicated data.
