From: Tom Hughes Date: Tue, 12 Apr 2022 23:05:48 +0000 (+0100) Subject: Enable overwrite protection for WAL archiving X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8b0b777a19c60d3d9e92b37f6aa01a0344f5319f Enable overwrite protection for WAL archiving --- diff --git a/roles/db-master.rb b/roles/db-master.rb index 117c18ebd..5e3f16f3f 100644 --- a/roles/db-master.rb +++ b/roles/db-master.rb @@ -7,7 +7,7 @@ default_attributes( :defaults => { :wal_level => "logical", :archive_mode => "on", - :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p", + :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true", :max_wal_senders => "10", :max_replication_slots => "1", :late_authentication_rules => [