Attempt to fix bug 5684
commit9b987e3923f7e8714acec6a2929435b1e6016645
authorVolker Lendecke <vl@samba.org>
Tue, 12 Aug 2008 20:31:52 +0000 (12 22:31 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 13 Aug 2008 08:53:17 +0000 (13 10:53 +0200)
treed5c1ed0940e68f83ecec620a7c7fcfca595ec7f4
parente3ec81c519716fe50fd4d1b5941195baebe5be46
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
(This used to be commit 3f884c4ae36f3260e63626bdd4989d9258ae6497)
source3/lib/tdb/common/tdb.c