finish 3.5

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2024-01-30 12:39:36 +08:00
parent 4ad97f716c
commit a17f34b7d9
6 changed files with 61 additions and 49 deletions

View File

@@ -34,6 +34,12 @@ You will need to add the `read_ts` to the watermark when a transaction starts, a
## Task 3: Garbage Collection in Compaction
In this task, you will need to modify:
```
src/compact.rs
```
Now that we have a watermark for the system, we can clean up unused versions during the compaction process.
* If a version of a key is above watermark, keep it.