For deterministic IPs, check if the designated node can host the ip before
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 3 Aug 2010 04:12:17 +0000 (14:12 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 3 Aug 2010 04:12:17 +0000 (14:12 +1000)
commit5e60aad0e19cabb29c3be191698e10049da151c7
treeac1cc37e00acaf33958ddddc01b1b8147de4373a
parent31f510cceb124e89811c58d29fae336982c2e1a4
For deterministic IPs, check if the designated node can host the ip before
we try to reassign it back to the home node.

If it can not, of if it is unknown, just leave the ip where it is.

This reduces the amount of "flapping" an ip address with no home node
does during recoveries.
server/ctdb_takeover.c