From 834f3a5f665465b6e49f8bfb48b43e72b42bee81 Mon Sep 17 00:00:00 2001 From: Li0k Date: Fri, 14 Jun 2024 14:59:27 +0800 Subject: [PATCH] fix(compactor): fix unschedule groups --- 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) =