Files
patroni/tests
Alexander KukushkinandGitHub 739329b590 Make it possible to automatically reinit the former master (#948)
If the pg_rewind is disabled or can't be used, the former master could fail to start as a new replica due to diverged timelines. In this case, the only way to fix it is wiping the data directory and reinitializing.

So far Patroni was able to remove the data directory only after failed attempt to run pg_rewind. This commit fixes it.
If the `postgresql.remove_data_directory_on_diverged_timelines` is set, Patroni will wipe the data directory and reinitialize the former master automatically.

Fixes: https://github.com/zalando/patroni/issues/941
2019-01-30 12:37:21 +01:00
..
2019-01-16 14:40:05 +01:00
2019-01-15 12:14:19 +01:00
2018-09-19 16:32:33 +02:00
2019-01-16 14:40:05 +01:00
2018-09-19 16:32:33 +02:00
2018-09-19 16:32:33 +02:00
2018-09-19 16:32:33 +02:00