From a57e0af6f64835c0a37b392934f29785cfd605bd Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Fri, 8 Feb 2019 17:41:25 +0100 Subject: [PATCH] * debian/config.yml.in: Set remove_data_directory_on_rewind_failure and use_pg_rewind to true. --- debian/changelog | 2 ++ debian/config.yml.in | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 175e675..17c880e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 07 Feb 2019 18:13:20 +0100 diff --git a/debian/config.yml.in b/debian/config.yml.in index 1153a83..26e34e5 100644 --- a/debian/config.yml.in +++ b/debian/config.yml.in @@ -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