mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
@@ -708,13 +708,6 @@ impl LayerMap {
|
||||
layer.dump(verbose, ctx)?;
|
||||
}
|
||||
|
||||
println!("tiered compaction:");
|
||||
|
||||
println!("l0_deltas:");
|
||||
for layer in &self.l0_delta_layers {
|
||||
layer.dump(verbose, ctx)?;
|
||||
}
|
||||
|
||||
println!("sorted_runs:");
|
||||
for (lvl, (tier_id, layer)) in self.sorted_runs.runs.iter().enumerate() {
|
||||
println!("tier {}", tier_id);
|
||||
|
||||
@@ -3792,7 +3792,7 @@ impl Timeline {
|
||||
let threshold = 8;
|
||||
assert!(threshold >= 2);
|
||||
|
||||
info!("getting tiered compaction task");
|
||||
info!("getting tiered compaction task, before compaction:");
|
||||
|
||||
layers.dump(false, ctx)?;
|
||||
|
||||
@@ -4078,7 +4078,6 @@ impl Timeline {
|
||||
.compact_tiered_phase1(layer_removal_cs.clone(), target_file_size, ctx)
|
||||
.await? else { return Ok(()); };
|
||||
|
||||
println!("new_layers: {:?}", new_layers);
|
||||
println!("new_tier_at: {:?}", new_tier_at);
|
||||
println!("removed_tiers: {:?}", removed_tiers);
|
||||
|
||||
@@ -4162,6 +4161,10 @@ impl Timeline {
|
||||
updates.sorted_runs().runs = new_sorted_runs;
|
||||
|
||||
updates.flush();
|
||||
|
||||
println!("after compaction:");
|
||||
layers.dump(false, ctx)?;
|
||||
|
||||
drop_wlock(guard);
|
||||
|
||||
// Also schedule the deletions in remote storage
|
||||
|
||||
Reference in New Issue
Block a user