risingwave icon indicating copy to clipboard operation
risingwave copied to clipboard

feat(storage): Deterministic Compaction Test Tool

Open StrikeW opened this issue 2 years ago • 0 comments

For the purpose of testing the correctness of compaction logic, we need a tool that can test compactions in a deterministic way. Firstly, we will ingest enough data into RisingWave cluster to generate L0 SSTs (with compaction disabled). Then we use the test tool to reset the hummock version and replay version deltas to simulate data ingestion. During the replay process, the test tool will trigger compactions and check data correctness before and after compactions.

StrikeW avatar Sep 21 '22 03:09 StrikeW