From 57ee6f12d1c48a0c4cc4cdc66c96bd1a4a79f200 Mon Sep 17 00:00:00 2001 From: Little-Wallace Date: Wed, 24 Apr 2024 19:10:03 +0800 Subject: [PATCH] fix format Signed-off-by: Little-Wallace --- src/meta/src/hummock/compaction/selector/level_selector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/src/hummock/compaction/selector/level_selector.rs b/src/meta/src/hummock/compaction/selector/level_selector.rs index f390a80b5f9aa..8ef64772f28eb 100644 --- a/src/meta/src/hummock/compaction/selector/level_selector.rs +++ b/src/meta/src/hummock/compaction/selector/level_selector.rs @@ -184,7 +184,7 @@ impl DynamicLevelSelectorCore { ctx.base_level -= 1; cur_level_size /= self.config.max_bytes_for_level_multiplier; } - std::cmp::max(cur_level_size, base_bytes_max) + cur_level_size }; let level_multiplier = self.config.max_bytes_for_level_multiplier as f64;