[pgpool-committers: 6335] pgpool: Fix health check time out.
Tatsuo Ishii
ishii at sraoss.co.jp
Mon Oct 21 13:54:06 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
------
V3_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c8ab990e7fd9ec2f54695658f78db4a78861496b
Modified Files
--------------
src/protocol/pool_process_query.c | 4 ++--
src/utils/pool_stream.c | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list