[Yum-devel] [PATCH] Sort mirrors using TH statistics.

James Antill james at fedoraproject.org
Wed Oct 10 13:33:24 UTC 2012


On Wed, 2012-10-10 at 11:30 +0200, Zdeněk Pavlas wrote:
> The main use case for this is when mirror #1 is down.  Parallel
> downloader avoids such mirror, but legacy mirror group code does not.
> This patch brings these in line.
> 
> Legacy users that don't set the 'timedhosts' option are not affected
> (all mirrors evaluate to default speed and sorting is stable)
> 
> caveats: This runs after the fastestmirror plugin (if enabled) has
> sorted the mirror list.  When TH file is used and contains enough
> host stats, FM order is mostly ignored.

 ACK. Do you think it's wroth obsoleting the fastestmirror plugin now?



More information about the Yum-devel mailing list