ctdbd: Make ctdb_reloadips_child send controls asynchronously
commit950e23f6641bace83990b9b66cc91c96631cd6df
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Sep 2013 05:56:51 +0000 (5 15:56 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 19 Sep 2013 02:54:31 +0000 (19 12:54 +1000)
treea8b354b52afebebd5eb95f3462c05f5343364806
parentb33ee7a2a4ac0cde9ebd1038591d8ca9a9867478
ctdbd: Make ctdb_reloadips_child send controls asynchronously

Deleting IPs can take a while because IPs are released and connections
are killed.  This can take a while so do them in parallel.  In fact,
since the set of IPs being added and deleted will be disjoint, send
all the adds/deletes at the same time and then wait.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 85a5b544ec032173e98c9cc3b5402a76b961aa3b)
ctdb/server/ctdb_takeover.c