From a970422a3ce5fa8b35fcb887a305e60b17c9ce1c Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Tue, 12 Nov 2024 21:58:29 -0500 Subject: [PATCH] minor nits for tiered compaction docs Signed-off-by: Alex Chi --- mini-lsm-book/src/week2-03-tiered.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mini-lsm-book/src/week2-03-tiered.md b/mini-lsm-book/src/week2-03-tiered.md index e23a9329..5add8305 100644 --- a/mini-lsm-book/src/week2-03-tiered.md +++ b/mini-lsm-book/src/week2-03-tiered.md @@ -162,14 +162,23 @@ Example 2: ``` Tier 3: 1 Tier 2: 1 ; 1 / 1 = 1 -Tier 1: 3 ; 3 / (1 + 1) = 1.5, compact tier 1-3 +Tier 1: 3 ; 3 / (1 + 1) = 1.5, compact tier 1+2+3 +``` + +``` +Tier 4: 5 ``` Example 3: ``` Tier 3: 1 -Tier 2: 2 ; 2 / 1 = 2, compact tier 1-2 +Tier 2: 2 ; 2 / 1 = 2, compact tier 2+3 +Tier 1: 4 +``` + +``` +Tier 4: 3 Tier 1: 4 ```