On 2023-12-01 16:01, Michael Paquier wrote:
On Fri, Dec 01, 2023 at 11:54:14AM +0900, Shinya Kato wrote:
     later disconnected, the standby goes back to step 1 and tries to
restore the file from the archive again. This loop of retries from the archive, <filename>pg_wal</filename>, and via streaming replication goes on until the server
-    is stopped or failover is triggered by a trigger file.
+    is stopped.

Just removing this information looks incorrect to me, because a
promotion would cause the retries to stop the WAL lookups.  Shouldn't
the last part of this sentence be reworded as of a "or is promoted"?

Thanks for the review.
Yes, that's true. A new patch is attached.

--
Regards,
Shinya Kato
NTT DATA GROUP CORPORATION
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index eb81260bbf..9dd52ff275 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -648,7 +648,7 @@ protocol to make nodes agree on a serializable transactional order.
     later disconnected, the standby goes back to step 1 and tries to
     restore the file from the archive again. This loop of retries from the
     archive, <filename>pg_wal</filename>, and via streaming replication goes on until the server
-    is stopped or failover is triggered by a trigger file.
+    is stopped or is promoted.
    </para>
 
    <para>

Reply via email to