comments are inlined<br><br><div class="gmail_quote">2008/12/11 Rash <span dir="ltr">&lt;rash@konto.pl&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
czw, 11 gru 2008, 14:54:38 +0400, Raghavendra G napisał(a):<br>
<div class="Ih2E3d">&gt; self heal is triggered when a lookup from pathname to inode happens. Both ls<br>
&gt; and cat file dont result in lookup on the directoy test. Hence self-heal is<br>
&gt; not perfromed. Can you try the following sequence of commands on client?<br>
&gt;<br>
&gt; /home/raghu/mnt/# ls<br>
&gt; file<br>
&gt;<br>
&gt; /home/raghu/mnt # rm file<br>
&gt; /home/raghu/mnt #cd ../<br>
&gt; /home/raghu # ls mnt/<br>
<br>
</div>I wonder is this a feature or bug. If self-heal is performed after<br>
lookup, shouldn&#39;t it be triggerd also after ls or cat? </blockquote><div><br>for the purpose of self-heal, operations that modiefies directory (rm, touch etc) are stored as extended attributes on the directory. And checking for pending operations can be done only when lookup happens on the directory itself (not on directory contents). Note that self-heal is triggered on the parent directory not on the file itself.<br>
<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;">If something is<br>
bind to a directory and is presenting it&#39;s content after some node is<br>
back, gluster can present nonexisting data. Why?<br>
<div><div></div><div class="Wj3C7c"><br>
Regards.<br>
<br>
--<br>
rash at konto pl<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>