From c5972389aafe51ea77b958f1d192d103d9ff7e6b Mon Sep 17 00:00:00 2001 From: Vlad Lazar Date: Wed, 25 Sep 2024 15:54:41 +0100 Subject: [PATCH] storcon: include timeline ID in LSN waiting logs (#9141) ## Problem Hard to tell which timeline is holding the migration. ## Summary of Changes Add timeline id to log. --- storage_controller/src/reconciler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage_controller/src/reconciler.rs b/storage_controller/src/reconciler.rs index 93b1c80566..2c42da4043 100644 --- a/storage_controller/src/reconciler.rs +++ b/storage_controller/src/reconciler.rs @@ -463,7 +463,7 @@ impl Reconciler { for (timeline_id, baseline_lsn) in &baseline { match latest.get(timeline_id) { Some(latest_lsn) => { - tracing::info!("🕑 LSN origin {baseline_lsn} vs destination {latest_lsn}"); + tracing::info!(timeline_id = %timeline_id, "🕑 LSN origin {baseline_lsn} vs destination {latest_lsn}"); if latest_lsn < baseline_lsn { any_behind = true; }