From: | <Masahiro(dot)Ikeda(at)nttdata(dot)com> |
---|---|
To: | <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Cc: | <Masao(dot)Fujii(at)nttdata(dot)com> |
Subject: | Doc: fix the note related to the GUC "synchronized_standby_slots" |
Date: | 2024-08-26 07:59:51 |
Message-ID: | OS3PR01MB6390B660F4198BB9745E0526B18B2@OS3PR01MB6390.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
When I read the following documentation related to the "synchronized_standby_slots", I misunderstood that data loss would not occur in the case of synchronous physical replication. However, this is incorrect (see reproduce.txt).
> Note that in the case of asynchronous replication, there remains a risk of data loss for transactions committed on the former primary server but have yet to be replicated to the new primary server.
https://www.postgresql.org/docs/17/logical-replication-failover.html
Am I missing something? IIUC, could you change the documentation as suggested in the attached patch? I also believe it would be better to move the sentence to the next paragraph because the note is related to "synchronized_standby_slots.".
Regards,
--
Masahiro Ikeda
NTT DATA CORPORATION
Attachment | Content-Type | Size |
---|---|---|
v1-0001-fix-documentation-related-to-synchronized_standby.patch | application/octet-stream | 2.1 KB |
reproduce.txt | text/plain | 1.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2024-08-26 08:18:10 | Re: [PoC] Federated Authn/z with OAUTHBEARER |
Previous Message | Daniel Gustafsson | 2024-08-26 07:58:00 | Re: how to log into commitfest.postgresql.org and begin review patch |