From ba9b16a864bef7f351c1b68e62fd391163c6e9a4 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 (cherry picked from commit 7ed0b062826d916e7395fd8e5659989fa9f7eff3) --- 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 0a12231a3e8..85b88ac8d87 100644 --- a/src/mito2/src/engine.rs +++ b/src/mito2/src/engine.rs @@ -589,6 +589,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,