RETROSPECTIVE SNAPSHOTS IN LOG-STRUCTURED STORAGE SYSTEMS
First Claim
1. A method for retrospective snapshot creation comprising:
- creating, by a processor, a first snapshot that captures logical state of a data store at a first key, wherein creation of the first snapshot is based on;
determining a log offset corresponding to the first key;
determining existence of a second snapshot that captures logical state of the data store; and
recording a retrospective snapshot at a last valid log address offset prior to the first key upon a determination that the second snapshot exists prior to the first key based on;
determining at least one of;
whether log address offsets from a first log entry of a log to a log entry of the log at the first key are contiguous; and
whether log address offsets from the second snapshot to the first key are contiguous.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment provides a method for retrospective snapshot creation including creating, by a processor, a first snapshot that captures logical state of a data store at a first key. Creation of the first snapshot is based on determining a log offset corresponding to the first key, determining existence of a second snapshot that captures logical state of the data store and recording a retrospective snapshot at a last valid log address offset prior to the first key upon a determination that the second snapshot exists based on determining at least one of: whether log address offsets from a first log entry of a log to a log entry of the log at the first key are contiguous and whether log address offsets from the second snapshot to the first key are contiguous.
27 Citations
19 Claims
-
1. A method for retrospective snapshot creation comprising:
creating, by a processor, a first snapshot that captures logical state of a data store at a first key, wherein creation of the first snapshot is based on; determining a log offset corresponding to the first key; determining existence of a second snapshot that captures logical state of the data store; and recording a retrospective snapshot at a last valid log address offset prior to the first key upon a determination that the second snapshot exists prior to the first key based on; determining at least one of; whether log address offsets from a first log entry of a log to a log entry of the log at the first key are contiguous; and whether log address offsets from the second snapshot to the first key are contiguous. - View Dependent Claims (2, 3, 4, 5)
-
6. A computer program product for retrospective snapshot creation, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
create, by a processor, a first snapshot that captures logical state of a data store at a first time in a time range, wherein creation of the retrospective snapshot is based on; determine, by the processor, a log offset corresponding to the first key; determine, by the processor, existence of a second snapshot that captures logical state of the data store; and record, by the processor, a retrospective snapshot at a last valid log address offset prior to the first key upon a determination that the second snapshot exists based on; determining, by the processor, at least one of; whether log address offsets from a first log entry of a log to a log entry of the log at the first key are contiguous; and whether log address offsets from the second snapshot to the first key are contiguous. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
13. An apparatus comprising:
-
a memory storing instructions; and a processor executing the instructions to create a first snapshot that captures logical state of a data store at a first key, wherein creation of the first snapshot is based on the processor; determining a log offset corresponding to the first key; determining existence of a second snapshot that captures logical state of the data store; and recording a retrospective snapshot at a last valid log address offset prior to the first key upon a determination that the second snapshot exists based on the processor further; determining at least one of; whether log address offsets from a first log entry of a log to a log entry of the log at the first key are contiguous; and whether log address offsets from the second snapshot to the first key are contiguous. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification