[pgpool-committers: 786] pgpool: Avoid a possible hang during the active pgpool exits.
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.
watchdog/wd_if.c | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
More information about the pgpool-committers