From ce15c62f35d82260d36c574eb1aa10fd378bb8dd Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Wed, 10 Nov 2021 00:24:41 +0300 Subject: [PATCH] Fix 'send WAL up to' debug logging. --- walkeeper/src/replication.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/walkeeper/src/replication.rs b/walkeeper/src/replication.rs index caf4b4ef6a..29709668c9 100644 --- a/walkeeper/src/replication.rs +++ b/walkeeper/src/replication.rs @@ -259,7 +259,7 @@ impl ReplicationConn { start_pos += send_size as u64; - debug!("sent WAL up to {}", end_pos); + debug!("sent WAL up to {}", start_pos); // Decide whether to reuse this file. If we don't set wal_file here // a new file will be opened next time.