add hint (#46)

Signed-off-by: husharp <jinhao.hu@pingcap.com>
This commit is contained in:
Hu#
2024-02-15 21:59:26 +08:00
committed by GitHub
parent 1aa53aa17f
commit 59ae3fa134
2 changed files with 14 additions and 0 deletions

View File

@@ -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.

View File

@@ -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: