patroni
https://github.com/zalando/patroni
Python
A template for PostgreSQL High Availability with Etcd, Consul, ZooKeeper, or Kubernetes
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to patroni
Help out
- Issues
- Implement site-aware failover and manual switchover
- Replica stuck without primary_conninfo after transient DCS outage — "no action, following a leader" but no WAL receiver
- fix: check failsafe mode when update_lock() returns False (K8s DCS)
- Prevent unclean shutdown when postmaster hangs during restart
- docs: give advice on ttl when using failsafe_mode
- Stream pg_rewind and pg_basebackup output to logs while running
- synchronous_standby DCS key not updated immediately on pg_stat_replication change — eventual consistency gap causes permanent leaderless state
- REST API restart does not apply primary_stop_timeout when stopping a primary
- Implement metrics collector infrastructure
- docs: clarify synchronous replication failover scenario
- Docs
- Python not yet supported