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.
This commit is contained in:
Vlad Lazar
2024-09-25 15:54:41 +01:00
committed by GitHub
parent c4f5736d5a
commit c5972389aa

View File

@@ -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;
}