From 33894911513d3678f7671016887d509f9365600b Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 9 Jan 2019 09:41:59 +0900 Subject: [PATCH] Misc comment and log output corrections --- repmgr-action-standby.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index f0187d14..85980fb7 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -2261,7 +2261,7 @@ do_standby_follow(void) */ else { - log_notice(_("attempting find to follow current primary")); + log_notice(_("attempting to find and follow current primary")); } /* @@ -2274,7 +2274,6 @@ do_standby_follow(void) * XXX add `upstream_follow_timeout` ? */ - for (timer = 0; timer < config_file_options.primary_follow_timeout; timer++) { /* --upstream-node-id provided - connect to specified node*/ @@ -2416,7 +2415,10 @@ do_standby_follow(void) termPQExpBuffer(&node_info_msg); } - /* if replication slots in use, check at least one free slot is available */ + /* + * if replication slots in use, check at least one free slot is available + * on the follow target + */ if (config_file_options.use_replication_slots) {