Comment 7 for bug 157523

Revision history for this message
Jamie McCracken (jamiemcc-blueyonder) wrote :

edit trackerd in gnome-session to include -v 3 so that it logs verbosely (default is silent and only errors are logged)

It should never get in an infinite loop because it works as follows:

1) directory is indexed and mtime logged
2) changed/new files in directory are then indexed
3) directory mtime is checked again (it does this to prevent race conditions as mtime on a folder will change if any file in it changes so we need to rescan if a change occurred while indexing it) if new mtime is different it goes back to (2)

the sqlite db has a unique index on URI so it should never store the same URI twice (unless the index is corrupted) - you will see an sqlite error in the log file if an attempt is made to store a URI twice.

I am investigating the source to try and find the problem