On Wed, Dec 17, 2008 at 7:23 PM, Chuck Anderson <span dir="ltr">&lt;<a href="mailto:cra@wpi.edu">cra@wpi.edu</a>&gt;</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>
&gt; On Tue, 2008-12-16 at 22:17 -0600, Matt_Domsch@Dell.com wrote:<br>
&gt; &gt; Thoughts?<br>
&gt;<br>
&gt; Why not something far far more simple, which is a site checksum. &nbsp;Each<br>
&gt; time we put new content on the site, we update a checksum (it doesn&#39;t<br>
&gt; have to be an /actual/ checksum, just some int we increase). &nbsp;Mirrors<br>
&gt; can more frequently stat the value of this checksum against what they<br>
&gt; have, and if it changes, they know to do a full rsync run. &nbsp;If it<br>
&gt; doesn&#39;t change, they don&#39;t do an rsync run.<br>
&gt;<br>
&gt; This would allow mirrors to ramp up their polling of us to every 10<br>
&gt; minutes or even less, without worry of swamping our server with stats of<br>
&gt; files. &nbsp;Any other solution is going to be &quot;polling&quot; in some form or<br>
&gt; another, either a daemon listening for an ssh push, or a email server<br>
&gt; waiting for mail to come in. &nbsp;This more simple method doesn&#39;t rely on<br>
&gt; the setup of additional infrastructure on the mirror side, just a slight<br>
&gt; adjustment to the cron jobs mirrors already have in place. &nbsp;If we make<br>
&gt; the file available via rsync at a top level, or even different files at<br>
&gt; different logical sections of the master mirror it would be quite<br>
&gt; simple.<br>
<br>
</div></div>See my other email in this thread about what is essentially a<br>
&quot;TIMESTAMP&quot; file. &nbsp;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. &nbsp;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>