Hi,

On Fri, 9 Jun 2006, Christoph Thiel wrote:
On Fri, 9 Jun 2006, Eberhard Moenkeberg wrote:

Which is a royal PITA. Being re-directed to a site that is either
not in sync or is off line is not good. Perhaps the system doing the
re-direction can check the site before doing the re-directing.

That's exactly what we are doing -- but checking for files that don't
have a version number (like the files in /repodata/), isn't trivial.

But you have timestamp and size.

... which aren't always correct and not used therefore at the moment.

Just "matching" is the point.
First compare the size, second the date, and allow full-hour differences (if the size was matching). Further you can keep a "history" of the repodata file sizes to guess better if "ancient" or "actual".

Or just start an "rsync --dry-run" regularly where possible and "trust" the server as a whole if nothing would be to transfer. Even more refinable: do not redirect to any file listed in the rsync's output.

Cheers -e
--
Eberhard Moenkeberg ([EMAIL PROTECTED], [EMAIL PROTECTED])

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to