From c4d5440264fd1db84dc5832783b7203c25aec855 Mon Sep 17 00:00:00 2001 From: Jiaqi Shen <18863662628@163.com> Date: Mon, 13 May 2024 10:43:56 +0800 Subject: [PATCH] fix: fix typo in w1d6 (#75) Co-authored-by: shenjiaqi.2769 --- mini-lsm-book/src/week1-06-write-path.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini-lsm-book/src/week1-06-write-path.md b/mini-lsm-book/src/week1-06-write-path.md index 9c1d3cf..76f8887 100644 --- a/mini-lsm-book/src/week1-06-write-path.md +++ b/mini-lsm-book/src/week1-06-write-path.md @@ -26,7 +26,7 @@ src/lsm_storage.rs src/mem_table.rs ``` -You will need to modify `LSMStorageInner::force_flush_next_imm_memtable` and `MemTable::flush`. In `LSMStorageInner::open`, you will need to create the LSM database directory if it does not exist. To flush a memtable to the disk, we will need to do two things: +You will need to modify `LSMStorageInner::force_flush_next_imm_memtable` and `MemTable::flush`. In `LSMStorageInner::open`, you will need to create the LSM database directory if it does not exist. To flush a memtable to the disk, we will need to do three things: * Select a memtable to flush. * Create an SST file corresponding to a memtable.