Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d90e2b

Browse files
author
Amit Kapila
committed
Doc: Fix the ambiguity in the description of failover slots.
The failover slots ensure a seamless transition of a subscriber after the standby is promoted. But the docs for it also explain the behavior of asynchronous replication which can confuse the readers. Reported-by: Masahiro Ikeda Backpatch-through: 17 Discussion: https://postgr.es/m/OS3PR01MB6390B660F4198BB9745E0526B18B2@OS3PR01MB6390.jpnprd01.prod.outlook.com
1 parent 6654bb9 commit 9d90e2b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

doc/src/sgml/logical-replication.sgml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,7 @@ ALTER SUBSCRIPTION
701701
<link linkend="sql-createsubscription-params-with-failover"><literal>failover</literal></link>
702702
parameter ensures a seamless transition of those subscriptions after the
703703
standby is promoted. They can continue subscribing to publications on the
704-
new primary server without losing data. Note that in the case of
705-
asynchronous replication, there remains a risk of data loss for transactions
706-
committed on the former primary server but have yet to be replicated to the new
707-
primary server.
704+
new primary server.
708705
</para>
709706

710707
<para>
@@ -791,7 +788,7 @@ test_standby=# SELECT slot_name, (synced AND NOT temporary AND NOT conflicting)
791788
If all the slots are present on the standby server and the result
792789
(<literal>failover_ready</literal>) of the above SQL query is true, then
793790
existing subscriptions can continue subscribing to publications now on the
794-
new primary server without losing data.
791+
new primary server.
795792
</para>
796793

797794
</sect1>

0 commit comments

Comments
 (0)