tools/ctdb: Fix arguments/semantics of rebalance node
commit5f0d85d4db08b9de1eee35b161a4d1a05b43d77c
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Sep 2013 03:20:26 +0000 (6 13:20 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 19 Sep 2013 02:54:32 +0000 (19 12:54 +1000)
treeb4a3f052bc66b44592e56b0ef673a2b5074101f3
parentc484361076d4fa9077e3e56811f791f073543c19
tools/ctdb: Fix arguments/semantics of rebalance node

There's no reason why specifying a node should be compulsory.  This is
a cluster-wide operation because it is implemented by the recovery
master so multiple nodes should not be specified using -n.  However,
the command should be able to specify multiple nodes so let it have
its own nodestring argument.

This change should be backward compatible with the old requirement of
specifying a single node via -n.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 0846c00597adb66bba8c9dbf63443d0c2f91a7d1)
ctdb/tools/ctdb.c