[pgpool-committers: 3266] pgpool: Fix a posible hang during health checking
Yugo Nagata
nagata at sraoss.co.jp
Wed Jun 15 15:26:51 JST 2016
Fix a posible hang during health checking
Helath checking was hang when any data wasn't sent
from backend after connect(2) succeeded. To fix this,
pool_check_fd() returns 1 when select(2) exits with
EINTR due to SIGALRM while health checkking is performed.
Reported and patch provided by harukat and some modification
by Yugo. Per bug #204.
backported from 3.4 or later;
https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=ed9f2900f1b611f5cfd52e8f758c3616861e60c0
Branch
------
V3_1_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=706c78a9c67e66da716ea7170b345f6aa641fb5e
Modified Files
--------------
pool_process_query.c | 8 ++++++++
1 file changed, 8 insertions(+)
More information about the pgpool-committers
mailing list