<p>We will bw working on background file sync and atleast give it as a configurable option.</p>
<p>Avati</p>
<p><blockquote>On Jan 16, 2009 3:41 AM, &quot;Keith Freedman&quot; &lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>&gt; wrote:<br><br><p><font color="#500050">At 03:22 AM 1/16/2009, Krishna Srinivas wrote:
&gt;In the latest AFR code, the healing code is in looku...</font></p>this behavior is extremely handy from the perspective of data<br>
integrity, however, it&#39;s disastrous from the perspective of IO<br>
performance from an applications point of view.<br>
<br>
the idea that an application should have to wait while file<br>
completely unrelated to it&#39;s needs are being auto-healed is an<br>
unnecessary one. &nbsp;There&#39;s got to be a way to handle this. &nbsp;The<br>
replication should happen in the background, and gluster should be<br>
smart enough to first auto-heal the file in question return control<br>
back to the requesting process and then continue healing in the background.<br>
<br>
in the case of a directory, the listing of the directory can be<br>
returned without actually copying over all the files therein. &nbsp;This<br>
should be a relatively quick operation.<br>
<br>
Lets take an example case of a repository for large video<br>
files. &nbsp;each one being 1GB.<br>
I have a server down for a few hours, during which time 300 of these<br>
files have been updated.<br>
<br>
now all I need to know is which ones changed recently (say, ls -alrtu<br>
| tail -5) . &nbsp;I block waiting for 300GB of data to be transferred<br>
when I only need a directory listing?<br>
similarly, if I get a request for just one of those files, I have to<br>
wait for 300GB of data to move around before I can get access to the<br>
only 1GB that matters at that time?<br>
<br>
If this is only temporary until the new healing methodology<br>
previously discussed on the list is in place, I suppose it&#39;s<br>
liveable, but if this is the way it&#39;s going to continue to work, I<br>
can&#39;t imagine it being useful in any practical real-world situations<br>
with either large directories or large files with a normal level of<br>
file updates/modifications.<br>
<font color="#888888"><br>
Keith<br>
</font><p><font color="#500050">
&gt;Krishna
&gt;
&gt;On Thu, Jan 15, 2009 at 9:35 AM, Keith Freedman 
&gt;&lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>&gt; wrote:
&gt; &gt; ...</font></p></blockquote></p>