[Yum-devel] [PATCH] Ignore private mirror flag if there were failures. BZ 859035

James Antill james.antill at redhat.com
Mon Sep 24 12:46:33 UTC 2012


On Mon, 2012-09-24 at 02:32 -0400, Zdenek Pavlas wrote:
> > > Prefer private mirrors, but only if they didn't fail recently.
> > 
> >  This includes 404, right?
> >
> >  The reason we didn't do this before is that it's pretty common to
> >  have a partial private mirror, so we want to ignore any previous 404s on a
> > private mirror (but obv. if we can't connect or something, then we'd
> > want to remember that).
> 
> 404 is handled specially in _TH.update().  Does not update mirror 'speed'
> but 'fail' is reset to 0 as if the DL was successful- so after 404 it's still
> preferred.

 Ahh, ok ... my bad. ACK.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20120924/ea295155/attachment.asc>


More information about the Yum-devel mailing list