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.
Starting from 1.5.5 it is possible to automatically reinitialize the former master using by setting
postgresql.remove_data_directory_on_diverged_timelines
totrue
. Additionally,use_pg_rewind
shoud be changed tofalse
as this is the default value in patroni.