mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
If the sibling node has already been promoted (for whatever reason, e.g. "repmgr standby promote" was executed manually) and has exited recovery, the upstream node ID will normally be reported as "-1", which is correct, but looks confusing in the logs. We now only report the upstream node ID if the sibling node is still in recovery, *or* if it has exited recovery but is still reporting an extant node ID.
142 KiB
142 KiB