Consul is DCS for patroni. If consul cluster is completely down, then patroni is unaware of state of cluster. And "In above case if consul down , db master node going down, replica nodes remains recovery mode" is expected. Actually this behave protects database from split brain
> On Dec 19, 2023, at 7:12 AM, Rambabu V <ram.wissen@gmail.com> wrote: > > Hi Team, > > We have implemented postgresql HA with Patroni + Consul cluster on Docker based PostgreSQL Setup. > > We are seeing the issue below. > > our consul cluster built with 3 nodes, if consul cluster completely down, Patroni triggering failover. > Is there any option to prevent this failure even if the consul cluster is down also? > > and also any effective alternative for HA for docker based PostgreSQL setup?
How do you expect to have working HA without working networking?