ctdb-tools: Add cross-node file comparison to "reloadnodes"
authorMartin Schwenke <martin@meltin.net>
Tue, 24 Feb 2015 05:13:46 +0000 (16:13 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 23 Mar 2015 11:23:12 +0000 (12:23 +0100)
commit16c79eb8873b4c16db3ba01f0cacfdafa54e7369
tree0e12de1ee41c8b2ac37bf6250bf78d21bd45d564
parent5207d131528f796db12ae4fb4753fa3200742bff
ctdb-tools: Add cross-node file comparison to "reloadnodes"

This compares the nodes file on the current node with that on all
nodes.  If any are different then do not reload nodes.

If any nodes files can't be fetched then do not reload nodes.  This
could be because some nodes are running an older version without this
feature.  This is unsupported: why make a major cluster
reconfiguration while a cluster is half upgraded?

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c