mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
puppet: Use the correct Postgres archive command
I hadn't changed it previously out of paranoia in the case we had a faulty failover and had two masters both uploading to the same place. However, I now don't think this can happen, as recovery completion will cause Postgres to start a new timeline. (imported from commit d58f1aa306eff4f6fd950664ff658539c1249bdf)
This commit is contained in:
@@ -590,7 +590,7 @@ log_autovacuum_min_duration = 100
|
||||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = 'cp -f %p /var/lib/postgresql/9.1/main/archive/%f </dev/null'
|
||||
archive_command = '/usr/local/bin/env-wal-e wal-push %p'
|
||||
|
||||
# Standby replication settings (ignored on master)
|
||||
hot_standby = on
|
||||
|
||||
@@ -586,7 +586,7 @@ log_autovacuum_min_duration = 100
|
||||
wal_level = hot_standby
|
||||
max_wal_senders = 2
|
||||
archive_mode = on
|
||||
archive_command = 'cp -f %p /var/lib/postgresql/9.1/main/archive/%f </dev/null'
|
||||
archive_command = '/usr/local/bin/env-wal-e wal-push %p'
|
||||
|
||||
# Standby replication settings (ignored on master)
|
||||
hot_standby = on
|
||||
|
||||
Reference in New Issue
Block a user