All metadata files should be downloaded from the same mirror

Bug #539601 reported by David Smid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Undecided
Unassigned

Bug Description

When Smart downloads metadata for an rpm_md channel, it often downloads each file from different mirror.
It should try to download both primary.xml* and filelists.xml* from the same mirror as repomd.xml.
That would reduce the chance of downloading files with non-matching checksums - quite common case when mirrors are not synchronized.

David Smid (dsmid)
description: updated
Revision history for this message
Anders F Björklund (afb) wrote :

Seems like you need fewer mirrors configured, better synchronization of them - or a smart option to disable the "random.shuffle" when selecting between the mirrors with the same Penality<sic>.

Revision history for this message
David Smid (dsmid) wrote :

That can work for myself but I cannot affect how many mirrors our users will use. Besides this problem can easily appear when using only one (outdated) mirror.
Mirror synchronization is beyond our reach as well, we have little control of the secondary mirrors.

An implementation that works for me is here: lp:~dsmid/smart/prefer-last-ok-mirror

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.