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)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:49 +0000 (13:35 +0200)
commitf330cf0b465c7b7de47ae2cc9240b718cafb6106
treec3c676996ac9cd9d1e75fa0de2f83c4dd7900a57
parent111fd27ff926970e033353d47df706f0abd317ae
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>
(cherry picked from commit fc18188b7b63eb0dafbc47e3abf80e306e1dfc31)
server/ctdb_recoverd.c