[pgpool-committers: 5452] pgpool: Fix unwanted recovery timeout in certain cases.
Tatsuo Ishii
ishii at sraoss.co.jp
Tue Feb 12 17:09:18 JST 2019
Fix unwanted recovery timeout in certain cases.
In the second stage of online recovery in replication mode, it is
possible it fails with timeout (message: "wait_connection_closed:
existing connections did not close in %d sec.") if connection counter
is malformed by a child process aborts with SIGKILL, SEGFAULT or etc.
This could be detected by checking if client_idle_limit_in_recovery is
enabled and it has less value than recovery_timeout because all
clients must be kicked out by the time when
client_idle_limit_in_recovery is expired. If so, we should reset
conn_counter to 0 also.
Per bug 431.
Branch
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3aac064b76fe9094e7715377026d5fc6fbce5049
Modified Files
--------------
src/pcp_con/recovery.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
More information about the pgpool-committers
mailing list