Flushing cache to index files

Tue, 22 Oct 1996 11:18:11 +0200

Why aren't the user-defined index files updated on every action which updates
the database? If slapd is not shut down gracefully (with a -TERM signal),
then all the cached indexed information is lost. I have found that this can
lead to an inconsistent state in the database, since the dn2id.dbb and the
id2entry.dbb have been updated.
Does anyone have a patch to the code which will update all the index files
on every write transaction to the database?
Thanks in advance -

Eliot L. Salant

IBM Israel - Science and Technology Tel. 972-4-8296121 Fax. 972-4-8550070 e-mail: esalant@vnet.ibm.com ------------------------------------------------------------------------