Bug 486276

Summary: ForceUpdate creates a second assembly parsing process
Product: [Mono] MonoDevelop Reporter: Michael Hutchinson <mhutchinson>
Component: generalAssignee: Michael Hutchinson <mhutchinson>
Status: RESOLVED FIXED QA Contact: MD Bugs <monodevelop-bugs>
Severity: Major    
Priority: P5 - None    
Version: SVN   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Hutchinson 2009-03-18 00:31:23 UTC
If the assembly type database is being updated, and one calls ForceUpdate, it effectively creates a second uncoordinated parse queue. Two status icons show up in the tray, and a second parse process is created. This is expensive, and might cause race conditions.

Maybe ForceUpdate should use the main parser queue.
Comment 1 Michael Hutchinson 2009-03-18 00:31:58 UTC
I suspect this might have something to do with bug 484122.
Comment 2 Michael Hutchinson 2009-03-18 01:01:53 UTC
I'm not convinced it's handling references correctly either. I think ProjectDom.ForceUpdateRec will only parse the references if they've already been detected, i.e. if the current assembly has been parsed. However, it parses the current assembly *after* parsing its references.
Comment 3 Michael Hutchinson 2009-03-18 23:11:58 UTC
Fixed in r129745.
Comment 4 Michael Hutchinson 2009-03-18 23:14:08 UTC
Marking fixed.