Files
mini_lsm/mini-lsm-book/src/week2-06-wal.md
Alex Chi d8dd95a1d6 update toc for week 2
Signed-off-by: Alex Chi <iskyzh@gmail.com>
2024-01-22 01:10:50 +08:00

578 B

Write-Ahead Log (WAL)

Chapter Overview

In this chapter, you will:

  • Implement encoding and decoding of the write-ahead log file.
  • Recover memtables from the WALs when the system restarts.

Task 1: WAL Encoding

Task 2: Write WALs

Task 3: Recover from the WALs

Test Your Understanding

  • When can you tell the user that their modifications (put/delete) have been persisted?

We do not provide reference answers to the questions, and feel free to discuss about them in the Discord community.

{{#include copyright.md}}