tdb transaction nesting and ctdb

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jun 15 15:12:38 GMT 2009

On Mon, Jun 15, 2009 at 10:56:04AM -0400, simo wrote:
> On Mon, 2009-06-15 at 14:59 +1000, tridge at wrote:
> > > Did you get Tridge's opinion on this? Is this going into the
> >  > main Samba tdb code any time soon?
> > 
> > I think it's a good idea, we just need to make sure we set the "allow
> > nesting" flag on all the existing users that need it.
> I am a bit unclear in what circumstances nesting transactions (as
> implemented) is useful ?

It's useful when initializing the s3 registry.tdb on a busy
server. This takes *ages* because we have so many fsync
calls. The enclosing transaction makes this a single set of
fsync/msync calls which is a lot faster.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list