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:30:39 +0000 (13:30 +1100)
commit9020baf27cab7821c9094cda185206fb7af0fee7
tree42b08fc1fb9f1361886d25398a893111e373fa1a
parente314a449606418a4c4eac6eb319bfcdf1c398cd3
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