From bc9e725d05a59e4f05cd1e06046a38561d6f1f99 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 13 Feb 2019 15:16:40 +0900 Subject: [PATCH] node rejoin: always emit detail about relative LSNs Previously repmgr only emitted that if there was a timeline/LSN mismatch, but it's useful to have confirmation of how it came to the conclusion that rejoin will succeed. --- repmgr-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-client.c b/repmgr-client.c index 8d1f813c..814dcdea 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -3414,7 +3414,7 @@ check_node_can_attach(TimeLineID local_tli, XLogRecPtr local_xlogpos, PGconn *fo } } - if (success == true && runtime_options.dry_run == true) + if (success == true) { if (is_rejoin == false || (is_rejoin == true && runtime_options.force_rewind_used == false)) {