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 authored Jun 14, 2024
1 parent 39e79db commit 74ca765
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 @@ -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) =
Expand Down

0 comments on commit 74ca765

Please sign in to comment.