recoverd: Nodes to be used as forced rebalance targets must be healthy
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Sep 2013 04:09:09 +0000 (14:09 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 10 Sep 2013 05:03:40 +0000 (15:03 +1000)
commit96a15964231716b4909d9d5ec19cc4ed1d744177
tree37ca0f10311e342bc45a0dbf5d56b9a544e86486
parentda21e4df641a668bbf379720fbfc556fdadf71a3
recoverd: Nodes to be used as forced rebalance targets must be healthy

Right now, if a node is marked as a rebalance target then it can host
IPs even if it is unhealthy, inactive, ...

Also move the log message into the conditional so it is only generated
if the PNN is actually going to be a rebalancing target.

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