Technique for efficiently indexing data of an archival storage system
Abstract
An indexing technique provides an index data structure for efficient retrieval of a snapshot from a long-term storage service (LTSS) of an archival storage system. The snapshot is generated from typed data of a logical entity, such as a virtual disk (vdisk). The data of the snapshot is replicated to a frontend data service of the LTSS sequentially and organized as one or more data objects for storage by a backend data service of LTSS in an object store of the archival storage system. Metadata associated with the snapshot (i.e., snapshot metadata) is recorded as a log and persistently stored on storage media local to the frontend data service. The snapshot metadata includes information describing the snapshot data, e.g., a logical offset range of a snapshot of the vdisk and, thus, is used to construct the index data structure. Notably, construction of the index data structure is deferred until after the entirety of the snapshot data has been replicated and received by the frontend data service.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 0.
Claims (27 — 3 Independent, 24 Dependent)
- Claim 1Independent Claim
A method comprising: replicating data of a first snapshot of a logical entity in a first transaction from a client to a data service of a transactional archival storage system, the first snapshot generated by a file system of the client executing on a computer node and addressable by the client using a first address space; constructing a first index data structure at the data service upon finalization of the first snapshot data replication and after a receiving a first command from the client indicating completion of the first transaction by the client, the first index data structure mapping the first address space of the first snapshot to a second address space of an object store addressable by the client for storing and retrieving data objects based on metadata recorded at the data service; determining data changes between the first snapshot and a second snapshot of the logical entity at the file system; replicating the data changes in a second transaction from the client to the data service; and constructing a second index data structure at the data service upon finalization of the data change replication and after receiving a second command from the client indicating completion of the second transaction by the client by (i) referencing portions of the first index data structure having unchanged data between the first snapshot and the second snapshot and (ii) modifying portions of the first index structure having the changed data, wherein the index data structures are stored in a repository according to snapshot to support immediate access request.
- Claim 2Depends on #1
The method of claim 1, wherein a maximum index structure depth of the first index structure is maintained to locate any of the data by controlling a branch factor for internal nodes of the first index data structure.
- Claim 3Depends on #2
The method of claim 2, wherein a size of the first address space covered by each leaf node of the index data structures depends upon a number of extents referenced according to the branch factor.
- Claim 4Depends on #1
The method of claim 1, wherein the logical entity is organized as extents written to the data objects according to a preferred size of the data objects for the object store.
- Claim 5Depends on #1
The method of claim 1, wherein internal nodes of the index data structures include keys as a list of offsets in the first address space, wherein each key is associated with a corresponding reference to a child node.
- Claim 6Depends on #1
The method of claim 1, wherein a first leaf node of the first index structure identifies a first data object of the object store having the data of the first snapshot, and wherein a second leaf node of the second index structure identifies a second data object of the object store having the changed data.
- Claim 7Depends on #6
The method of claim 6, wherein the data changes are stored in the second data object in the object store different from that of the first data object.
- Claim 8Depends on #1
The method of claim 1, wherein leaf nodes of the index data structures include (i) identifiers of the data objects of the object store, (ii) logical offsets in the first address space for the first snapshot, and (iii) a logical offset into a data object that contains one or more extents.
- Claim 9Depends on #1
The method of claim 1, wherein the repository is stored in the object store.
- Claim 10Independent Claim
A non-transitory computer readable medium including program instructions for execution on a processor, the program instructions configured to: replicate data of a first snapshot of a virtual disk (vdisk) of a file system addressable in a first address space by a client in a first transaction to a data service of a transactional archival storage system; construct a first index data structure at the data service upon finalization of the first snapshot data replication and after receiving a first command from the client indicating completion of the first transaction by the client, the first index data structure mapping the first address space of the first snapshot to a second address space of the transactional archival storage system addressable by the client for storing and retrieving data objects based on metadata recorded in a persistent log at the data service; determine data changes between the first snapshot and a second snapshot of the vdisk at the file system; replicate the data changes in a second transaction from the client to the data service; and construct a second index data structure at the data service upon finalization of the data change replication and after receiving a second command from the client indicating completion of the second transaction by the client by (i) referencing portions of the first index data structure having unchanged data between the first snapshot and the second snapshot and (ii) copying and modifying portions of the first index structure having the changed data, wherein the index data structures are stored in a repository according to snapshot to support immediate access request.
- Claim 11Depends on #10
The non-transitory computer readable medium of claim 10, wherein a maximum index structure depth of the first index structure is maintained to locate any of the data by controlling a branch factor for internal nodes of the first index data structure.
- Claim 12Depends on #11
The non-transitory computer readable medium of claim 11, wherein a size of the first address space covered by each leaf node of the index data structures depends upon a number of extents referenced according to the branch factor.
- Claim 13Depends on #10
The non-transitory computer readable medium of claim 10, wherein the vdisk is organized as extents written to the data objects according to a preferred size of the data objects for the transactional archival storage system.
- Claim 14Depends on #10
The non-transitory computer readable medium of claim 10, wherein internal nodes of the index data structures include keys as a list of offsets in the first address space, wherein each key is associated with a corresponding reference to a child node.
- Claim 15Depends on #10
The non-transitory computer readable medium of claim 10, wherein a first leaf node of the first index structure identifies a first data object of the transactional archival storage system having the data of the first snapshot, and wherein a second leaf node of the second index structure identifies a second data object of the transactional archival storage system having the changed data.
- Claim 16Depends on #15
The non-transitory computer readable medium of claim 15, wherein the data changes are stored in the second data object in the transactional archival storage system different from that of the first data object.
- Claim 17Depends on #10
The non-transitory computer readable medium of claim 10, wherein leaf nodes of the index data structures include (i) identifiers of the data objects of the transactional archival storage system, (ii) logical offsets in the first address space for the first snapshot, and (iii) a logical offset into a data object that contains one or more extents.
- Claim 18Independent Claim
An apparatus comprising: a frontend data service and a backend data service executing on a node connected via a network to a transactional archival storage system, the node having a processor configured to execute program instructions to: transmit data of a first snapshot of a logical entity from the frontend data service to the backend data service for storage on the transactional archival storage system different from that of the data services, the data replicated to the frontend data service from a client in a first transaction; construct a first index data structure at the frontend data service upon finalization of the first snapshot data transmission and after receiving a first command from the client indicating completion of the first transaction, the first index data structure mapping a first address space addressable by the client for the first snapshot to a second address space of the transactional archival storage system addressable by the client for data objects based on metadata recorded at the frontend data service; determine data changes between the first snapshot and a second snapshot of the logical entity at the client; replicate the data changes in a second transaction from the client to the frontend data service for storage on the transactional archival storage system by the backend service; and construct a second index data structure at the frontend data service upon finalization of the data change replication and after receiving a second command from the client indicating completion of the second transaction by the client by (i) referencing portions of the first index data structure having unchanged data between the first snapshot and the second snapshot and (ii) modifying portions of the first index structure having the changed data, wherein the index data structures are stored in a repository according to snapshot to support immediate access request.
- Claim 19Depends on #18
The apparatus of claim 18 wherein the transactional archival storage system comprises an object store.
- Claim 20Depends on #18
The apparatus of claim 18, wherein a maximum index structure depth of the first index structure is maintained to locate any of the data by controlling a branch factor for internal nodes of the first index data structure.
- Claim 21Depends on #20
The apparatus of claim 20, wherein a size of the first address space covered by each leaf node of the index data structures depends upon a number of extents referenced according to the branch factor.
- Claim 22Depends on #18
The apparatus of claim 18, wherein the logical entity is organized as extents written to the data objects according to a preferred size of the data objects for the transactional archival storage system.
- Claim 23Depends on #18
The apparatus of claim 18, wherein internal nodes of the index data structures include keys as a list of offsets in the first address space, wherein each key is associated with a corresponding reference to a child node.
- Claim 24Depends on #18
The apparatus of claim 18, wherein a first leaf node of the first index structure identifies a first data object of the transactional archival storage system having the data of the first snapshot, and wherein a second leaf node of the second index structure identifies a second data object of the transactional archival storage system having the changed data.
- Claim 25Depends on #18
The apparatus of claim 18, wherein the data changes are stored in the second data object in the transactional archival storage system different from that of the first data object.
- Claim 26Depends on #18
The apparatus of claim 18, wherein leaf nodes of the index data structures include (i) identifiers of the data objects of the transactional archival storage system, (ii) logical offsets in the first address space for the first snapshot, and (iii) a logical offset into a data object that contains one or more extents.
- Claim 27Depends on #18
The apparatus of claim 18, wherein the repository is stored in the transactional archival storage system.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims the benefit of India Provisional Patent Application Serial No. 202141034114, which was filed on Jul. 29, 2021, by Abhishek Gupta, et al. for TECHNIQUE FOR EFFICIENTLY INDEXING DATA OF AN ARCHIVAL STORAGE SYSTEM, which is hereby incorporated by reference. BACKGROUND Technical Field The present disclosure relates to archival of data and, more specifically, to efficient indexing of snapshot data in an archival storage system. Background Information File systems are primarily configured to process (i.e., store and retrieve) active input/output (I/O) data streams issued by, e.g., a user application executing in a virtual machine of a storage system. Such file systems are not generally configured to maintain large quantities of snapshots for long-term storage and retention in an archival storage system because they are primarily designed for rapid application of changes (e.g., as “ live ” data) to support immediate access requests. Accordingly, backup/archival storage systems associated with active file systems usually require that snapshot data be immediately available for retrieval, e.g., to support critical restore operations. That is, conventional file systems and their associated backup/archival systems are typically designed for immediate on-demand data availability. As a result, these systems generally process data indexing/location information together with storage layout and data storage so that recently stored data may be immediately retrieved. Further, retrieval time for the data generally increases as the number of snapshots increases because of the need to traverse a greater amount of metadata usually needed to support “ live access ” to recent data. BRIEF DESCRIPTION OF THE DRAWINGS The above and further advantages of the embodiments herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indi
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 (46)
Non-Patent Literature (10)
- Cano, Ignacio, et al.
- “
- Curator: Self-Managing Storage for Enterprise Clusters
- ”
- (Mar. 27, 2017), from https://www.usenix.org/conference/nsdi17/.
- Poitras, Steven.
- “
- The Nutanix Bible
- ”
- (Oct. 15, 2013), from http://stevenpoitras.com/the-nutanix-bible/ (Publication date based on indicated capture date by Archive.org; first publication date unknown).