On Wed, Dec 17, 2008 at 7:23 PM, Chuck Anderson <span dir="ltr"><<a href="mailto:cra@wpi.edu">cra@wpi.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Wed, Dec 17, 2008 at 10:05:53AM -0800, Jesse Keating wrote:<br>
> On Tue, 2008-12-16 at 22:17 -0600, Matt_Domsch@Dell.com wrote:<br>
> > Thoughts?<br>
><br>
> Why not something far far more simple, which is a site checksum. Each<br>
> time we put new content on the site, we update a checksum (it doesn't<br>
> have to be an /actual/ checksum, just some int we increase). Mirrors<br>
> can more frequently stat the value of this checksum against what they<br>
> have, and if it changes, they know to do a full rsync run. If it<br>
> doesn't change, they don't do an rsync run.<br>
><br>
> This would allow mirrors to ramp up their polling of us to every 10<br>
> minutes or even less, without worry of swamping our server with stats of<br>
> files. Any other solution is going to be "polling" in some form or<br>
> another, either a daemon listening for an ssh push, or a email server<br>
> waiting for mail to come in. This more simple method doesn't rely on<br>
> the setup of additional infrastructure on the mirror side, just a slight<br>
> adjustment to the cron jobs mirrors already have in place. If we make<br>
> the file available via rsync at a top level, or even different files at<br>
> different logical sections of the master mirror it would be quite<br>
> simple.<br>
<br>
</div></div>See my other email in this thread about what is essentially a<br>
"TIMESTAMP" file. The issue I see with this is that unless mirror<br>
admins are very careful to update the checksum/timestamp file<br>
separately after a regular sync is complete, we can end up with a<br>
situation where a downstream mirror thinks version X is up and ready<br>
but in reality it is only partially synced. Everybody should be using<br>
--delay-updates, but...<br>
<font color="#888888"><br>
--<br>
</font></blockquote></div>If you/we give scripts like mirrormaster for that job to the admins they will use it - I hope.<br>For Tear1 we could define it as a must, also the frequency to do the script, also the <br>--delay-updates <br>
<br>Why not try it, if it is simple?<br><br>Regards Guenther<br>