Revision 1205193

Go back to digest for 12th December 2010

Bug Fixes in KDE Base

Vishesh Handa committed changes in /trunk/KDE/kdebase/runtime/nepomuk/services/strigi:

Added a start() function to the IndexFeeder and call it when the index scheduler runs.

This solves two MAJOR bugs -
* Changing the list of indexed folder in nepomukstrigirc causes the index scheduler to restart. During the restart process it would stop() the IndexFeeder and never start() it after that. The index scheduler would then start indexing files and push them into the feeder. This would result in the Index Feeder's internal queue becoming really really large ( 300Mb+ at times ). And since the feeder isn't running it wouldn't ever process this queue.

* Even though the Index Scheduler was indexing the files, the feeder would not push them into main model. It would only push folders ( not files ). This gave the impression that stuff was being indexed. The files would only get saved when Nepomuk restarted and indexed everything all over again!

File Changes

Modified 3 files
  • /trunk/KDE/kdebase/runtime/nepomuk/services/strigi
  •   /indexscheduler.cpp
  •   /nepomukindexer.cpp
  •   /nepomukindexer.h
3 files changed in total