From 28475c660ff9e70e0d88c3db85772d9403256abd Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Thu, 1 Feb 2024 09:46:50 +0200 Subject: [PATCH] Trace received standby_horizon updates --- .../src/tenant/timeline/walreceiver/connection_manager.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pageserver/src/tenant/timeline/walreceiver/connection_manager.rs b/pageserver/src/tenant/timeline/walreceiver/connection_manager.rs index 10aaca9b76..53184f50c9 100644 --- a/pageserver/src/tenant/timeline/walreceiver/connection_manager.rs +++ b/pageserver/src/tenant/timeline/walreceiver/connection_manager.rs @@ -553,6 +553,10 @@ impl ConnectionManagerState { fn register_timeline_update(&mut self, timeline_update: SafekeeperTimelineInfo) { WALRECEIVER_BROKER_UPDATES.inc(); + info!( + "Safekeeper info update: standby_horizon(cutoff)={}", + timeline_update.standby_horizon + ); if timeline_update.standby_horizon != 0 { // ignore reports from safekeepers mnot connected to replicas self.timeline