[pgpool-committers: 5450] 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_7_STABLE

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

Modified Files
--------------
src/pcp_con/recovery.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)



More information about the pgpool-committers mailing list