Remove alive real servers when quorum is lost.
authorVincent Bernat <bernat@luffy.cx>
Wed, 4 Nov 2009 15:41:23 +0000 (15:41 +0000)
committerAlexandre Cassen <acassen@freebox.fr>
Thu, 6 May 2010 12:47:52 +0000 (14:47 +0200)
commit75a16c3fc37c974e1e91b1b56c7b80e953fe5aa0
tree7f2065e4196ef3f55a45799c4ae9e70a0cbc8c99
parentd51194f46e9cdc65608d6eec0b987695bb466a7f
Remove alive real servers when quorum is lost.

Before this patch, when quorum is lost, the sorry server is added to
the pool of real servers but remaining alive real servers stay here.
With this patch, remaining alive real servers are removed. They are
added back only if the quorum is back.

When no sorry server is defined, there is no effect: when the quorum
is lost, we still have the remaining alive servers and they are addded
back to the pool even when the quorum is still not met.
keepalived/check/ipwrapper.c