Skip to content

Commit

Permalink
fix min level
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <[email protected]>
  • Loading branch information
Little-Wallace committed Apr 24, 2024
1 parent 145875e commit 778f61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/hummock/compaction/selector/level_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl DynamicLevelSelectorCore {
ctx.base_level -= 1;
cur_level_size /= self.config.max_bytes_for_level_multiplier;
}
cur_level_size
std::cmp::max(cur_level_size, base_bytes_max)
};

let level_multiplier = self.config.max_bytes_for_level_multiplier as f64;
Expand Down

0 comments on commit 778f61a

Please sign in to comment.