8 ms·
> if you accessing the DB but can't contact etcd/consul then you should stop accessing the DB because you might start doing unsafe writes. If patroni can't upd
by CyberDem0n 9y ago
> if you accessing the DB but can't contact etcd/consul then you should stop accessing the DB because you might start doing unsafe writes.
If patroni can't update leader lock in Etcd, it will restart postgres in read-only mode. No writes will happen.
> like the patroni default haproxy config doesn't even seem to kill live connections which seems kind of risky.
That's not true: https://github.com/zalando/patroni/blob/master/haproxy.cfg#L23 https://github.com/zalando/patroni/blob/master/haproxy.cfg#L...
- benmmurphy 9y agoAh. Thanks. I was looking at the template files but I guess that is not used or used for something else.