Skip to content

Commit

Permalink
Fix paths to lsm_{iterator,storage}.rs in Week 1 Day 2 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
lacop committed Feb 10, 2024
1 parent f1fa216 commit e3cd2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mini-lsm-book/src/week1-02-merge-iterator.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Starting this section, we will use `Key<T>` to represent LSM key types and disti
In this task, you will need to modify:

```
src/iterators/lsm_iterator.rs
src/lsm_iterator.rs
```

We use the `LsmIterator` structure to represent the internal LSM iterators. You will need to modify this structure multiple times throughout the tutorial when more iterators are added into the system. For now, because we only have multiple memtables, it should be defined as:
Expand All @@ -123,7 +123,7 @@ Then, we want to provide extra safety on the iterator to avoid users from misusi
In this task, you will need to modify:

```
src/iterators/lsm_storage.rs
src/lsm_storage.rs
```

We are finally there -- with all iterators you have implemented, you can finally implement the `scan` interface of the LSM engine. You can simply construct an LSM iterator with the memtable iterators (remember to put the latest memtable at the front of the merge iterator), and your storage engine will be able to handle the scan request.
Expand Down

0 comments on commit e3cd2b7

Please sign in to comment.