[PATCHES] CTDB CLI tool improvements and fixes

Martin Schwenke martin at meltin.net
Tue Mar 18 17:09:02 MDT 2014


Attached are improvements to ctdb/tools/ctdb.c.  Much of it is
factorisation of code that is shared between natgwlist, lvs, lvsmaster.
Also some factorisation and simplification of code shared between
listnodes/xpnn/natgwlist.  Tests were added to ensure that the
behaviour is (usually) unchanged.

2 behaviour changes:

* lvs/lvsmaster printed the index into the nodemap in some cases rather
  than the PNN, when the PNN was intended.  This can be incorrect when
  there are deleted nodes.

* natgwlist didn't used to list the status of disconnected nodes in the
  NAT gateway group.   It does now.

Please review and push if OK.

These patches are in my ctdb-tool branch:

  http://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb-tool

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


More information about the samba-technical mailing list