Skip to content

Commit

Permalink
fix space reclaim miss
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
  • Loading branch information
Little-Wallace committed Jun 16, 2023
1 parent 2e5a907 commit e77b76b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/meta/src/hummock/compaction_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,10 @@ where
// Wait for a compactor to become available.
let compactor = match self.hummock_manager.get_idle_compactor().await {
Some(compactor) => compactor,
None => return false,
None => {
let _ = sched_channel.try_sched_compaction(compaction_group, task_type);
return false;
}
};
let selector = compaction_selectors.get_mut(&task_type).unwrap();
self.pick_and_assign(compaction_group, compactor, sched_channel, selector)
Expand Down

0 comments on commit e77b76b

Please sign in to comment.