[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Presto logging



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

Attachment: pgpJiPfP0PZ3O.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]