[mirror-admin] reducing "allowed stale" time from 7 days
Carlos Carvalho
carlos at fisica.ufpr.br
Sun Apr 12 21:10:51 EDT 2009
Matt Domsch (Matt_Domsch at dell.com) wrote on 12 April 2009 19:58:
>On Sun, Apr 12, 2009 at 09:53:03PM -0300, Carlos Carvalho wrote:
>> J.H. (warthog9 at kernel.org) wrote on 12 April 2009 17:38:
>> >I would say this *shouldn't* be a problem, but if mirrors are going to
>> >be syncing more often (just to make sure they are up to date)
>>
>> One way to avoid this is to make scheduled updates of the master, say
>> every 6h. This way everyone knows that it's useless to sync every 5min
>> because there'll be no changes.
>
>This is what the new rsyncFilter URL can be used for. If you're
>syncing from download*.fedora.redhat.com you can ask that every hour
>what has changed in the last hour, and only sync that.
Scheduled updates to the master also have the other advantage I
mentioned; it'd greatly help here.
>I heard John's request to extend rsyncFilter to let you specify your
>upstream mirror. I started working on that, and am still thinking
>through how to get that info out of the database properly.
I'd rather the /fullfilelist was completed with the necessary info. As
it is now it's useless but if properly done would avoid full scans
upstream; downstream pulls /proper-fullfilelist, sees what's changed
and pulls only what it needs. At the end of the update it puts the new
version of the filelist in place so that further downstreamers can do
the same.
--
More information about the Mirror-admin
mailing list