Hacker News new | past | comments | ask | show | jobs | submit login

> 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#L...




Ah. Thanks. I was looking at the template files but I guess that is not used or used for something else.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: