openstack-helm-infra/postgresql
Aaser, Douglas (da519m) 4a730bb34b Postgres PVC Soak Fix
This patch fixes an issue with Postgres HA where
the PVC which stores the database was filling up with
WAL records and not deleting them due to some
misconfigurations with Postgres. Once the PVC
would fill up, replication would fail across the node
and the database would not be able to start, crashing
the system.

Specifically, archive_mode was turned on, but was not
supplied with a function through which to archive the
logs. When WAL archiving is turned on, old WAL files
cannot be removed until the system has archived them first.
However, since we never told the system how to archive the
files, it would repeatedly fail so the WAL files would
never be cleaned up.

Also in this patch are some small house keeping items:
- Lowered the wal_keep_segments drastically so Postgres
  can't keep as many WAL segments around to minimize the
  chance of PVC fill issues
- Turned the wal_level from 'logical' to 'hot_standby'
  to keep it consistent with the fact that Patroni uses
  streaming replication and not logical replication
- Removed the autovaccuum configurations as they are not
  needed

Change-Id: Id48c3ee9976823b2bdb4395a029fe75476bdaa62
2019-07-02 17:32:46 +00:00
..
templates (postgresql) Support update strategy snippet 2019-06-20 13:15:53 +00:00
.helmignore Postgresql: Move chart to openstack-helm-infra 2018-09-09 10:20:08 -06:00
Chart.yaml Replace git.openstack.org URLs with opendev.org URLs 2019-05-31 01:52:10 +00:00
requirements.yaml Postgresql: Move chart to openstack-helm-infra 2018-09-09 10:20:08 -06:00
values.yaml Postgres PVC Soak Fix 2019-07-02 17:32:46 +00:00