Snapshot repair in a deduplication storage system
Abstract
Example implementations relate to deduplication operations in a storage system. An example includes identifying a corrupt data unit included in a first snapshot; identifying a first manifest that references the corrupt data unit; identifying, based on the first manifest, a first container index that indexes the corrupt data unit; determining, based on the first container index, a set of candidate manifests; identifying, in the set of candidate manifests, a second manifest having a highest match score with respect to a first portion of the first manifest; and in response to a determination that the identified second manifest having the highest match score does not reference the corrupt data unit, replacing in the first manifest a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified second manifest.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computing device comprising: a processor; a memory; and a machine-readable storage storing instructions, the instructions executable by the processor to: identify a corrupt data unit included in a first snapshot stored in a deduplication storage system; identify a first manifest that references the corrupt data unit, wherein the first manifest records an ingest order of data units of the first snapshot into the deduplication storage system; identify, based on the first manifest, a first container index that indexes the corrupt data unit; determine, based on the first container index, a set of candidate manifests; identify, in the set of candidate manifests, a second manifest having a highest match score with respect to a first portion of the first manifest; and in response to a determination that the identified second manifest does not reference the corrupt data unit, replace, in the first manifest, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified second manifest.
- Claim 2Depends on #1
The computing device of claim 1, including instructions executable by the processor to: identify a first comparison window in the first manifest, wherein the first comparison window is the first portion of the first manifest; perform a first set of sliding comparisons of the set of candidate manifests against the first comparison window; and calculate, based on the first set of sliding comparisons, a first set of match scores with respect to the first comparison window, wherein each match score of the first set of match scores indicates a degree of similarity between the first comparison window and a match window in a different candidate manifest of the set of candidate manifests, and wherein the first set of match scores comprises the highest match score.
- Claim 3Depends on #2
The computing device of claim 2, including instructions executable by the processor to: in response to a determination that the identified second manifest having the highest match score references the corrupt data unit: remove, from the set of candidate manifests, the identified second manifest to obtain a first reduced set of candidate manifests; identify a second comparison window in the identified second manifest; perform a second set of sliding comparisons of the first reduced set of candidate manifests against the second comparison window; calculate, based on the second set of sliding comparisons, a second set of match scores with respect to the second comparison window; identify, in the first reduced set of candidate manifests, a third manifest having a highest match score with respect to the second comparison window; and in response to a determination that the identified third manifest does not reference the corrupt data unit, replace, in the first manifest, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified third manifest.
- Claim 4Depends on #2
The computing device of claim 2, including instructions executable by the processor to: for each candidate manifest of the set of candidate manifests, calculate a match score for the each candidate manifest based on a total number of non-center data units that are referenced in both the each candidate manifest and the first comparison window.
- Claim 5Depends on #2
The computing device of claim 2, wherein the instructions executable to perform the first set of sliding comparisons comprise instructions executable to: for each sliding comparison of the first set of sliding comparisons: slide a sweep window across a different candidate manifest to select different subsets of data units referenced in the different candidate manifest; and compare each different subset of data units against data units referenced in the first comparison window.
- Claim 6Depends on #1
The computing device of claim 1, including instructions executable by the processor to: subsequent to a replacement of the reference to the corrupt data unit with the reference to the non-corrupt data unit, generate a first entry in an alias data structure, the first entry indicating that the non-corrupt data unit is a repair substitute for the corrupt data unit.
- Claim 7Depends on #6
The computing device of claim 6, including instructions executable by the processor to: receive data units to be stored in the deduplication storage system; compare the received data units to a plurality of entries of the alias data structure; in response to a determination that a received data unit matches the first entry of the alias data structure: read the first entry to identify the non-corrupt data unit; and record the identified non-corrupt data unit in a manifest that records an order of the received data units.
- Claim 8Depends on #1
The computing device of claim 1, including instructions executable by the processor to: identify the first manifest based on item metadata that represents the first snapshot; and determine the set of candidate manifests based on a manifest list stored in the first container index, wherein the set of candidate manifests is arranged in an arrival order of the manifest list.
- Claim 9Independent Claim
A method comprising: identifying, by a storage controller of a deduplication storage system, a corrupt data unit included in a first snapshot stored in a deduplication storage system; identifying, by the storage controller, a first manifest that references the corrupt data unit, wherein the first manifest records an ingest order of data units of the first snapshot into the deduplication storage system; identifying based on the first manifest, by the storage controller, a first container index that indexes the corrupt data unit; determining based on the first container index, by the storage controller, a set of candidate manifests; identifying in the set of candidate manifests, by the storage controller, a second manifest having a highest match score with respect to a first portion of the first manifest; determining, by the storage controller, whether the identified second manifest having the highest match score references the corrupt data unit; and in response to a determination that the identified second manifest having the highest match score does not reference the corrupt data unit, replacing in the first manifest, by the storage controller, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified second manifest.
- Claim 10Depends on #9
The method of claim 9, comprising: identifying a first comparison window in the first manifest, wherein the first comparison window is the first portion of the first manifest; performing a first set of sliding comparisons of the set of candidate manifests against the first comparison window; and determining, based on the first set of sliding comparisons, a first set of match scores with respect to the first comparison window, wherein each match score of the first set of match scores indicates a degree of similarity between the first comparison window and a match window in a different candidate manifest of the set of candidate manifests, and wherein the first set of match scores comprises the highest match score.
- Claim 11Depends on #10
The method of claim 10, comprising: in response to a determination that the identified second manifest having the highest match score references the corrupt data unit: removing, from the set of candidate manifests, the identified second manifest to obtain a first reduced set of candidate manifests; identifying a second comparison window in the identified second manifest; performing a second set of sliding comparisons of the first reduced set of candidate manifests against the second comparison window; determining, based on the second set of sliding comparisons, a second set of match scores with respect to the second comparison window; identifying, in the first reduced set of candidate manifests, a third manifest having a highest match score with respect to the second comparison window; and in response to a determination that the identified third manifest does not reference the corrupt data unit, replacing, in the first manifest, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified third manifest.
- Claim 12Depends on #10
The method of claim 10, comprising: for each candidate manifest of the set of candidate manifests, determining a match score for the each candidate manifest based on a total number of non-center data units that are referenced in both the each candidate manifest and the first comparison window.
- Claim 13Depends on #9
The method of claim 9, comprising: subsequent to a replacement of the reference to the corrupt data unit with the reference to the non-corrupt data unit, generating a first entry in an alias data structure, the first entry indicating that the non-corrupt data unit is a repair substitute for the corrupt data unit.
- Claim 14Depends on #13
The method of claim 13, comprising: receiving data units to be stored in the deduplication storage system; comparing the received data units to a plurality of entries of the alias data structure; in response to a determination that a received data unit matches the first entry of the alias data structure: reading the first entry to identify the non-corrupt data unit; and recording the identified non-corrupt data unit in a manifest that records an order of the received data units.
- Claim 15Independent Claim
A non-transitory machine-readable medium storing instructions that upon execution cause a processor to: identify a corrupt data unit included in a first snapshot stored in a deduplication storage system; identify a first manifest that references the corrupt data unit, where the first manifest records an ingest order of data units of the first snapshot into the deduplication storage system; identify, based on the first manifest, a first container index that indexes the corrupt data unit; determine, based on the first container index, a set of candidate manifests; identify, in the set of candidate manifests, a second manifest having a highest match score with respect to a first portion of the first manifest; and in response to a determination that the identified second manifest having the highest match score does not reference the corrupt data unit, replace, in the first manifest, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified second manifest.
- Claim 16Depends on #15
The non-transitory machine-readable medium of claim 15, including instructions that upon execution cause the processor to: identify a first comparison window in the first manifest, wherein the first comparison window is the first portion of the first manifest; perform a first set of sliding comparisons of the set of candidate manifests against the first comparison window; and calculate, based on the first set of sliding comparisons, a first set of match scores with respect to the first comparison window, wherein each match score of the first set of match scores indicates a degree of similarity between the first comparison window and a match window in a different candidate manifest of the set of candidate manifests, and wherein the first set of match scores comprises the highest match score.
- Claim 17Depends on #16
The non-transitory machine-readable medium of claim 16, including instructions that upon execution cause the processor to: in response to a determination that the identified second manifest having the highest match score references the corrupt data unit: remove, from the set of candidate manifests, the identified second manifest to obtain a first reduced set of candidate manifests; identify a second comparison window in the identified second manifest; perform a second set of sliding comparisons of the first reduced set of candidate manifests against the second comparison window; calculate, based on the second set of sliding comparisons, a second set of match scores with respect to the second comparison window; identify, in the first reduced set of candidate manifests, a third manifest having a highest match score with respect to the second comparison window; and in response to a determination that the identified third manifest does not reference the corrupt data unit, replace, in the first manifest, a reference to a corrupt data unit with a reference to a non-corrupt data unit referenced in the identified third manifest.
- Claim 18Depends on #16
The non-transitory machine-readable medium of claim 16, including instructions that upon execution cause the processor to: for each candidate manifest of the set of candidate manifests, calculate a match score for the each candidate manifest based on a total number of non-center data units that are referenced in both the each candidate manifest and the first comparison window.
- Claim 19Depends on #16
The non-transitory machine-readable medium of claim 16, including instructions that upon execution cause the processor to: for each sliding comparison of the first set of sliding comparisons: slide a sweep window across a different candidate manifest to select different subsets of data units referenced in the different candidate manifest; and compare each different subset of data units against data units referenced in the first comparison window.
- Claim 20Depends on #15
The non-transitory machine-readable medium of claim 15, including instructions that upon execution cause the processor to: identify the first manifest based on item metadata that represents the first snapshot; and determine the set of candidate manifests based on a manifest list stored in the first container index, wherein the set of candidate manifests is arranged in an arrival order of the manifest list.
Technical Overview & Description
BACKGROUND Data reduction techniques can be applied to reduce the amount of data stored in a storage system. An example data reduction technique includes data deduplication. Data deduplication identifies data units that are duplicative, and seeks to reduce or eliminate the number of instances of duplicative data units that are stored in the storage system. BRIEF DESCRIPTION OF THE DRAWINGS Some implementations are described with respect to the following figures. FIG. 1 is a schematic diagram of an example storage system, in accordance with some implementations. FIGS. 2 A- 2 C are illustration of example data structures, in accordance with some implementations. FIG. 3 is an illustration of an example process, in accordance with some implementations. FIGS. 4 A- 4 M are illustrations of example operations, in accordance with some implementations. FIG. 5 is an illustration of an example process, in accordance with some implementations. FIG. 6 is a schematic diagram of an example computing device, in accordance with some implementations. FIG. 7 is an illustration of an example process, in accordance with some implementations. FIG. 8 is a diagram of an example machine-readable medium storing instructions in accordance with some implementations. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements. The figures are not necessarily to scale, and the size of some parts may be exaggerated to more clearly illustrate the example shown. Moreover, the drawings provide examples and/or implementations consistent with the description; however, the description is not limited to the examples and/or implementations provided in the drawings. DETAILED DESCRIPTION In the present disclosure, use of the term “ a, ”
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (10)
- Cha et al.,
- “
- SplitScreen: Enabling Efficient, Distributed Malware Detection,
- ”
- Apr. 2011, Journal of Communications and Networks, vol. 13, No. 2, pp. 187-200.
- Hewlett Packard Enterprise Development LP,
- “
- HPE 3PAR File Persona User Guide,
- ”
- Jul. 2020,