TTwinhullintwinhull.hashnode.dev·5h ago · 5 min readPatroni and HAProxy: which health check to use (/primary, /replica, /leader and the rest)Originally published at https://twinhullhq.com/articles/patroni-haproxy-health-check-endpoints.html HAProxy cannot see which PostgreSQL node is the primary. It asks Patroni, over HTTP, and Patroni ans00