* debian/config.yml.in: Set remove_data_directory_on_rewind_failure and

use_pg_rewind to true.
This commit is contained in:
Michael Banck 2019-02-08 17:41:25 +01:00
parent ec96dc075d
commit a57e0af6f6
2 changed files with 4 additions and 1 deletions

2
debian/changelog vendored
View file

@ -11,6 +11,8 @@ patroni (1.5.4-8) UNRELEASED; urgency=medium
* debian/patches/reclone-unable-pg_rewind.patch: New patch, reclones from the
primary if use_pg_rewind and remove_data_directory_on_rewind_failure are
set, but the postgres password is empty.
* debian/config.yml.in: Set remove_data_directory_on_rewind_failure and
use_pg_rewind to true.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Thu, 07 Feb 2019 18:13:20 +0100

View file

@ -38,7 +38,8 @@ bootstrap:
# port: 1111
# primary_slot_name: patroni
postgresql:
use_pg_rewind: false
use_pg_rewind: true
remove_data_directory_on_rewind_failure: true
remove_data_directory_on_diverged_timelines: true
# use_slots: true
# The following parameters are given as command line options