during ip allocation, there are failure modes where a node might hold a ip address
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 3 Dec 2010 02:28:35 +0000 (13:28 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 3 Dec 2010 02:28:35 +0000 (13:28 +1100)
commit4ff998bf33cfa6d1222f7c8f8eba3aeec0f36e6e
tree56760b67dfa368dae78ead64fc8e02db8444e989
parent2957e0a2d958c06d22c4dc2f5518d786392b5cb4
during ip allocation, there are failure modes where a node might hold a ip address
but thinks it is still unassigned (-1).

add code to the recovery daemon to detect this case and trigger a reallocation
so that the ip gets covered

and change the takeip code to allow for this condition, taking on an ip address that is
already hosted.

cq s1021073
server/ctdb_recoverd.c
server/ctdb_takeover.c