summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/docs
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18merged changes from v3-2-testAndrew Tridgell1-0/+3
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
2007-10-10r10421: following on discussions with simo, I have worked out a way ofAndrew Tridgell1-1/+19
allowing searches to proceed while another process is in a transaction, then only upgrading the transaction lock to a write lock on commit. The solution is: - split tdb_traverse() into two calls, called tdb_traverse() and tdb_traverse_read(). The _read() version only gets read locks, and will fail any write operations made in the callback from the traverse. - the normal tdb_traverse() call allows for read or write operations in the callback, but gets the transaction lock, preventing transastions from starting inside the traverse In addition we enforce the following rule that you may not start a transaction within a traverse callback, although you can start a traverse within a transaction With these rules in place I believe all the deadlock possibilities are removed, and we can now allow for searches to happen in parallel with transactions (This used to be commit 7dd31288a701d772e45b1960ac4ce4cc1be782ed)
2007-10-10r10405: added transactions into tdb, and hook them into ldb. See myAndrew Tridgell1-0/+51
samba-technical posting for more details on the transactions design. This also adds a number of command line arguments to tdbtorture, making it more flexible, and fixes some lock deadlock conditions in the tdbtorture code. (This used to be commit 06bd8abba942ec9f1e23f5c5d546cbb71ca3a701)
2007-10-10r10385: removed obsolete commentAndrew Tridgell1-1/+0
(This used to be commit 40a8ad2d1eb26d1635b8f188036b04319ffd41b4)
2007-10-10r848: convert lib/tdb into the same layout as lib/ldbStefan Metzmacher2-0/+177
metze (This used to be commit bacab322ce89979f0ad0811cd15b73d81eceb69d)