[Yum-devel] default yum failover method change request

James Antill james.antill at redhat.com
Thu Nov 29 17:23:16 UTC 2007


On Thu, 2007-11-29 at 09:50 -0500, seth vidal wrote:
> On Wed, 2007-11-28 at 09:30 -0500, Jesse Keating wrote:
> 
> 
> > What I'd like to propose instead is that yum's default failover setting
> > of roundrobin be changed to priority.  This would allow any yum tool
> > using Fedora's Mirror Manager to return mirror lists work without
> > adjusting default config.  This would mean that consumers of static
> > non-ordered lists would need to override config, however I posit that
> > in the F8+ world this is not the most common case.  Certainly not for
> > Fedora.  I'm unaware of what method CentOS uses to generate mirror
> > lists though, however they would have a good amount of lead time before
> > this setting would be seen in RHEL6 (RHEL to the best of my knowledge
> > doesn't use mirror lists, it uses the rhn plugin to determine what repo
> > urls to access so this wouldn't necessarily effect RHEL).
> 
> It doesn't sound horrible. I'm not sure I agree with you that setting
> the failover option to a repo is terribly onerous but I understand what
> you're saying. I'm fairly ambivalent about this. On the one hand we can
> change the default just in fedora and avoid blowing anyone else up. OTOH
> changing it in yum is trivial and this doesn't really change behavior.
> 
> Anyone else care?

 So feel free to shoot me for suggesting this, but I think it'd be
better to have the default depend on how we got the URLs. If we get a
list from a mirrorlist, then assume priority, but if we get a list of
baseurls then assume roundrobin.
 This is also better backwards compat.

 But if that's too magic, priority everywhere is better than current
behaviour.

-- 
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071129/7e4bd6ae/attachment.pgp 


More information about the Yum-devel mailing list