Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326107

Summary: [repository] better bad mirror rejection
Product: [Eclipse Project] Equinox Reporter: Jeff McAffer <jeffmcaffer>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Jeff McAffer CLA 2010-09-23 21:11:05 EDT
I was setting up a target platform using the helios maintenance repo and in the process of fetching various bundles got a whole mess of log entries like the one below. All from the same mirror.

!ENTRY org.eclipse.equinox.p2.repository 2 0 2010-09-23 10:38:28.694
!MESSAGE Connection to http://mirror.cc.vt.edu/pub/eclipse/releases/maintenance/aggregate/features/org.eclipse.emf.converter.source_2.6.0.v20100914-1218.jar failed on Connection refused. Retry attempt 0 started

After the first few ideally p2 would have said, "you know, that mirror is refusing all my connections, I'm putting it to the back of the list and not even try it again (for a while at least)".  I know we do have a ranking algorithm but apparently refusing connections is not enough to get down ranked.
Comment 1 Pascal Rapicault CLA 2011-06-11 23:48:15 EDT

*** This bug has been marked as a duplicate of bug 341405 ***