ctdb-daemon: Don't update IP tree if DisableIPFailover is set
commit5483d0c7999b5d28dfe823fbd254895024157936
authorMartin Schwenke <martin@meltin.net>
Fri, 8 May 2015 03:14:34 +0000 (8 13:14 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 13 May 2015 04:42:13 +0000 (13 06:42 +0200)
tree50d35905ea080d62120c85b09d8e64ab6618bdee
parent3c7bcea368dc8f68e8e82cc527cf588dcff453c8
ctdb-daemon: Don't update IP tree if DisableIPFailover is set

There won't be an IP tree.  It is only ever initialised during a
takeover run.

The alternate to this would be to avoid sending
CTDB_SRVID_RECD_UPDATE_IP in "ctdb moveip".  This logic is probably
best kept out of the CLI tool.

Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c