Invention Grant
- Patent Title: Write-ahead log maintenance and recovery
-
Application No.: US17001294Application Date: 2020-08-24
-
Publication No.: US11449239B2Publication Date: 2022-09-20
- Inventor: Randolph Sterns , Charles Binford , William Delaney , Joseph Blount , Keith Moyer , Joseph Moore
- Applicant: NetApp, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: NetApp, Inc.
- Current Assignee: NetApp, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Haynes and Boone, LLP
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F3/06 ; G06F11/14

Abstract:
A system for tracking metadata changes and recovering from system interruptions. With host I/O, corresponding metadata incremental changes are aggregated and stored in a write-ahead log before being performed to their in-memory buffers. As those buffers are flushed, checkpoints are created and stored in the log. As the log wraps to the start, older entries are overwritten after they are freed from any remaining dependencies by newer checkpoints. If metadata entities have not created new checkpoints, they are instructed to in order to free up space for new aggregated batches and checkpoints. After an interruption, the wrap point is located in the log. From the wrap point, the log is scanned backwards to provide checkpoints to metadata entities. The log is then scanned forwards to perform changes specified by aggregated batches. The metadata entities' volatile memory states are recovered to what they were before the interruption.
Information query