repmgrd: ensure witness node marked active

Previously, if the witness node's PostgreSQL was unreachable, it would
be marked as "inactive" on the primary, and under some circumstances
would not be corrected to "active" once the witness node's PostgreSQL
came back.

PR #754; some modifications by Ian Barwick.
This commit is contained in:
zhouhj43183
2022-05-11 13:35:29 +09:00
committed by Ian Barwick
parent 65d796ee3e
commit 207057a159
3 changed files with 20 additions and 0 deletions

View File

@@ -46,6 +46,13 @@
for all databases in the cluster, ignore the cluster size query if it fails.
</para>
</listitem>
<listitem>
<para>
&repmgrd;: ensure the witness node record on the primary is always marked
as <literal>active</literal> if previously marked <literal>inactive</literal>.
GitHub #754.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>