[Date Prev][Date Next]
Index corruption and crash in back-ldbm (ITS#2348)
Full_Name: Villy Kruse
OS: RH6.2 linux
Submission from: (NULL) (188.8.131.52)
There seems still to be a problem wiht back-ldbm where the index is
corrupted after heavy insert and delete activity. The bug is very
hard to reproduce, but when the index has been corrupted, running
slapindex repeatedly will also cause a index corruption every time.
This depends on the sequence the keys are added to the various index
dbm files. The problem occurs when a inserting an item in the middle
of a full block and the last item is deleted from the current block to
make room and inserted into the next block.
I have made a patch which contains some more details of the bug and how I
tried to fix it.