From c03b4ac6c0fd5690608f68ab96da14e7f362f85c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 14:52:23 +0800 Subject: [PATCH] fix(compactor): fix unschedule groups (#17258) (#17261) Co-authored-by: Li0k --- 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) =