[PATCH] Properly retry package downloads (#924860)

Chris Lumens clumens at redhat.com
Fri Feb 7 18:27:38 UTC 2014


> There are basically two cases where package download can fail:
> - when YUM is populating the transaction
>   (this actually just checks the file exists)
> - when the transaction is started and packages are downloaded and
>   installed
> 
> Previously Anaconda did not attempt to retry the first one at all
> and made an unlimited number of attempts in the second one.
> 
> This has been changed and Anaconda now does 3 retries separated
> by 3 seconds of waiting in both cases.

Way back in the day, we tried to be smart about retrying with something
like the following:  9593841564a29155821c47dc48ae27cd2f666aa9.  However,
that was when we were retrying (I think) 10 times.  I just wanted to
bring this up in case you'd thought about doing such a thing.  It
doesn't really matter to me how long we try.

Looks fine to me.

- Chris


More information about the anaconda-patches mailing list