[pgpool-committers: 8028] pgpool: Add new config parameter "failover_on_backend_shutdown".

Tatsuo Ishii ishii at sraoss.co.jp
Wed Sep 22 10:19:06 JST 2021


Add new config parameter "failover_on_backend_shutdown".

If set to on, admin shutdown triggers failover (existing behavior).
If set to off, admin shutdown does not trigger failover (new
behavior), and is useful to completely avoid unwanted failover caused
by pg_terminate_backend() and SIGTERM signal sent to the backend
process.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2021-August/003999.html

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=10ef9092e2e6a40650fe304270cea79ed20ece17

Modified Files
--------------
doc.ja/src/sgml/failover.sgml             | 77 +++++++++++++++++++++++++++++--
doc/src/sgml/failover.sgml                | 51 ++++++++++++++++++--
src/config/pool_config_variables.c        | 12 ++++-
src/include/pool_config.h                 |  2 +
src/protocol/pool_process_query.c         |  2 +-
src/sample/pgpool.conf.sample-logical     |  6 +++
src/sample/pgpool.conf.sample-raw         |  6 +++
src/sample/pgpool.conf.sample-replication |  6 +++
src/sample/pgpool.conf.sample-slony       |  6 +++
src/sample/pgpool.conf.sample-snapshot    |  6 +++
src/sample/pgpool.conf.sample-stream      |  6 +++
src/utils/pool_process_reporting.c        |  5 ++
12 files changed, 176 insertions(+), 9 deletions(-)



More information about the pgpool-committers mailing list