From 231ef5563e715290ab27cee91f4aa50a92a58d9e 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 2852f9d0..6f66996d 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -3488,8 +3488,7 @@ x */ 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);