recoverd: When calculating rebalance candidates don't consider flags
authorMartin Schwenke <martin@meltin.net>
Fri, 3 May 2013 10:41:32 +0000 (20:41 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 7 May 2013 06:20:47 +0000 (16:20 +1000)
commitee7357de51973daef506c1f14b84da528e4f2e8b
treedc53ef693dede5dc37aace211e47911ec4e83984
parentc9056b4f88047985e10a704bc6e2e28f956672d0
recoverd: When calculating rebalance candidates don't consider flags

This is really a check to see if a node is already hosting IPs.  If
so, we assume it was previously healthy so it isn't considered as a
rebalance candidate.  There's no need to limit this to healthy node,
since this is checked elsewhere.

Due to this the variable newly_healthy is renamed everywhere to
rebalance_candidates.

The mask argument is now completely unused.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 65e0ea6c2c0629e19349ba4b9affa221fde2b070)
ctdb/server/ctdb_takeover.c