Skip to content

Commit

Permalink
fix(compaciton): fix trivial-move size
Browse files Browse the repository at this point in the history
  • Loading branch information
Li0k committed Aug 8, 2024
1 parent 8882d0f commit 4086438
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -267,8 +267,7 @@ impl IntraCompactionPicker {
continue;
}

let trivial_move_picker =
TrivialMovePicker::new(0, 0, overlap_strategy.clone(), u64::MAX);
let trivial_move_picker = TrivialMovePicker::new(0, 0, overlap_strategy.clone(), 0);

let select_sst = trivial_move_picker.pick_trivial_move_sst(
&l0.sub_levels[idx + 1].table_infos,

0 comments on commit 4086438

Please sign in to comment.