Skip to content

Commit

Permalink
fix(compactor): fix unschedule groups (#17258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k committed Jun 14, 2024
1 parent b67ea03 commit 3d2d084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/hummock/manager/compaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down

0 comments on commit 3d2d084

Please sign in to comment.