[PATCH] Change CTDB to use a Samba-style configuration file

David Disseldorp ddiss at samba.org
Tue Jul 17 09:56:48 UTC 2018


On Wed, 16 May 2018 18:40:34 +1000, Martin Schwenke via samba-technical wrote:

> This patch set changes CTDB to use a new ctdb.conf (as opposed to
> ctdbd.conf) configuration file that has the same syntax as smb.conf.
> This means that any new daemons that we introduce can read ctdb.conf
> directly.
> 
> A couple of changes before that happens:
> 
> * Drop CTDB_MAX_PERSISTENT_CHECK_ERRORS option
> 
> * ctdbd no longer creates database directories - installation (or
>   the admin, for not default directories) does that
> 
> ctdbd_wrapper is nearly gone.  It can probably go away soon.
> 
> I have updates to WHATSNEW.txt around but, to avoid churn (and because
> it is a bit wrong in some places), I'm not posting that yet.

Looks like this flew under my radar, but just thought I'd mention that
it breaks the Linux-HA CTDB resource agent, which makes heavy use of
ctdbd command line parameters:
https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/CTDB#L624

I guess it should be possible to have the resource agent generate a
runtime ctdb configuration file, but it'll likely cause quite some
headaches WRT multi-version support.

Cheers, David



More information about the samba-technical mailing list