mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-03 16:05:28 +00:00
docs(mito2): clarify compaction admission after a pause
Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user