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.
This commit is contained in:
Ian Barwick
2019-02-13 15:16:40 +09:00
parent 905e108f8f
commit bc9e725d05

View File

@@ -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))
{