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)
committerMichael Adam <obnox@samba.org>
Fri, 6 Jun 2014 13:00:36 +0000 (15:00 +0200)
commitdb0cf14308b193d8678600c28e50e770b7b304a9
tree3ce0c8fe1955de02ec897d033c52130a3a847d42
parent2a89dda07ec81ad327d4b7faa317dfc604893d44
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
(cherry picked from commit 9020baf27cab7821c9094cda185206fb7af0fee7)
server/ctdb_recoverd.c
server/ctdb_takeover.c