Bug 116240

Summary: beagle can lose track of copied files
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jon Trowbridge <trow>
Component: GNOMEAssignee: Gary Ekker <gekker>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: aj
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: a fix for this bug
yet another patch

Description Jon Trowbridge 2005-09-09 19:41:51 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.
Comment 1 Jon Trowbridge 2005-09-09 19:48:41 UTC
Created attachment 49463 [details]
a fix for this bug
Comment 2 Gary Ekker 2005-09-09 20:44:07 UTC
submitted for RC2
Comment 3 Jon Trowbridge 2005-09-11 21:52:43 UTC
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.
Comment 4 Jon Trowbridge 2005-09-11 21:55:02 UTC
Created attachment 49550 [details]
yet another patch

Note: this patch does *not* obsolete my previous patch.  Both patches are
needed to fix the problem.
Comment 5 JP Rosevear 2005-09-12 12:08:37 UTC
AJ, if this won't make 10.0 I'd like to ship an update.
Comment 6 Andreas Jaeger 2005-09-12 13:09:22 UTC
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.
Comment 7 JP Rosevear 2005-09-12 14:20:41 UTC
There is a second patch that handles a couple more corner cases.  Going to
submit asap.
Comment 8 Gary Ekker 2005-09-12 16:01:49 UTC
Chris submitted this patch for RC3.