Skip to content

Commit

Permalink
fix(compactor): fix unschedule groups (#17258) (#17261)
Browse files Browse the repository at this point in the history
Co-authored-by: Li0k <[email protected]>
  • Loading branch information
github-actions[bot] and Li0k authored Jun 18, 2024
1 parent 7edcd9d commit c03b4ac
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 c03b4ac

Please sign in to comment.