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

Tatsuo Ishii ishii at sraoss.co.jp
Mon Oct 21 13:54:15 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
------
master

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

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



More information about the pgpool-committers mailing list