r21722: Add the dead record functionality presented on samba-technical@samba.org. If
commit0aebd296cd6834567509d0b100d486f1ef4d104e
authorVolker Lendecke <vlendec@samba.org>
Tue, 6 Mar 2007 10:11:15 +0000 (6 10:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:18 +0000 (10 14:49 -0500)
treebc473b0d17e6f1abcad2e407870a5942b05c289b
parent0fa6e86b5799637ade610915ffb4c6443334bc8e
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker
(This used to be commit 98a27ab28a3cd554e370a9a0e3652f4dea8749e9)
source4/lib/tdb/common/open.c
source4/lib/tdb/common/tdb.c
source4/lib/tdb/common/tdb_private.h
source4/lib/tdb/include/tdb.h