Skip to content

Commit

Permalink
fix warn
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <[email protected]>
  • Loading branch information
Little-Wallace committed Mar 8, 2024
1 parent be72f48 commit 0e821b7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/meta/src/hummock/manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1062,10 +1062,8 @@ impl HummockManager {
.collect();
let is_success = if let TaskStatus::Success = compact_task.task_status() {
// if member_table_ids changes, the data of sstable may stale.
let is_expired = Self::is_compact_task_expired(
&compact_task,
branched_ssts.tree_ref(),
);
let is_expired =
Self::is_compact_task_expired(&compact_task, branched_ssts.tree_ref());
if is_expired {
compact_task.set_task_status(TaskStatus::InputOutdatedCanceled);
false
Expand Down

0 comments on commit 0e821b7

Please sign in to comment.