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)
commit65e0ea6c2c0629e19349ba4b9affa221fde2b070
tree64325226c71ec73f6641e77eee53028add56c2b0
parent107e656bbe24f9d21fbaf886a3e9417da4effe5a
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>
server/ctdb_takeover.c