You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mini-lsm-book/src/week2-03-tiered.md
+7
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ In this chapter, you will:
9
9
10
10
The tiered compaction we talk about in this chapter is the same as RocksDB's universal compaction. We will use these two terminologies interchangeably.
11
11
12
+
To copy the test cases into the starter code and run them,
13
+
14
+
```
15
+
cargo x copy-test --week 2 --day 3
16
+
cargo x scheck
17
+
```
18
+
12
19
## Task 1: Universal Compaction
13
20
14
21
In this chapter, you will implement RocksDB's universal compaction, which is of the tiered compaction family compaction strategies. Similar to the simple leveled compaction strategy, we only use number of files as the indicator in this compaction strategy. And when we trigger the compaction jobs, we always include a full sorted run (tier) in the compaction job.
0 commit comments