PostgreSQL with Patroni not replicating to all nodes after adding 3rd node (another secondary)

2022-06-22 Thread Zb B
Hi, I am new to Patroni and PostgreSQL.We have set up a cluster with etcd (3 nodes), Patroni (2 nodes) and PostgreSQL (2 nodes) with replication from primary to secondary.In SYNC mode. Seemed to work fine. Then I added a third DB node without Patroni - just to replicate the data from the primary

Re: Replication with Patroni not working after killing secondary and starting again

2022-05-06 Thread Zb B
> Does https://patroni.readthedocs.io/en/latest/replication_modes.html help? Thanks. I have found the same meanwhile. The effects I experienced were caused by the fact that Patroni configures async replication by default. After changing it to sync everything worked as expected

Re: Replication with Patroni not working after killing secondary and starting again

2022-05-04 Thread Zb B
ary became the same - the same as it was on the old secondary) Apparently there is something wrong with my cluster. How to debug i?. Do I need to configure anything so the replication is synchronous? pt., 29 kwi 2022 o 22:33 Peter J. Holzer napisaƂ(a): > On 2022-04-28 11:09:12 +0200, Zb B

Re: Replication with Patroni not working after killing secondary and starting again

2022-04-28 Thread Zb B
> When the secondary starts up it should continue replicating from where > it stopped. However, it can only do this if the necessary information is > still available. If WAL files have been deleted in the mean time. it > can't replay them. There should be error messages in your logs on what > went

Replication with Patroni not working after killing secondary and starting again

2022-04-27 Thread Zb B
Hi, I am new to Patroni and PostgreSQL.We have set up a cluster with etcd (3 nodes), Patroni (2 nodes) and PostgreSQL (2 nodes) with replication from primary to secondary. Seemed to be working fine and we started some tests. One of the tests gave us unsatisfactory results. Specifically when we