skyzh / mini-lsm

A tutorial of building an LSM-Tree storage engine in a week!
https://skyzh.github.io/mini-lsm/
Apache License 2.0
2.74k stars 371 forks source link

[Bug] compaction-simulator-ref leveled display bug #90

Open jiangwel opened 1 month ago

jiangwel commented 1 month ago

image The SST IDs inserted in the compression plan for L4 should be the cumulative result of 1 and 2, which are 3 and 4. However, after compression, the displayed SST IDs remain as the original 1 and 2.

skyzh commented 1 month ago

yes, but there are two modes for the compaction simulator, the show original ID mode, and the show new ID mode? you may tweak the cli parameters to get your desired result :)