trackerd should detect corrupt index and reindex

Bug #305739 reported by Michele
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: tracker

hi there. first of all, I am on Intrepid, with the stock trackerd from the repos.

I think that corrupt indexes are the cause of most of the problems people are experiencing with tracker, such as persistent 100% cpu usage, exponential index size growth, no results returned by the search tool.
in my specific case, I had all the symptoms above after I filled up the disk, and tracker was indexing at the same time. I got no error message whatsoever, and from there on tracker became a memory and cpu hog, and returned no results.

deleting ~/.cache/tracker and reindexing made it.

now, I think that the index should be a bit more resistant to problems such as the disk filling up, but in case it gets corrupted, tracker should be able to detect it, and popup something like "index got corrupted, do you want me to reindex?" instead of keeping trying to read it blowing up the CPU....

thanks, let me know if I must add something.

Changed in tracker (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Martyn Russell (martyn-lanedo) wrote :

We committed some code yesterday which now notifies the user if the index becomes corrupt. It will also present a notification (if running the applet) allowing the user to attempt a reindex.

We are working on shutting down nicely when going into suspend mode which we believe is partially to blame for this.

Revision history for this message
Michele (mikelito) wrote :

cool. as soon as it gets into the repositories, I'll be happy to test it... my disk gets overfilled so often that I had do remove the index cache at least five times so far, so it'll be pretty easy to see if the fix is succesful :-)
thanks for having a look at this!

Changed in tracker (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This is fixed in the version in Jaunty now

Changed in tracker (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.