postgres-operator/pkg/cluster
Polina Bungina 4d585250db
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
2022-12-02 13:33:02 +01:00
..
cluster.go skip db sync on failed initUsers during UPDATE (#2083) 2022-10-21 17:50:14 +02:00
cluster_test.go skip db sync on failed initUsers during UPDATE (#2083) 2022-10-21 17:50:14 +02:00
connection_pooler.go skip db sync on failed initUsers during UPDATE (#2083) 2022-10-21 17:50:14 +02:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go allow in place pw rotation of system users (#1953) 2022-08-18 14:14:31 +02:00
database.go first sync wal_level then publications (#2109) 2022-11-28 16:37:34 +01:00
exec.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Add Patroni failsafe_mode parameter (#2076) 2022-12-02 13:33:02 +01:00
k8sres_test.go Add Patroni failsafe_mode parameter (#2076) 2022-12-02 13:33:02 +01:00
majorversionupgrade.go Fix upgrade command (#2075) 2022-10-17 17:36:02 +02:00
pod.go rework map selection in updateSecret (#2010) 2022-08-24 17:33:39 +02:00
pod_test.go add new parameter for Patroni API (PatroniAPICheckInterval, PatroniAPICheckTimeout) (#1803) 2022-03-15 11:34:09 +01:00
resources.go delete secret resource from map (#2123) 2022-12-02 10:09:19 +01:00
streams.go first sync wal_level then publications (#2109) 2022-11-28 16:37:34 +01:00
streams_test.go fetch pooler and fes_user system user only when corresponding features are used (#2009) 2022-08-24 16:28:49 +02:00
sync.go Add Patroni failsafe_mode parameter (#2076) 2022-12-02 13:33:02 +01:00
sync_test.go Add Patroni failsafe_mode parameter (#2076) 2022-12-02 13:33:02 +01:00
types.go switch to policy API v1 for PDBs (#2008) 2022-10-06 09:43:17 +02:00
util.go switch to policy API v1 for PDBs (#2008) 2022-10-06 09:43:17 +02:00
util_test.go switch to policy API v1 for PDBs (#2008) 2022-10-06 09:43:17 +02:00
volumes.go do not call EBS api when there are no pvs (#1851) 2022-04-20 12:12:02 +02:00
volumes_test.go do not call EBS api when there are no pvs (#1851) 2022-04-20 12:12:02 +02:00