[pgpool-committers: 6337] pgpool: Fix health check time out.

Tatsuo Ishii ishii at sraoss.co.jp
Mon Oct 21 13:54:12 JST 2019


Fix health check time out.

Heal check time out could happen in several places:

1) connect system call
2) select system call
3) read system call

1) was ok but in 2) and 3) it was possible that it could go into
infinite loop in Pgpool-II 3.7 or later. This was due to a mistake
when health check process was modified to be separate process in 3.7,
and back patched to 3.7 and above.

Discussion:
https://www.pgpool.net/pipermail/pgpool-hackers/2019-October/003458.html
https://www.pgpool.net/pipermail/pgpool-hackers/2019-October/003459.html

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/utils/pool_stream.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list