postgresql_server / db-koji02: set max_standby_streaming_delay to -1 ( ∞ )

Turns out I had set this on the master (db-koji01) which is ignored.
We need to set it on the standby. With a value of -1, the standby will wait
for conflicting transactions/locks to complete however long it takes.
If this doesn't work to get us a good backup on db-koji02, no harm and we
can try something else.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-10-30 19:37:53 +00:00 committed by Pierre-Yves Chibon
parent f5522d3fa6
commit 993fd9f64e

View file

@ -510,8 +510,8 @@ effective_io_concurrency = 1
wal_level = 'hot_standby'
max_wal_senders = 10
wal_keep_segments = 100
max_standby_streaming_delay = 90s
{% elif ansible_hostname.startswith("db-koji02") %}
hot_standby = on
hot_standby_feedback = on
max_standby_streaming_delay = -1
{% endif %}