From 7ed0b062826d916e7395fd8e5659989fa9f7eff3 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Fri, 20 Nov 2026 03:24:29 +0000 Subject: [PATCH] docs(mito2): clarify compaction admission after a pause Signed-off-by: WenyXu --- src/mito2/src/engine.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mito2/src/engine.rs b/src/mito2/src/engine.rs index c31664ee2ea..6010fb541c5 100644 --- a/src/mito2/src/engine.rs +++ b/src/mito2/src/engine.rs @@ -558,6 +558,8 @@ impl MitoEngine { /// Pauses compaction on a loaded region and waits for any active cycle to finish. /// Writes and flushes continue while the caller holds the guard. + /// The scheduler discards automatic follow-ups skipped during the pause. After the + /// last guard is dropped, a fresh trigger can start another compaction cycle. pub async fn pause_compaction( &self, region_id: RegionId,