[mirror-admin] Please use --delay-updates

J.H. warthog9 at kernel.org
Wed Apr 14 14:24:02 EDT 2010


On 04/14/2010 07:18 AM, Matt_Domsch at Dell.com wrote:
> I received a report last night from a Fedora user in Germany who experienced a weird problem.  MirrorManager would direct him to a mirror, yum would download the repomd.xml file from it and verify it was current and correct.  Yum would then go to download the repodata/*-prestodata* file noted in repomd.xml, and would fail with a HTTP 404 (not found), and then fail over to the next mirror, only to have the same thing happen, until it hit a complete mirror.
> 
> So two requests:
> 
> 1) please use the --delay-updates option to rsync.  I know it requires more disk space, but it reduces the window in which mirrors are inconsistent like this.

While I'll disagree that this makes sense from the mirror perspective
(additional disk i/o churn, added need for space, etc) one thing that
should be imperative in using --delay-updates is the use of
--partial-dir=DIR.  Specifically use a directory that isn't even visible
inside your fedora directory, hopefully on the same filesystem (to help
minimize i/o thrash)

I've attached a modified version of the kernel.org perl script that we
use to rsync to give people some guidance or a framework if you need it.
(note: the script is untested with respect to a couple of the changes)

- John 'Warthog9' Hawley
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rsync_fedora_core.pl
Url: http://mail.ale.org/pipermail/mirror-admin/attachments/20100414/4109c4c0/attachment.pl 
-------------- next part --------------
--


More information about the Mirror-admin mailing list