Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363963 - Provide ability to adjust default projector timeout value
Summary: Provide ability to adjust default projector timeout value
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 336967
Blocks: 336968 363964
  Show dependency tree
 
Reported: 2011-11-16 14:24 EST by DJ Houghton CLA
Modified: 2012-02-23 09:41 EST (History)
4 users (show)

See Also:


Attachments
Patch for 368963 and 363965 (3.25 KB, patch)
2011-11-16 16:47 EST, DJ Houghton CLA
no flags Details | Diff
Replacement 3.6.2 jar with fix (89.30 KB, application/octet-stream)
2012-02-23 09:38 EST, John Arthorne CLA
no flags Details
Replacement 3.6.2 jar with fix (89.30 KB, application/octet-stream)
2012-02-23 09:41 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-11-16 14:24:47 EST
Cloned to track release into 3.6.x stream.

+++ This bug was initially created as a clone of Bug #336967 +++

There have been a couple reports where we have huge systems with several thousand IUs and people are adding several IUs (same ids but multiple versions) via the reconciler and the solution that we get back from SAT4J isn't always the optimal one. As described in Bug 301446 comment 5 this is expected and the solutions are *not* incorrect. 

We should provide a mechanism to adjust the default timeout value so clients are able to use this in their problem investigations. I recommend a System property (key: eclipse.p2.projector.timeout) which would default to 1000 (current value) if the property doesn't exist or the property value can't be parsed.
Comment 1 DJ Houghton CLA 2011-11-16 16:47:10 EST
Created attachment 207118 [details]
Patch for 368963 and 363965

Here is a patch which allows the user to set the default conflict timeout value. It also includes a patch to Bug 363965 for simplified code to fix an unstable plan resolution.
Comment 3 John Arthorne CLA 2012-02-23 09:38:31 EST
Created attachment 211493 [details]
Replacement 3.6.2 jar with fix
Comment 4 John Arthorne CLA 2012-02-23 09:41:40 EST
Created attachment 211494 [details]
Replacement 3.6.2 jar with fix

Previous attachment had wrong bug#