Skip to content

Commit f4835ea

Browse files
committed
Updates to defaults to fix ANXS#484
1 parent 1ef5b63 commit f4835ea

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

defaults/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ postgresql_backend_flush_after: 0 # (>= 9.6) 0 disables, default
255255

256256
# - Settings -
257257

258-
postgresql_wal_level: "minimal" # minimal, archive (<= 9.5), hot_standby (<= 9.5), replica (>= 9.6), or logical
258+
postgresql_wal_level: "replica " # minimal, archive (<= 9.5), hot_standby (<= 9.5), replica (>= 9.6), or logical
259259
postgresql_fsync: on # flush data to disk for crash safety
260260
# (turning this off can cause
261261
# unrecoverable data corruption)
@@ -344,7 +344,7 @@ postgresql_recovery_min_apply_delay: 0 # (>= 12)
344344
# Set these on the master and on any standby that will send replication data.
345345

346346
# max number of walsender processes
347-
postgresql_max_wal_senders: 0
347+
postgresql_max_wal_senders: 10
348348
postgresql_wal_sender_delay: 1s # walsender cycle time, 1-10000 milliseconds (<= 9.1)
349349

350350
postgresql_wal_keep_segments: 0 # in logfile segments, 16MB each; 0 disables

vars/postgresql_9.5.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
# PostgreSQL vars for v9.5
33

44
postgresql_autovacuum_vacuum_cost_delay: 20ms
5+
postgresql_max_wal_senders: 0
6+
postgresql_wal_level: "minimal"

vars/postgresql_9.6.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
# PostgreSQL vars for v9.6
33

44
postgresql_autovacuum_vacuum_cost_delay: 20ms
5+
postgresql_max_wal_senders: 0
6+
postgresql_wal_level: "minimal"

0 commit comments

Comments
 (0)