mirror of https://github.com/zulip/zulip.git
puppet: Postgres replication should always switch to latest timeline.
Omission of this setting makes resuming after a primary switchover difficult-to-impossible. It is the default in PostgreSQL 12.
This commit is contained in:
parent
f8fc3a16eb
commit
bff3b540b1
|
@ -701,6 +701,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
|
@ -701,6 +701,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
|
@ -701,6 +701,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
|
@ -795,6 +795,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
|
@ -673,6 +673,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
|
@ -686,6 +686,7 @@ archive_mode = on
|
||||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||||
|
|
||||||
# Replica settings (ignored on primary)
|
# Replica settings (ignored on primary)
|
||||||
|
recovery_target_timeline = 'latest'
|
||||||
hot_standby = on
|
hot_standby = on
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue