From ddfcd97595e20c00991589e727b8530e65aa25dc Mon Sep 17 00:00:00 2001 From: Abner Zheng Date: Wed, 29 May 2024 14:20:19 +0800 Subject: [PATCH] fix --- Cargo.lock | 1 + leveled_my.log | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 leveled_my.log diff --git a/Cargo.lock b/Cargo.lock index b0995cf..cb59a9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -542,6 +542,7 @@ dependencies = [ "ouroboros", "parking_lot", "rand", + "rand_chacha", "rustyline", "serde", "serde_json", diff --git a/leveled_my.log b/leveled_my.log new file mode 100644 index 0000000..a6ab455 --- /dev/null +++ b/leveled_my.log @@ -0,0 +1,24 @@ +=== Iteration 0 === +--- After Flush --- +L0 (1): [1] +L1 (0): [] +L2 (0): [] +L3 (0): [] +L4 (0): [] +--- Compaction Task --- +no compaction triggered +--- Statistics --- +Write Amplification: 1/1=1.000x +Maximum Space Usage: 1/1=1.000x +Read Amplification: 1x + +=== Iteration 1 === +--- After Flush --- +L0 (2): [1, 2] +L1 (0): [] +L2 (0): [] +L3 (0): [] +L4 (0): [] +--- Compaction Task --- +flush L0 SST to base level 3 +Upper L0 [1.sst 626b347a..=70b1698c, 2.sst 697bce6a..=7a145c78] Lower L3 [] -> [3.sst 626b347a..=6e3fc878, 4.sst 6e3fc879..=7a145c78]