From b292ac61f8c65787edcfa49abbf37abc21cba368 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 29 Mar 2018 23:41:59 +0900 Subject: [PATCH] "standby switchover": update hint --- repmgr-action-standby.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index 0e7239f6..9ec415e6 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -3585,8 +3585,7 @@ do_standby_switchover(void) if (runtime_options.force_rewind == false) { log_error(_("new primary diverges from former primary and --force-rewind not provided")); - /* TODO: "repmgr node rejoin" example, when available */ - log_hint(_("the former primary will need to be restored manually")); + log_hint(_("the former primary will need to be restored manually, or use \"repmgr node rejoin\"")); termPQExpBuffer(&node_rejoin_options); PQfinish(local_conn); exit(ERR_SWITCHOVER_FAIL);