Bugzilla – Bug 116240
beagle can lose track of copied files
Last modified: 2005-09-12 16:01:49 UTC
In some cases, "cp foo bar" will cause "foo" to be dropped from the index. Because invalid metadata remains attached to "foo", it might not be re-discovered by the daemon during subsequent crawls.
Created attachment 49463 [details] a fix for this bug
submitted for RC2
I spent some time thinking about this bug over the weekend, and found a problem with my orginal fix. My original patch was mostly correct, but didn't correctly handle some corner cases: certain combinations of copy and move operations could cause an exception to be thrown and leave the index in an inconsistent state. The attached patch fixes this problems.
Created attachment 49550 [details] yet another patch Note: this patch does *not* obsolete my previous patch. Both patches are needed to fix the problem.
AJ, if this won't make 10.0 I'd like to ship an update.
It's submitted and checked in - isn't it? ------------------------------------------------------------------- Fri Sep 9 22:37:20 CEST 2005 - gekker@suse.de - Fix handling of copied files (116240) - Fix creation of beagleindex user - Fix owner of /var/cache/beagle (113424) Otherwise: Please submit new package asap.
There is a second patch that handles a couple more corner cases. Going to submit asap.
Chris submitted this patch for RC3.