<br><br><div class="gmail_quote">On Tue, Dec 30, 2008 at 12:29 PM, Keith Freedman <span dir="ltr">&lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
&gt; &gt; so, in the case where they both differ, how will we know which time will be<br>
&gt; &gt; associated with a file?<br>
&gt;<br>
&gt;The first subvol mentioned in the list is considered, if it is down,<br>
&gt;then the next is considered.<br>
<br>
</div>ok, so I made sure that my subvolume list on the servers is in the same order.<br>
I had always listed the local volume first and the remote one second,<br>
but it sounds like this would lead to each node using it&#39;s own<br>
timestamps or do all the servers in the AFR elect a preferred &#39;first&#39; subvol?<br>
<div class="Ih2E3d"><br>
&gt; &gt; and will it fix the on-disk stamp or just ignore it provided the other<br>
&gt; &gt; subvol is online?<br>
&gt;<br>
&gt;It will not fix the time stamp if they differ.<br>
<br>
</div>how about new files being replicated.. &nbsp;they&#39;ll get the timestamp of<br>
the server from which the source file is available?<br>
<br>
in other words.. if I add a new empty volume, and AFR copies<br>
everything to it... what dates will be on the local files?</blockquote><div><br>During self-heal afr sets the timestamps (atime and mtime) to that of the file on the source node.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
&gt; &gt; ideally, it will pick one, and make sure all the others are &#39;reset&#39; to that<br>
&gt; &gt; so that if the preferred vol goes offline, timestamps don&#39;t suddenly get<br>
&gt; &gt; weird.<br>
&gt;<br>
&gt;True, but ideally all servers and clients should be time synced using<br>
&gt;ntp. For example if clients<br>
&gt;are not in sync, one of them might see time stamp of the future.<br>
<br>
</div>mine are using ntp, so, again, if they differ,it&#39;s by microseconds.<br>
<div><div></div><div class="Wj3C7c"><br>
Keith<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>