kostiantyn-nemchenko / ansible-role-patroni

:elephant: Ansible Role for Patroni
https://galaxy.ansible.com/kostiantyn-nemchenko/patroni
MIT License
68 stars 44 forks source link

pg_rewind related features #51

Closed kostiantyn-nemchenko closed 5 years ago

kostiantyn-nemchenko commented 5 years ago

Starting from 1.5.5 it is possible to automatically reinitialize the former master using by setting postgresql.remove_data_directory_on_diverged_timelines to true. Additionally, use_pg_rewind shoud be changed to false as this is the default value in patroni.