Attempt to fix bug 5684
authorVolker Lendecke <vl@samba.org>
Tue, 12 Aug 2008 20:31:52 +0000 (22:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 14 Sep 2008 17:19:45 +0000 (19:19 +0200)
commit1d85e0647e287d269b3f6b534da88f497d6f76c3
tree7362e6422f27a60f666666f80f0dc66b00fc4b78
parentad7ed33f786124e4afbba4330201a3a6463c6f73
Attempt to fix bug 5684

With the ctdb checkin dde9f3f006 tdb optimized out write lock checks for
write-enabled transaction. Sadly, this also removed the possibility to ever
remove dead records left over from tdb_delete calls within a transaction.

Tridge, please check this! Did dde9f3f006 have any reason beyond performance
optimizations?

Thanks,

Volker
(cherry picked from commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
source/lib/tdb/common/tdb.c