Add support to create TDB databases using the new jenkins hash.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 25 Oct 2010 00:31:12 +0000 (11:31 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 26 Oct 2010 21:10:07 +0000 (08:10 +1100)
commite0eda175ac979828b376e8a6779b4608af52eb32
tree937edb7a5b86d8c89c6fcd0e3284a46a5915a777
parent401ad5bb3c4d2f34e34c4b61649c77391ac2f791
Add support to create TDB databases using the new jenkins hash.

SRVID for the control to attach to a database is used to pass
tdb flags from samba to ctdb when samba attached to a database.
This has been used earlier for TDB_NOSYNC flag.

Add TDB_INCOMPATIBLE_HASH as a supported tdb flag to store in the
SRVID field when attaching to a database.

This allows samba to control if ctdb should create databases using the
new jenkins hash, or using the old hash.
This only affects new databases when they are initially created.
Existing databases remain using the old hash when attached to.
server/ctdb_ltdb_server.c