Skip to content

Commit 68bfffb

Browse files
authored
book: ‎LsmStorageInner::write_batch ‎method should be modified to call MemTable::put_batch (#142)
1 parent d803887 commit 68bfffb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mini-lsm-book/src/week3-05-txn-occ.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ In this task, you will need to modify:
5252
```
5353
src/wal.rs
5454
src/mem_table.rs
55+
src/lsm_storage.rs
5556
```
5657

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

0 commit comments

Comments
 (0)