mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-04 14:00:38 +00:00
@@ -3867,8 +3867,8 @@ impl Timeline {
|
||||
let (_, last_tier_size) = *tier_sizes.last().unwrap();
|
||||
let estimated_space_amp = (total_tier_size - last_tier_size) as f64 / last_tier_size as f64;
|
||||
if estimated_space_amp > space_amplification_ratio {
|
||||
if !tier_sizes.is_empty() {
|
||||
info!("full compaction cannot be triggered as some layers are being compacted");
|
||||
if !skip_tiers.is_empty() {
|
||||
info!("full compaction cannot be triggered as some layers are being compacted: {:?}", skip_tiers);
|
||||
} else {
|
||||
info!("full compaction triggered by space amplification");
|
||||
let tiers = tier_sizes
|
||||
|
||||
Reference in New Issue
Block a user