[PATCH] CTDB configuration changes

Martin Schwenke martin at meltin.net
Mon Mar 26 05:32:56 UTC 2018


This patch set does several things:

* Drop CTDB_MANAGED_SERVICES configuration variable, which is probably
  not used by anyone.

* Move tunable configuration to ctdb.tunables in the configuration
  directory instead of using CTDB_SET_<var>=<val> syntax in the main
  configuration file.

* Allow event scripts to be configured via options file that sit in
  the event script directory.  For example, 50.samba can be configured
  via options specified in 50.samba.options.

  This is not yet enforced.  However, in the future, most users will
  not need options for event scripts because the defaults will work
  nicely.

* Pay off a huge amount of my own technical debt by cleaning up
  ctdb/tests/eventscripts/.  Some amount of this is obviously necessary
  to allow the above changes, while the rest just makes this test suite
  more comprehensible and hackable.

This patch set is huge so I'm just pointing to my ctdb-push branch
rather than trying to attach it:

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

"git diff --diffstat origin/master" says:

 266 files changed, 1809 insertions(+), 1867 deletions(-)

However, most of this is in ctdb/tests/eventscripts:

 232 files changed, 1648 insertions(+), 1659 deletions(-)

Please review and maybe push...

peace & happiness,
martin



More information about the samba-technical mailing list