ctdb-daemon: Deletion of IPs is deferred until the next takeover run
authorMartin Schwenke <martin@meltin.net>
Wed, 22 Jan 2014 06:12:09 +0000 (17:12 +1100)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 03:00:17 +0000 (05:00 +0200)
commit87b49c913f8e0a334221706976254d852dbb9bfe
tree264c6d8c2dde425739c2d38b4c1e5f49dc991943
parent0a759bc3ff3887671981e03e1898acf5da692bc2
ctdb-daemon: Deletion of IPs is deferred until the next takeover run

This drastically simplifies the code.  "ctdb reloadips" behaves the
same, since it causes a takeover run immediately after IPs are
deleted.  "ctdb delip" now needs to be followed with an explicit "ctdb
ipreallocate".

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/ctdb.1.xml
ctdb/include/ctdb_private.h
ctdb/server/ctdb_control.c
ctdb/server/ctdb_takeover.c
ctdb/tests/complex/11_ctdb_delip_removes_ip.sh
ctdb/tests/simple/16_ctdb_config_add_ip.sh
ctdb/tests/simple/17_ctdb_config_delete_ip.sh
ctdb/tests/simple/20_delip_iface_gc.sh
ctdb/tests/simple/60_recoverd_missing_ip.sh