
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
Openstack-Helm-Infra
Mission
The goal of OpenStack-Helm-Infra is to provide charts for services or integration of third-party solutions that are required to run OpenStack-Helm.
For more information, please refer to the OpenStack-Helm repository.
Communication
- Join us on Slack - #openstack-helm
- Join us on IRC: #openstack-helm on freenode
- Community IRC Meetings: [Every Tuesday @ 3PM UTC], #openstack-meeting-4 on freenode
- Meeting Agenda Items: Agenda
Launchpad
Bugs and blueprints are tracked via OpenStack-Helm's Launchpad. Any bugs or blueprints filed in the OpenStack-Helm-Infra Launchpad will be closed and requests will be made to file them in the appropriate location.
Description
Languages
Smarty
82.3%
Shell
16%
Python
1.3%
Jinja
0.2%
Makefile
0.2%