[SCM] CTDB repository - branch master updated - ctdb-1.0.79-12-gbf8dae6

simo idra at samba.org
Mon Apr 27 13:05:52 GMT 2009


On Mon, 2009-04-27 at 14:25 +0200, Volker Lendecke wrote:
> On Sat, Apr 25, 2009 at 05:50:07PM -0500, Ronnie Sahlberg wrote:
> > The branch, master has been updated
> >        via  bf8dae63d10498e6b6179bbacdd72f1ff0fc60be (commit)
> >        via  1b2029dbb055ff07367ebc1f307f5241320227b2 (commit)
> >        via  459e4ee135bd1cd24c15e5325906eb4ecfd550ec (commit)
> >       from  70f21428c9eec96bcc787be191e7478ad68956dc (commit)
> > 
> > http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
> > 
> > 
> > - Log -----------------------------------------------------------------
> > commit bf8dae63d10498e6b6179bbacdd72f1ff0fc60be
> > Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> > Date:   Sun Apr 26 08:47:38 2009 +1000
> > 
> >     we only need to have transaction nesting disabled when we start the new transaction for the recovery
> > 
> > commit 1b2029dbb055ff07367ebc1f307f5241320227b2
> > Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> > Date:   Sun Apr 26 08:42:54 2009 +1000
> > 
> >     set the TDB_NO_NESTING flag for the tdb before we start a transaction from within recovery
> > 
> > commit 459e4ee135bd1cd24c15e5325906eb4ecfd550ec
> > Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> > Date:   Sun Apr 26 08:38:37 2009 +1000
> > 
> >     add TDB_NO_NESTING. When this flag is set tdb will not allow any nested transactions and tdb_transaction_start() will implicitely _cancel() any pending transactions before starting any new ones.
> > 
> 
> To me this looks like a reasonable addition to main tdb.
> 
> What do others think?

We should probably return an error, and not just implicitly cancel a
transaction IMO. But the idea of TDB_NO_NESTING is sound and I'd love to
use it in LDB.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list