I had forgotten about some mirrored file bits, but then discovered
them again the other day, and even found some new things this morning,
so fyi here ...  :)

If sa-update has not been run for a given channel before, it looks up
mirrors.[channel] in DNS
(http://spamassassin.apache.org/updates/MIRRORED.BY) and grabs that
file to figure out who the mirrors are.

However, the next time sa-update is run, if there's an update in the
channel, it sees that it already has a MIRRORED.BY file and so uses
it.  After downloading the update, it will see if it needs to update
the MIRRORED.BY file *from a mirror*.  This is so we a) don't have a
single point of failure, and b) don't overload the s.a.o webserver w/
requests for MIRRORED.BY files.  However, this also means another
location for this file which needs to be updated when the file
changes. :|

Also, a subtly which I just discovered a few minutes ago, as mentioned
above, is that clients won't try to update the MIRRORED.BY file unless
there's an update to download.  There are some other implications here
too, which I hope I explained clearly in Bug 6083.

Anyway, for right now, when there's a MIRRORED.BY update, you need to put it in:
minotaur:/www/spamassassin.apache.org/updates
spamassassin.zones.apache.org:/var/www/buildbot.spamassassin.org/updatestage

and then push an update for all versions in the channel, which I would
simulate via hard links and a DNS update.

So I'm going to update the file again to remove my machine, then do a
push for all of this.


On Wed, Mar 11, 2009 at 9:54 PM,  <[email protected]> wrote:
> Author: kmcgrail
> Date: Thu Mar 12 01:54:03 2009
> New Revision: 752746
>
> URL: http://svn.apache.org/viewvc?rev=752746&view=rev
> Log:
> Increasing weight of PCCC Update Mirror
>
> Modified:
>    spamassassin/site/updates/MIRRORED.BY
>
> Modified: spamassassin/site/updates/MIRRORED.BY
> URL: 
> http://svn.apache.org/viewvc/spamassassin/site/updates/MIRRORED.BY?rev=752746&r1=752745&r2=752746&view=diff
> ==============================================================================
> --- spamassassin/site/updates/MIRRORED.BY (original)
> +++ spamassassin/site/updates/MIRRORED.BY Thu Mar 12 01:54:03 2009
> @@ -1,5 +1,5 @@
>  # test mirror: zone, cached via Coral
>  #http://buildbot.spamassassin.org.nyud.net:8090/updatestage/
>  http://daryl.dostech.ca/sa-update/asf/ weight=5
> -http://www.sa-update.pccc.com/ weight=1
> +http://www.sa-update.pccc.com/ weight=5
>  http://spamassassin.kluge.net/updates/ weight=1
>
>
>

Reply via email to