From fbdd72d7f307530e279ba7fd261aff1c1f24f8a3 Mon Sep 17 00:00:00 2001 From: Abubakar Mohammed Date: Fri, 13 Jan 2023 10:43:59 -0500 Subject: [PATCH] Fix faq.rst page where a field that is no longer populated is being referenced. - `pg_autoctl show state` command always shows the "Reachable" field as unknown, so we shouldn't reference it in the faq page. But we should use the "Health" field instead. --- docs/faq.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index e870153b7..06bc03b35 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -34,13 +34,13 @@ monitor to be able to orchestrate nodes integration completely: monitor to the registered Postgres nodes, and use the ``hostname`` and ``port`` as registered. - The ``pg_autoctl show state`` commands column *Reachable* contains - "yes" when the monitor could connect to a specific node, "no" when this - connection failed, and "unknown" when no connection has been attempted + The ``pg_autoctl show state`` commands column *Health* contains + "1" when the monitor could connect to a specific node, "0" when this + connection failed, and "-1" when no connection has been attempted yet, since the last startup time of the monitor. - The *Reachable* column from ``pg_autoctl show state`` command output - must show a "yes" entry before a new standby node can be orchestrated + The *Health* column from ``pg_autoctl show state`` command output + must show a "1" entry before a new standby node can be orchestrated up to the "secondary" goal state. 2. pg_autoctl service must be running