[PATCH] Do not allow different versions of ctdb in a cluster

Stefan Metzmacher metze at samba.org
Wed May 24 22:35:37 UTC 2017


Hi Chris,

> Thanks for the pointer.
> 
> Longer term, I would imagine that support for rolling upgrades would be a
> worthy goal.  Thoughts?

Yes, it is, but it's a long way to go.

The structures in
https://git.samba.org/?p=samba.git;a=blob;f=source3/librpc/idl/smbXsrv.idl
are already designed for this.

And the main conflict detection is hidding in:
https://git.samba.org/?p=samba.git;a=blob;f=source3/smbd/smbXsrv_version.c

The main code always works with the structes for
SMBXSRV_VERSION_CURRENT, and the low level store and fetch
functions would get code to translated to the current min
version of all cluster nodes.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170525/f712494c/signature.sig>


More information about the samba-technical mailing list