Attempt to fix bug 5684
commitba0b188abb3f680ee0686f53a903d25fe363d83e
authorVolker Lendecke <vl@samba.org>
Tue, 12 Aug 2008 20:31:52 +0000 (12 22:31 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Aug 2008 14:12:18 +0000 (13 16:12 +0200)
tree722cc91e06ad67e10244d203f0f8b0a074d90e67
parent377017b3a14140a8a74623c2fdf00299de441317
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 96d683d3ec1e95cddf9ec96326ebaf8e9cc2079c)
source/lib/tdb/common/tdb.c