[pgpool-committers: 5448] 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.



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

More information about the pgpool-committers mailing list