cybertec-postgresql / vip-manager

Manages a virtual IP based on state kept in etcd or Consul
BSD 2-Clause "Simplified" License
207 stars 41 forks source link

Questions on DCS availability #216

Closed Tiago-Anastacio closed 6 months ago

Tiago-Anastacio commented 6 months ago

Hello,

from patroni 3.1.2 release new parameter failsafe_mode was added https://patroni.readthedocs.io/en/latest/dcs_failsafe_mode.html

Previously when the whole DCS (e.g. all etcdv3 nodes) was not reachable PostgreSQL primary was demoted and no other nodes could promote a postgreSQL standby until DCS comeback.

Now if the whole patroni's nodes are ok PostgresQL primary keeps reachable.

I have three questions ;

Thank you