[pgpool-committers: 4649] pgpool: Fix pcp_detach_node hung when -g option is specified.

Tatsuo Ishii ishii at postgresql.org
Fri Apr 13 08:11:35 JST 2018


Fix pcp_detach_node hung when -g option is specified.

"pcp_detach_node -g" had been broken since 3.7. The cause was a misuse
of degenerate_backend_set_ex(). Because of this, actual failover
request was not sent to the pgpool main process. As a result,
pcp_worker process waited vainly for a signal arriving from the
process.

Per bug 391. Problem reported by Tomoyuki Sato, fix by me.

Branch
------
master

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

Modified Files
--------------
src/pcp_con/pcp_worker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list