One-line mirror summary and detailed summary can disagree about freshness

Bug #151114 reported by Matthew Paul Thomas on 2007-10-09
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description

At the time of writing, <> reports that the Shanghai Linux User Group mirror is "One week behind". But the mirror's individual page, <>, reports every single variant as "Unknown freshness". One of these must be wrong.

This happens because in the +archivemirrors page we use DistributionMirror.getOverallFreshness(), which gets the worst status different than UNKNOWN, unlike the getSummarizedMirroredSourceSerieses() (which doesn't ignore UNKNOWN) used in the mirror's home page. That's why we sometimes see this discrepancy in the status reported in the two pages.

See also bug 70855.

Adding a new Ubuntu series will cause that series to be unknown in all mirrors, so this happens at least every 6 months to all mirrors.

description: updated
Guilherme Salgado (salgado) wrote :

That's because IDistributionMirror.getOverallStatus() (which is shown on the mirror listing) ignores any MirrorDistroArchSeries/MirrorDistroSeriesSource whose state is UNKNOWN, while IDistributionMirror.getSummarizedMirroredSourceSerieses() and IDistributionMirror.getSummarizedMirroredArchSerieses() (which is shown on a mirror's home page) will always return the MDAS/MDSS with the worst status, which in this case is UNKNOWN.

Changed in launchpad:
assignee: nobody → salgado
importance: Undecided → Medium
status: New → Confirmed

 assignee nobody

Changed in launchpad:
assignee: salgado → nobody
description: updated
Curtis Hovey (sinzui) on 2009-10-19
affects: launchpad-foundations → launchpad-registry
Changed in launchpad-registry:
importance: Medium → Low
Curtis Hovey (sinzui) on 2010-03-02
visibility: private → public
Curtis Hovey (sinzui) on 2010-12-03
tags: added: mirror
description: updated
summary: - Mirror reported as "One week behind" when everything is "Unknown
- freshness"
+ One-line mirror summary and detailed summary can disagree about
+ freshness
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers