mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
* test(fuzz): materialise before a repartition merge Since #10646 a merge is refused while a participant still holds an SST stamped by another region, which is exactly what a split hands its children. The three repartition fuzz targets merge right after splitting, so the statement failed and the target panicked on every run. Compact with the strict-window mode before issuing a merge: it rewrites even a lone inherited file under the region's own expression, which is what the refusal asks for. Splits keep running without a compaction, and a failed statement still panics. Signed-off-by: discord9 <discord9@163.com> * docs(fuzz): trim the pre-merge comments to the reason The three blocks said the same thing at length; the commit message and the PR carry the full rationale, the code only needs why the compaction is there and why it precedes the chaos injection. Signed-off-by: discord9 <discord9@163.com> * test(fuzz): share the strict-window compaction, drop it from chaos Review: the chaos target creates a fresh table, inserts and runs a single repartition, so no split precedes the merge and nothing can hold a foreign SST; the compaction only costs time there. The other two targets now call one helper in utils next to the existing compact_table instead of repeating the statement and its error context. Signed-off-by: discord9 <discord9@163.com> --------- Signed-off-by: discord9 <discord9@163.com>