[PATCH] CTDB: Do not use "ctdb -n all ..."

Martin Schwenke martin at meltin.net
Thu Oct 22 05:38:13 UTC 2015


The ctdb CLI tool supports "-n all" for just about everything.  This
doesn't make sense with many commands that produce output, particularly
if you're using -X for machine-readable output.

Amitay has been working on a re-write of the ctdb CLI tool using the
new client API that he has added.  The plan is to not support "-n all".

The most obvious use of "-n all" where something similar is still
needed is with "ctdb ip -n all", which gives details of IP addresses
defined on all nodes.  In Amitay's new version, this is done using
"ctdb ip all" instead.

The attached patch set removes the use of "ctdb -n all ..." from tests,
scripts and documentation.  To support this it adds support for "ctdb
ip all" to the current tool.

Review and push appreciated...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patches
Type: application/octet-stream
Size: 24761 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151022/3954e911/ctdb.obj>


More information about the samba-technical mailing list