recoverd: All inactive nodes should yield recovery master role
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Jul 2012 10:43:46 +0000 (20:43 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 8 Aug 2012 06:15:03 +0000 (16:15 +1000)
commitfc18188b7b63eb0dafbc47e3abf80e306e1dfc31
tree18abb70218142b10e199ad2f0766e14395d08cdc
parente7dc10da3ced54ea9d719ad167ee42dcca8dce75
recoverd: All inactive nodes should yield recovery master role

Not just stopped nodes.  In reality, this means that banned nodes will
also yield, since nodes in the other inactive states won't be running
a daemon.

This seems sensible since if another node notices that an inactive
node is the recovery master then it will force an election anyway.

Signed-off-by: Martin Schwenke <martin@meltin.net>
server/ctdb_recoverd.c