[pgpool-committers: 7782] pgpool: Enhance watchdog_setup script.
Tatsuo Ishii
ishii at sraoss.co.jp
Sat May 29 17:47:36 JST 2021
Enhance watchdog_setup script.
shutdownall script generated by watchdog_setup shutdowns in the node
number order i.e.: 0, 1, 2... This causes PostgreSQL backend shutdown
when pgpool0 node went down and node 1, 2... trigger failover event,
which is not necessary in the whole shutdown sequence. Shutting down
in the reverse order (...2, 1, 0) should prevent this and shorten the
whole shutdown sequence.
Also this should prevent occasional 018.detach_primary and
028.watchdog_enable_consensus_with_half_votes test timeout (they use
watchdog_setup).
Branch
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=571bba24ff8e80c311b4d6a4b99fce83d1c3b5e2
Modified Files
--------------
src/test/watchdog_setup.in | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
More information about the pgpool-committers
mailing list