From 3d2d084084d7990c8740936dd5806401c77e683b Mon Sep 17 00:00:00 2001 From: Li0k Date: Fri, 14 Jun 2024 15:31:48 +0800 Subject: [PATCH] fix(compactor): fix unschedule groups (#17258) --- 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 e17bfbf3b2647..4944cacdd7685 100644 --- a/src/meta/src/hummock/manager/compaction.rs +++ b/src/meta/src/hummock/manager/compaction.rs @@ -155,11 +155,11 @@ impl HummockManager { match compact_ret { Ok((compact_tasks, unschedule_groups)) => { + no_task_groups.extend(unschedule_groups); if compact_tasks.is_empty() { break; } generated_task_count += compact_tasks.len(); - no_task_groups.extend(unschedule_groups); for task in compact_tasks { let task_id = task.task_id; if let Err(e) =