Bug 1183998 - [RFE] Moving of non-responsive mirror at the end of the queue
Summary: [RFE] Moving of non-responsive mirror at the end of the queue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-20 12:00 UTC by Honza Silhan
Modified: 2015-01-28 19:54 UTC (History)
2 users (show)

Fixed In Version: librepo-1.7.13-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-28 19:54:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1175466 0 unspecified CLOSED add timeout option to repo conf 2021-02-22 00:41:40 UTC

Internal Links: 1175466

Description Honza Silhan 2015-01-20 12:00:51 UTC
Taken from bug 1175466 the description of original reporter:

Actual results:
dnf hangs for a very long time, eventually moves onto another mirror for the first 3 downloads and then on the 4th to 6th download hangs again as it returns to the dead mirrors.

Expected results:
past failures should be remembered and those mirrors are blacklisted for a certain length of time, certainly at least for this session, perhaps with the same timeout as the metadata.

Comment 1 Tomas Mlcoch 2015-01-22 15:36:34 UTC
Mirrors we can't connect to and which have no successful transfers are moved at the end of the list of mirrors.

https://github.com/Tojaj/librepo/commit/f467d16c9ff2e66be4fb7c5e6c7d3ea692c3fd49

Comment 2 Fedora Update System 2015-01-23 15:04:40 UTC
librepo-1.7.13-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/librepo-1.7.13-1.fc21

Comment 3 Fedora Update System 2015-01-26 02:27:42 UTC
Package librepo-1.7.13-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing librepo-1.7.13-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1057/librepo-1.7.13-1.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-28 19:54:27 UTC
librepo-1.7.13-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.