Recoverable single-phase logging
AssigneeSymantec Operating Corporation
InventorsOleg Kiselev, John A. Colgrove
Life of this patent
Estimating the term…
Abstract
A log manager may store a validation indicator with each data block of a log entry. The log manager may create a header block for each log entry that may include a validation indicator or tag. Such a validation indicator may be stored within the metadata for each data block. The validation indicator may additionally be stored in the metadata for the header block and it may be stored in header block itself. When recovering such a log, according to some embodiments, the validation indicators for each data block are checked against the validation indicator in the header block.
Claims30
A method, comprising:
- receiving a log entry including a plurality of data blocks;
- generating a header block for the log entry, wherein the header block includes a validation indicator;
- storing the header block;
- and
- atomically storing each data block of the log entry and respective metadata associated with the respective data block, wherein said atomically storing comprises storing each data block and its associated metadata as a single, logical operation, and wherein said atomically storing further comprises storing the validation indicator in each data block's associated metadata.
A device, comprising:
- a processor;
- and
- a memory coupled to the processor, wherein the memory comprises program instructions configured to:
- receive a log entry including a plurality of data blocks;
- generate a header block for the log entry, wherein the header block includes a validation indicator;
- store the header block;
- and
- atomically store each data block of the log entry and respective metadata associated with the respective data block, wherein said atomically storing comprises storing each data block and its associated metadata as a single, logical operation, and wherein said atomically storing comprises storing the validation indicator in each data block's associated metadata.
A computer-readable, storage medium, comprising program instructions computer-executable to implement:
- receiving a log entry including a plurality of data blocks;
- generating a header block for the log entry, wherein the header block includes a validation indicator;
- storing the header block;
- and
- atomically storing each data block of the log entry and respective metadata associated with the respective data block, wherein said atomically storing comprises storing each data block and its associated metadata as a single, logical, operation, and wherein said atomically storing comprises storing the validation indicator in each data block's associated metadata.
Dependencies are inferred from the claim text.