From 74ca765c213362c1ef889252ff0f750bd0d5e1f9 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 7138586f3ed20..e406292edef2f 100644 --- a/src/meta/src/hummock/manager/compaction.rs +++ b/src/meta/src/hummock/manager/compaction.rs @@ -310,11 +310,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) =