Presto logging

Jesse Keating jkeating at redhat.com
Mon Mar 26 21:53:26 UTC 2007


On Monday 26 March 2007 17:33:21 Thomas M Steenholdt wrote:
> I still think implementing this in just another file will be a better
> solution. Its atomic (for lack of a better term here), in that the flag
> can always be counted on as being valid. If the flag file is not there,
> a sync is in progress, if it's there, the mirror is in synced state. The
> flag file is generated locally so there's no potential loop hole of even
> tenths of a second, like there would be the other way during the time
> when the repomd.xml is downloaded. It will not rely on data to actually
> change but reports whether a sync is in progress. It provides
> backtracking in case of staleness, errors, package corruption, etc. It
> lets you know the "age" of the mirrordata and it works without splitting
> the actual mirroring script. And all in a 30 byte file.

It's relying on mirrors to use OUR script to mirror content though, and we 
can't count on A) they'd use our script instead of whatever else they're 
using to sync other data, B) they're even using a host with bash/sh on it.

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070326/e54f2195/attachment.sig>


More information about the fedora-devel-list mailing list