[Date Prev][Date Next]
Re: (ITS#4242) slapindex fails to clean up DB after unclean shutdown
>> This works as designed. Since transaction logging is disabled when using
>> -q, it is not possible to recover the database to a consistent state
>> when these tools get interrupted. I.e., you are supposed to (A) never
>> interrupt a -q run, and (B) start over from scratch (rm *) when you do
>> interrupt the run.
> I had removed the bdb file being indexed (entryCSN.bdb). I guess there is
> not much that can be done here though.
Maybe this deserves a little emphasis in the slapindex manpage.
--- slapindex.8 2005-11-14 13:19:48.000000000 +0100
+++ - 2005-12-03 01:02:46.400102000 +0100
@@ -44,6 +44,8 @@
enable quick (fewer integrity checks) mode. Performs no consistency checks
-when writing the database. Improves indexing time, but if any errors or
-interruptions occur the database will most likely be unusable.
+when writing the database. Improves indexing time,
+the database will most likely be unusable if any errors or
.BI \-d " level"