Files
patroni/extras
jamessewellandAlexander Kukushkin 208c7abaab Update the startup script timeouts (#399)
* Update the startup script shutdown / startup timeout to allow the current sync node time to release the role in synchronous_mode.

Without this change Patroni will be killed while waiting, and will leave
PostgreSQL up rather than stopping it.

* Updates to support strict sync mode.

If synchronous_mode_strict==true then 'patroni_dummy_host' will be written as synchronous_standby_names
when that last replication host dies.

* Oops, mixed two pull requests - backing out one
2017-04-27 14:30:54 +02:00
..
2016-06-17 11:51:05 +02:00
2016-06-17 11:51:05 +02:00

confd

confd directory contains haproxy template files for the confd -- lightweight configuration management tool You need to copy content of confd directory into /etcd/confd and run confd service:

$ confd -prefix=/service/$PATRONI_SCOPE -backend etcd -node $PATRONI_ETCD_HOST -interval=10

It will periodically update haproxy.cfg with the actual list of Patroni nodes from etcd and "reload" haproxy when it is necessary.

startup-scripts

startup-scripts directory contains startup scripts for various OSes and management tools for Patroni.