]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-master.rb
Enable overwrite protection for WAL archiving
[chef.git] / roles / db-master.rb
index 117c18ebd8aa3adabfe4be2a86b48a7aef037cf3..5e3f16f3f28c2741c04b4e6b2ca213ef56d50d80 100644 (file)
@@ -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 => [