[pgpool-committers: 786] pgpool: Avoid a possible hang during the active pgpool exits.

Yugo Nagata nagata at sraoss.co.jp
Mon Feb 4 15:58:57 JST 2013


Avoid a possible hang during the active pgpool exits.

When exiting, the active pgpool brings down the virtual IP and then
sends a packet to other pgpools. However, the packet sometimes is sent
before the virtual IP is brought down completely. In this case the packet
sender is set to this IP. When the IP is brought down before other pgpools
respond, the active pgpool can not recieve the response, and hang up.

In this fix, the active pgpool confirms that the virtual IP is brought
down before sending the packet.

Branch
------
V3_2_STABLE

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

Modified Files
--------------
watchdog/wd_if.c |   26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list