From ff39dae46ec55a3c16f10b569a496d49620e14aa Mon Sep 17 00:00:00 2001 From: Little-Wallace Date: Fri, 8 Mar 2024 20:38:18 +0800 Subject: [PATCH] fix unschedule group Signed-off-by: Little-Wallace --- src/meta/src/hummock/manager/compaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/src/hummock/manager/compaction.rs b/src/meta/src/hummock/manager/compaction.rs index 599e7ec361592..fe4e7c73467e6 100644 --- a/src/meta/src/hummock/manager/compaction.rs +++ b/src/meta/src/hummock/manager/compaction.rs @@ -176,7 +176,7 @@ impl HummockManager { } }; } - if generated_task_count < pull_task_count && meet_error { + if generated_task_count < pull_task_count && !meet_error { // no compact_task to be picked for group in groups { self.compaction_state.unschedule(group, task_type);