beagle r3651 - trunk/beagle/beagled



Author: joeshaw
Date: 2007-04-10 22:50:54 +0100 (Tue, 10 Apr 2007)
New Revision: 3651
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3651&view=rev

Modified:
   trunk/beagle/beagled/LuceneIndexingDriver.cs
   trunk/beagle/beagled/LuceneQueryable.cs
Log:
When documents were removed from the index, they were being removed from
the TextCache in LuceneQueryable while processing receipts, outside of
any sqlite transaction.  This is stupid.  Move that into the
LuceneIndexingDriver where we have a sqlite transaction around the text
cache.  This fixes a tremendous amount of pointless disk thrash when
removing lots of files (like an rm -r).






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