Place an info span into gc loop step

This commit is contained in:
Kirill Bulatov
2022-04-01 23:23:13 +03:00
committed by Kirill Bulatov
parent 9e5423c867
commit 4c9447589a

View File

@@ -630,6 +630,8 @@ impl LayeredRepository {
horizon: u64,
checkpoint_before_gc: bool,
) -> Result<GcResult> {
let _span_guard =
info_span!("gc iteration", tenant = %self.tenantid, timeline = ?target_timelineid);
let mut totals: GcResult = Default::default();
let now = Instant::now();