vitabaks / postgresql_cluster

PostgreSQL High-Availability Cluster (based on Patroni). Automating with Ansible.
https://postgresql-cluster.org
MIT License
1.69k stars 411 forks source link

Patroni health check endpoint `/master` is undocumented / deprecated #381

Closed olwe0002 closed 1 year ago

olwe0002 commented 1 year ago

haproxy currently uses patroni endpoint /master to determine which node is the read-write endpoint to balance to.

in the current docs of patroni I can't find this endpoint, I guess it was replaced by read-write or primary (NOT by leader, as this is also responding on standby_leader nodes) and should be updated?

vitabaks commented 1 year ago

Yes it needs to be updated. I will make edits in the near future.

vitabaks commented 1 year ago

PR https://github.com/vitabaks/postgresql_cluster/pull/400