Skip to content

Commit

Permalink
add hint (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp authored Feb 15, 2024
1 parent 1aa53aa commit 59ae3fa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mini-lsm-book/src/week2-05-manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ In this chapter, you will:
* Implement encoding and decoding of the manifest file.
* Recover from the manifest when the system restarts.

To copy the test cases into the starter code and run them,

```
cargo x copy-test --week 2 --day 5
cargo x scheck
```

## Task 1: Manifest Encoding

The system uses a manifest file to record all operations happened in the engine. Currently, there are only two types of them: compaction and SST flush. When the engine restarts, it will read the manifest file, reconstruct the state, and load the SST files on the disk.
Expand Down
7 changes: 7 additions & 0 deletions mini-lsm-book/src/week2-06-wal.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ In this chapter, you will:
* Implement encoding and decoding of the write-ahead log file.
* Recover memtables from the WALs when the system restarts.

To copy the test cases into the starter code and run them,

```
cargo x copy-test --week 2 --day 6
cargo x scheck
```

## Task 1: WAL Encoding

In this task, you will need to modify:
Expand Down

0 comments on commit 59ae3fa

Please sign in to comment.