Presto logging

Arthur Pemberton pemboa at gmail.com
Mon Mar 26 22:22:32 UTC 2007


On 3/26/07, Jesse Keating <jkeating at redhat.com> wrote:
> 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
>

I've been following this thread, and I would just like to ask about
combining both methods, and giving a yes/no warning if both factors
aren't in place?


-- 
Fedora Core 6 and proud




More information about the fedora-devel-list mailing list