<div dir="ltr"><div><div><div>I just checked the code. All `statistics heal-count` does is to count the number of indices (in other words the number of files to be healed) present per brick in the .glusterfs/indices/xattrop directory - which is where we hold empty files representing inodes that need heal - and prints them. I even tested it on my local setup, in terms of creating a few thousand files and writing data into them while a brick is down and then executing the command after bringing the brick back up periodically. It worked for me.<br><br></div>`heal info` also reads individual indices in the same directory, but it takes locks to confirm they need heal by examining the pending xattrs.<br><br></div>Could you describe how you ran into this issue?<br><br></div>-Krutika<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 6:22 PM, Lindsay Mathieson <span dir="ltr">&lt;<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently on my cluster:<br>
<br>
<br>
    &quot;gluster volume heal &lt;DS&gt; statistic heal-count&quot; shows zero to heal on all nodos<br>
<br>
but<br>
<br>
    &quot;gluster volume heal &lt;DS&gt; info&quot;<br>
<br>
shows multiple shards on all nodes, and it keeps updating.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Lindsay Mathieson<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</font></span></blockquote></div><br></div>