Skip to content

Commit

Permalink
storcon: include timeline ID in LSN waiting logs (#9141)
Browse files Browse the repository at this point in the history
## Problem
Hard to tell which timeline is holding the migration.

## Summary of Changes
Add timeline id to log.
  • Loading branch information
VladLazar authored Sep 25, 2024
1 parent c4f5736 commit c597238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage_controller/src/reconciler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

1 comment on commit c597238

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2785 tests run: 2686 passed, 0 failed, 99 skipped (full report)


Flaky tests (3)

Postgres 17

Test coverage report is not available

The comment gets automatically updated with the latest test results
c597238 at 2024-09-25T15:42:43.154Z :recycle:

Please sign in to comment.