[pgpool-committers: 7569] pgpool: Fix pgpool_setup so that it fail back to full restore if failed
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Mar 31 16:19:42 JST 2021
Fix pgpool_setup so that it fail back to full restore if failed in restarting.
While taking care of "[pgpool-general: 7456] Expected behaviour after pcp_detach_node ?"
https://www.pgpool.net/pipermail/pgpool-general/2021-March/007514.html
I noticed that restarting target server in follow primary script could
fail. This could happen when former primary goes to down status using
pcp_detach_node. The former primary will not start due to timeline
and LSN divergence. To fix this, fail back to full restore using
pg_recovery if restarting server.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=4462f9f1367ec3d22274af28777b084fb9f198ea
Modified Files
--------------
src/test/pgpool_setup.in | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
More information about the pgpool-committers
mailing list