Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553646 - sys-apps/portage: skip a mirror tier after having few of the mirrors fail
Summary: sys-apps/portage: skip a mirror tier after having few of the mirrors fail
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-30 14:07 UTC by Michał Górny
Modified: 2015-06-30 14:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-30 14:07:24 UTC
Some mirror tiers are huge. For example, mirror://apache lists 114 mirrors. Now, if a distfile listed as mirror://apache did not get uploaded to the mirrors yet, it's quite likely Portage will try the 114 mirrors in order. Some of them dead, some of them terribly slow.

Long story short, 20 minutes wasted trying mirrors that don't have the file. I think it would be better if Portage tried N randomly chosen mirrors from a tier and then tried other possible URIs.