1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/lib
Rusty Russell 74b2eacede tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.
This flag to tdb_open/tdb_open_ex effects creation of a new database:
1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
   specified,
2) Places a non-zero field in header->rwlocks, so older versions of TDB will
   refuse to open it.

This means that the caller (ie Samba) can set this flag to safely
change the hash function.  Versions of TDB from this one on will either
use the correct hash or refuse to open (if a different hash is specified).
Older TDB versions will see the nonzero rwlocks field and refuse to open
it under any conditions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(This used to be ctdb commit dd86b24ae5307fe09d4ae22b7070d747013a2b07)
2010-10-07 15:17:38 +10:30
..
popt enabled built in popt if system doesn't have it 2007-05-03 05:21:14 +10:00
replace event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
talloc talloc: update to 2.0.3 version from SAMBA 2010-08-18 09:11:58 +09:30
tdb tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash. 2010-10-07 15:17:38 +10:30
tevent Add back monitoring for time skips, forward as well as backward. 2010-09-28 08:59:35 +10:00
util Merge commit 'rusty/ports-from-1.0.112' into foo 2010-08-19 13:17:56 +10:00