# US 10,956,266 B2 · Processing data access transactions in a dispersed storage network using source revision indicators

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

- Number: US 10,956,266 B2
- Document ID: US10956266B2
- Status: Granted
- Kind: B2
- Application number: 16/366,979
- Filed: 2019-03-27
- Published: 2019-07-18
- Granted: 2021-03-23
- Earliest claimed: 2017-06-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Greg R. Dhuse; Ravi V. Khadiwala
- Web page: https://patentgrep.com/patent/US10956266B2

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0611: {in relation to response time}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/1402: {Saving, restoring, recovering or retrying}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; 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], H04L67/1097)}
- G06F 11/3495: {for systems}
- H03M 13/373: {with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes}
- H03M 13/3761: {using code combining, i.e. using combining of codeword portions which may have been transmitted separately, e.g. Digital Fountain codes, Raptor codes or Luby Transform [LT] codes}
- 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]
- H03M 13/1515: {Reed-Solomon codes}
- H04L 63/101: {Access control lists [ACL]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method begins by obtaining, for a set of data access requests to a set of storage units of a dispersed storage network, a storage-revision indicator from each of at least some storage units of the set of storage units, where the set of data access requests is regarding a data access transaction involving a set of encoded data slices. The method continues by generating an anticipated storage-revision indicator for the data access transaction based on a current revision level of the set of encoded data slices and a data access type of the data access transaction. The method continues by comparing the anticipated storage-revision indicator with the storage-revision indicators received from the at least some storage units. When a threshold number of the storage-revision indicators received from the at least some storage units substantially match the anticipated storage-revision indicator, the method continues by executing the data access transaction.

## Claims

### Claim 1

A method for execution by a computing device of a dispersed storage network (DSN) comprises:
obtaining, for a set of data access requests to a set of storage units of the DSN, a storage-revision indicator from each of at least some storage units of the set of storage units, wherein the set of data access requests is regarding a data access transaction involving a set of encoded data slices, wherein a data segment of a data object is dispersed storage error encoded into the set of encoded data slices, and wherein the set of storage units stores, or is to store, the set of encoded data slices;
generating an anticipated storage-revision indicator for the data access transaction based on a current revision level of the set of encoded data slices and based on a data access type of the data access transaction;
comparing the anticipated storage-revision indicator with the storage-revision indicators received from the at least some storage units;
when a threshold number of the storage-revision indicators received from the at least some storage units substantially match the anticipated storage-revision indicator, executing the data access transaction.

### Claim 2 (depends on 1)

The method of claim 1, wherein the obtaining includes:
sending the set of data access requests to the set of storage units; and
receiving, from the each of at least some storage units of the set of storage units in response to the set of data access requests, the storage-revision indicator.

### Claim 3 (depends on 1)

The method of claim 1, wherein the storage-revision indicator includes one or more of:
a content-revision field;
a delete-counter field; and
a contest-counter field.

### Claim 4 (depends on 3)

The method of claim 3, wherein the content-revision uniquely identifies content of an encoded data slice of the set of encoded data slices, wherein the delete-counter indicates a number of times the encoded data slice has been deleted, and wherein the contest-counter indicates a number of data access contests the encoded data slice has participated in.

### Claim 5 (depends on 1)

The method of claim 1 further comprises:
when the threshold number of the storage-revision indicators obtained from the at least some storage units does not substantially match the anticipated storage-revision indicator, causing the data access transaction to be executed in accordance with a retry protocol.

### Claim 6 (depends on 1)

The method of claim 1, wherein the data access transaction comprises one of:
a write operation;
a delete operation; and
an ensure operation.

### Claim 7 (depends on 1)

The method of claim 1 further comprises:
when the data access transaction is a write operation, generating the anticipated storage-revision indicator by:
changing information m a content-revision field of the anticipated storage-revision indicator;
leaving, unchanged, information m a delete-counter field of the anticipated storage revision indicator; and
resetting, to zero, a contest counter field of the anticipated storage-revision indicator.

### Claim 8 (depends on 1)

The method of claim 1 further comprises:
when the data access transaction is a delete operation, generating the anticipated storage-revision indicator by:
resetting, to null, information in a content-revision field of the anticipated storage-revision indicator;
incrementing information m a delete-counter field of the anticipated storage-revision indicator; and
resetting, to zero, a contest counter field of the anticipated storage-revision indicator.

### Claim 9 (depends on 1)

The method of claim 1 further comprises:
when the data access transaction is an ensure operation, generating the anticipated storage-revision indicator by:
leaving, unchanged, information in a content-revision field of the anticipated storage revision indicator;
leaving, unchanged, information m a delete-counter field of the anticipated storage revision indicator; and
incrementing information in a contest counter field of the anticipated storage-revision indicator.

### Claim 10 (depends on 9)

The method of claim 9, wherein the ensure operation comprises:
verifying a revision level of a second data object prior to executing the data access transaction.

### Claim 11

A computing device of a dispersed storage network (DSN) comprises:
memory;
an interface; and
a processing module operably coupled to the memory and the interface, wherein the processing module is operable to:
obtain, for a set of data access requests to a set of storage units of the DSN, a storage-revision indicator from each of at least some storage units of the set of storage units, wherein the set of data access requests is regarding a data access transaction involving a set of encoded data slices, wherein a data segment of a data object is dispersed storage error encoded into the set of encoded data slices, and wherein the set of storage units stores, or is to store, the set of encoded data slices;
generate an anticipated storage-revision indicator for the data access transaction based on a current revision level of the set of encoded data slices and based on a data access type of the data access transaction;
compare the anticipated storage-revision indicator with the storage-revision indicators received from the at least some storage units; and
when a threshold number of the storage-revision indicators received from the at least some storage units substantially match the anticipated storage-revision indicator, execute the data access transaction.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein the processing module is operable to perform the obtaining by:
sending the set of data access requests to the set of storage units; and
receiving, from the each of at least some storage units of the set of storage units in response to the set of data access requests, the storage-revision indicator.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein the storage-revision indicator includes one or more of:
a content-revision field;
a delete-counter field; and
a contest-counter field.

### Claim 14 (depends on 13)

The computing device of claim 13, wherein the content-revision uniquely identifies content of an encoded data slice of the set of encoded data slices, wherein the delete-counter indicates a number of times the encoded data slice has been deleted, and wherein the contest-counter indicates a number of data access contests the encoded data slice has participated in.

### Claim 15 (depends on 11)

The computing device of claim 11, wherein the processing module is further operable to:
when the threshold number of the storage-revision indicators obtained from the at least some storage units does not substantially match the anticipated storage-revision indicator, cause the data access transaction to be executed in accordance with a retry protocol.

### Claim 16 (depends on 11)

The computing device of claim 11, wherein the data access transaction comprises one of:
a write operation;
a delete operation; and
an ensure operation.

### Claim 17 (depends on 11)

The computing device of claim 11, wherein when the data access transaction is a write operation, the processing module is further operable to generate the anticipated storage-revision indicator by:
changing information m a content-revision field of the anticipated storage-revision indicator;
leaving, unchanged, information m a delete-counter field of the anticipated storage revision indicator; and
resetting, to zero, a contest counter field of the anticipated storage-revision indicator.

### Claim 18 (depends on 11)

The computing device of claim 11, wherein when the data access transaction is a delete operation, the processing module is further operable to generate the anticipated storage-revision indicator by:
resetting, to null, information in a content-revision field of the anticipated storage-revision indicator;
incrementing information m a delete-counter field of the anticipated storage-revision indicator; and
resetting, to zero, a contest counter field of the anticipated storage-revision indicator.

### Claim 19 (depends on 11)

The computing device of claim 11, wherein when the data access transaction is an ensure operation, the processing module is further operable to generate the anticipated storage-revision indicator by:
leaving, unchanged, information in a content-revision field of the anticipated storage revision indicator;
leaving, unchanged, information m a delete-counter field of the anticipated storage revision indicator; and
incrementing information in a contest counter field of the anticipated storage-revision indicator.

### Claim 20 (depends on 19)

The computing device of claim 19, wherein processing module is operable to perform the ensure operation by:
verifying a revision level of a second data object prior to executing the data access transaction.
