postgres-operator/pkg/cluster
Dmitrii Dolgov bfe9224f44 Adjust per pool by number of pools
default_pool_size, min_pool_size, reserve_pool_size are per pool values,
that's it per (database, user) pair. Which means it's wrong to calculate
them based on the global maxDBConn, otherwise for the cases when there
are too many users it would result in the configuration conflicting
between maxDBConn and min_pool_size. Adjust those values by the number
of known pools.

This not necessarily a perfect solution, because load could be
distributed between databases & users unevenly in which case some of
those parameters will cause rarely used pools being of the same size as
the active ones.
2021-06-09 10:53:40 +02:00
..
cluster.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
cluster_test.go delete secrets of system users too (#974) 2020-05-14 11:34:02 +02:00
connection_pooler.go Adjust per pool by number of pools 2021-06-09 10:53:40 +02:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go Use fake client for connection pooler (#1301) 2021-01-19 17:40:20 +01:00
database.go Rename roles that are removed from PostgresTeam CRD (#1457) 2021-05-21 15:49:39 +02: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 pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
k8sres_test.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
majorversionupgrade.go Fix go lint errors (#1468) 2021-05-10 11:48:03 +02:00
pod.go Improve rolling upgrades and rolling upgrade continue (#1341) 2021-02-26 15:38:58 +01:00
resources.go replace statefulset on annotation diff (#1449) 2021-04-22 11:22:52 +02:00
sync.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
sync_test.go replace statefulset on annotation diff (#1449) 2021-04-22 11:22:52 +02:00
types.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
util.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
util_test.go Truncate cronjob name at 52 characters (#1208) 2021-02-15 17:00:21 +01:00
volumes.go Fix go lint errors (#1468) 2021-05-10 11:48:03 +02:00
volumes_test.go Fix go lint errors (#1468) 2021-05-10 11:48:03 +02:00