[Samba] CTDB and locking issues in 4.4.6 (Classic domain)

Martin Schwenke martin at meltin.net
Thu Nov 3 08:51:39 UTC 2016


On Thu, 3 Nov 2016 08:13:53 +0100, Ralph Böhme via samba
<samba at lists.samba.org> wrote:

> On Thu, Nov 03, 2016 at 05:34:21PM +1100, Martin Schwenke via samba wrote:

> > If you lock the file from a client attached to 1 node and
> > "smbstatus -L" shows the lock from all the nodes then CTDB is doing
> > what it is meant to.  That is, it makes sure that Samba processes see
> > the same TDB records on all nodes.  
> 
> hm, smbstatus does a db traverse while smbclient will trigger a
> migrate record, so both use different ctdb protcol ops, don't they?

Sure.  I was glossing over a lot of details... but I hope we would
notice major breakage like that...  :-)

> > Not sure what's going on with the rest of it.  Doing a bit of testing...  
> 
> I tested on a 3 node test cluster, with 4.4.x and master, works as
> expected.

Yay!

peace & happiness,
martin



More information about the samba mailing list