book: ‎LsmStorageInner::write_batch ‎method should be modified to call MemTable::put_batch (#142)

This commit is contained in:
Ligh0x74
2025-05-05 17:32:00 +08:00
committed by GitHub
parent d803887c3f
commit 68bfffb13f

View File

@@ -52,6 +52,7 @@ In this task, you will need to modify:
```
src/wal.rs
src/mem_table.rs
src/lsm_storage.rs
```
Note that `commit` involves producing a write batch, and for now, the write batch does not guarantee atomicity. You will need to change the WAL implementation to produce a header and a footer for the write batch.