mirror of https://github.com/zulip/zulip.git
puppet: Set a long timeout on wal-g wal-push, to prevent stalls.
`wal-g wal-push` has a known bug with occasionally hanging after file upload to S3[1]; set a rather long timeout on the upload process, so that we don't simply stall forever when archiving WAL segments. [1] https://github.com/wal-g/wal-g/issues/656
This commit is contained in:
parent
419f163906
commit
4868a4fe48
|
@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
|
@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
|
@ -698,7 +698,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
|
@ -792,7 +792,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
|
@ -670,7 +670,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
|
@ -683,7 +683,7 @@ listen_addresses = <%= @listen_addresses %>
|
|||
wal_level = hot_standby
|
||||
max_wal_senders = 5
|
||||
archive_mode = on
|
||||
archive_command = '/usr/local/bin/env-wal-g wal-push %p'
|
||||
archive_command = '/usr/bin/timeout 10m /usr/local/bin/env-wal-g wal-push %p'
|
||||
|
||||
# Replica settings (ignored on primary)
|
||||
hot_standby = on
|
||||
|
|
Loading…
Reference in New Issue