# US 2019/0317858 A1 · System and method for recovery of unrecoverable data with enhanced erasure coding and replication

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

- Number: US 2019/0317858 A1
- Document ID: US20190317858A1
- Status: Published application
- Kind: A1
- Application number: 15/952,176
- Filed: 2018-04-12
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Mikhail Danilov; Konstantin Buinov
- Web page: https://patentgrep.com/patent/US20190317858A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- H03M 13/154: {Error and erasure correction, e.g. by using the error and erasure locator or Forney polynomial}
- 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/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- 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)

## Abstract

Data availability in geographically-distributed object storage systems that utilize erasure coding is increased without any run-time overheads. In one aspect, non-intersecting sub matrices of a great encoding matrix can be utilized to erasure code data fragments of a chunk at the zone level and generate coding fragments. Accordingly, the data fragments that are stored within different zones are identical, while the coding fragments stored within the different zones are disparate. Subsequent to a multi-zone data failure, wherein it is determined that a decoding operation cannot be performed at the zone level, available fragments associated with the chunk can be collected from the zones and collectively decoded to recover the chunk. In one aspect, the fragments can be decoded by utilizing a great decoding matrix that corresponds to the great encoding matrix.

## Claims

### Claim 1

A system, comprising:
a processor; and
a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
determining a coding matrix that is to be employed to erasure code a chunk stored within a distributed storage system;
determining non-intersecting sub matrices of the coding matrix; and
encoding data fragments of the chunk by utilizing the non-intersecting sub matrices, wherein the encoding results in a generation of different coding fragments that are to be stored within respective zones of the distributed storage system.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise:
in response to determining that a failure condition is satisfied, collecting available fragments from the respective zones.

### Claim 3 (depends on 2)

The system of claim 2, wherein the operations further comprise:
decoding the available fragments based on a decoding matrix that corresponds to the coding matrix, and wherein the decoding results in a recovery of the data fragments.

### Claim 4 (depends on 3)

The system of claim 3, wherein the operations further comprise:
subsequent to the decoding, re-encoding the data fragments based on the non-intersecting sub matrices.

### Claim 5 (depends on 2)

The system of claim 2, wherein the determining that the failure condition is satisfied comprises determining that the data fragments are unable to be recovered at a zone level without inter-zone communication.

### Claim 6 (depends on 1)

The system of claim 1, wherein the determining the coding matrix comprises determining the coding matrix based on a number of zones within the distributed storage system.

### Claim 7 (depends on 1)

The system of claim 1, wherein the determining the coding matrix comprises determining the coding matrix based on an erasure coding protection protocol utilized at a zone level.

### Claim 8 (depends on 1)

The system of claim 1, wherein the operations further comprise:
facilitating a storage of copies of the data fragments within the respective zones.

### Claim 9 (depends on 1)

The system of claim 1, wherein the determining the non-intersecting sub matrices comprises splitting the coding matrix based on a number of the respective zones to which the chunk is to be replicated.

### Claim 10 (depends on 1)

The system of claim 1, wherein the distributed storage system comprises a distributed object storage system.

### Claim 11

A method, comprising:
configuring, by a system comprising a processor, a coding matrix that is to be employed during an erasure coding of a chunk stored within a distributed storage system;
determining first coding fragments based on encoding data fragments of the chunk in accordance with a first sub matrix of the coding matrix, wherein the first coding fragments are to be stored within a first zone of the distributed storage system; and
determining second coding fragments based on encoding the data fragments in accordance with a second sub matrix of the coding matrix, wherein the first sub matrix and the second sub matrix are non-intersecting matrices, and wherein the second coding fragments are to be stored within a second zone of the distributed storage system.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
facilitating a storage of a first copy of data fragments within the first zone and a second copy of data fragments within the second zone.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
determining that a multi-zone failure has occurred resulting in a loss of information stored within the first zone and the second zone; and
in response to determining that the multi-zone failure satisfies a defined failure criterion, facilitating a transfer of available fragments from the second zone to the first zone.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
decoding the available fragments based on a decoding matrix that corresponds to the coding matrix, wherein the decoding results in a recovery of the data fragments.

### Claim 15 (depends on 11)

The method of claim 11, wherein the configuring comprises configuring a size of the coding matrix based on a number of zones within the distributed storage system.

### Claim 16 (depends on 11)

The method of claim 11, wherein the configuring comprises configuring a size of the coding matrix based on an erasure coding protection scheme utilized for data protection at a zone level.

### Claim 17

A computer-readable storage medium comprising instructions that, in response to execution, cause a server device comprising a processor to perform operations, comprising:
configuring a coding matrix that is to be employed to erasure code a chunk stored within a distributed storage system;
encoding data fragments of the chunk in accordance with a first sub matrix of the coding matrix to generate first coding fragments that are to be stored within a first zone of the distributed storage system; and
encoding the data fragments in accordance with a second sub matrix of the coding matrix to generate second coding fragments that are to be stored within a second zone of the distributed storage system, wherein the first sub matrix and the second sub matrix are non-intersecting matrices.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein the operations further comprise:
storing a first copy of the data fragments with the first coding fragments within the first zone; and
storing a second copy of the data fragments with the second coding fragments within the second zone.

### Claim 19 (depends on 18)

The computer-readable storage medium of claim 18, wherein fragments comprise the first copy of the data fragments, the second copy of the data fragments, the first coding fragments and the second coding fragments, and wherein the operations further comprise:
in response to determining that at least a portion of the fragments is unavailable, decoding a remaining portion of the fragments other than the portion that is available in accordance with a decoding matrix that corresponds to the coding matrix to recover the data fragments.

### Claim 20 (depends on 17)

The computer-readable storage medium of claim 17, wherein the distributed storage system comprises a distributed object storage system.
