fix(mito2): suppress empty compaction skip logs (#8667)

Signed-off-by: Lei, HUANG <ratuthomm@gmail.com>
This commit is contained in:
Lei, HUANG
2026-07-28 13:41:08 +00:00
committed by GitHub
parent 4acd2340c7
commit b1e0da9578
+9 -7
View File
@@ -79,13 +79,15 @@ impl TwcsPicker {
.into_iter()
.partition(|fg| fg.size() <= max_size as usize);
files_to_merge = kept_files;
info!(
"Skipped {} large files in append mode for region {}, window {}, max_size: {}",
ignored_files.len(),
region_id,
window,
max_size
);
if !ignored_files.is_empty() {
info!(
"Skipped {} large files in append mode for region {}, window {}, max_size: {}",
ignored_files.len(),
region_id,
window,
max_size
);
}
}
let sorted_runs = if files_to_merge.len() < 1024 {