tdb question

tridge at samba.org tridge at samba.org
Fri Feb 1 02:49:37 GMT 2008


Herb,

 > I don't see tdb_wipe_all in the 3_0 code only 3_2. Are there
 > other changes in 3_2 that are needed or could just that function
 > be copied to 3_0?

You should merge the whole of lib/tdb into 3.0, so you get the new
transaction code as well. The new transaction code is important
ensuring that "change everything" code in a transaction doesn't get
really slow.

The 3.0-ctdb branch has the new tdb code in it already. See:

   git://git.samba.org/tridge/samba-ctdb.git

tdb in the 3.0 and 3.2 trees is completely compatible. The is no
problem just copying the whole of lib/tdb from one to the other.

You probably could just grab tdb_wipe_all() as well, but the new
transaction code is worth grabbing.

Cheers, Tridge


More information about the samba-technical mailing list