mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 07:19:54 +02:00
Add Patroni failsafe_mode parameter (#2076)
This commit adds support of a not-yet-released Patroni feature that allows postgres to run as primary in case of a failed leader lock update. * Add Patroni 'failsafe_mode' local parameter (enable for a single PG cluster) * Allow configuring Patroni 'failsafe_mode' parameter globally
This commit is contained in:
@@ -316,6 +316,9 @@ explanation of `ttl` and `loop_wait` parameters.
|
||||
|
||||
* **synchronous_node_count**
|
||||
Patroni `synchronous_node_count` parameter value. Note, this option is only available for Spilo images with Patroni 2.0+. The default is set to `1`. Optional.
|
||||
|
||||
* **failsafe_mode**
|
||||
Patroni `failsafe_mode` parameter value. If enabled, allows Patroni to cope with DCS outages and avoid leader demotion. Note, this option is currently not included in any Patroni release. The default is set to `false`. Optional.
|
||||
|
||||
## Postgres container resources
|
||||
|
||||
|
||||
Reference in New Issue
Block a user