Primary site specific PG config
Primary site specific PG config
We have the following configurations that are specific to the Geo primary site:
postgresql['max_replication_slots'] = 1
postgresql['max_wal_senders'] = 10
postgresql['wal_keep_segments'] = 10
gitlab_rails['auto_migrate'] = true
The configurations are not required for secondary sites.
Questions
- Where do we store this configuration?
- When a secondary site is promoted, the
gitlab.rb
file does not contain these settings since the secondaries do not require this configuration. - What happens to these values when the secondary site is promoted to primary?
- What happens to these settings when
gitlab-ctl reconfigure
is run on a promoted site since they do not exist in thegitlab.rb
file? - How does a user find out what the current settings are after a promoted site?
Edited by Sampath Ranasinghe