[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: index corruption (1164) still present in 2.0.15 with db 3.1.17 (ITS#1359)



When do index files get cleaned? Ever?  Given the entry

dn: uid=foo,dc=fnork
uid: foo

and the "uid" attribute is indexed on pres,eq,substr.

If this entry is deleted, will all the "foo" (and substrings) values
in the "uid.dbb" index be cleared of references to this entry?

For the sake of this ITS, I'm trying to write a test which does a lot of
write accesses to a test attribute then checks the index. I'm finding a
lot of "orphaned" references -- keys whose idl list contains entry ID
numbers that are no longer in id2entry.dbb.

-Mark