beagle r3638 - trunk/beagle/beagled



Author: dbera
Date: 2007-04-08 00:35:25 +0100 (Sun, 08 Apr 2007)
New Revision: 3638
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3638&view=rev

Modified:
   trunk/beagle/beagled/LuceneCommon.cs
Log:
When dangling lock is found, try to verify if the index is corrupt before purging the whole index. Verifying is simply going through the whole index and is extremely time consuming (takes about 10 sec on my index with 15K docs).
This is only one part. If the crashing file is not removed, chances are it will be scheduled almost immediately when indexing begins. The next part is much harder, requiring detecting the offending file and somehow blacklisting it.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]