<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, late reply again ...<br>
    <br>
    <div class="moz-cite-prefix">On 10/12/2015 5:33 PM, Krutika
      Dhananjay wrote:<br>
    </div>
    <blockquote
      cite="mid:22287928.16775269.1449732814843.JavaMail.zimbra@redhat.com"
      type="cite">
      <div>There is a 'heal-info summary' command that is under review,
        written by Mohammed Ashiq @ <a moz-do-not-send="true"
          href="http://review.gluster.org/#/c/12154/3">http://review.gluster.org/#/c/12154/3</a>
        which prints the number of files that are yet to be healed.<br>
      </div>
      <div>It could perhaps be enhanced to print files in split-brain
        and also files which are possibly being healed. Note that these
        counts are printed per brick.</div>
      <div>It does not print a single list of counts with aggregated
        values. Would that be something you would consider useful?<br>
      </div>
    </blockquote>
    <br>
    Very much so, that would be perfect. <br>
    <br>
    I can get close to this just with the following<br>
    <br>
    <tt>    gluster volume heal datastore1 info | grep 'Brick\|Number'</tt><br>
    <br>
    <br>
    And if one is feeling fancy or just wants to keep an eye on progress<br>
    <br>
    <tt>    watch "gluster volume heal datastore1 </tt><tt><tt>info </tt>|
      grep 'Brick\|Number'"</tt><br>
    <br>
    though of course this runs afoul of the heal info delay.<br>
    <br>
    <blockquote
      cite="mid:22287928.16775269.1449732814843.JavaMail.zimbra@redhat.com"
      type="cite">
      <div><br>
      </div>
      <blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>
        <br>
        <br>
        Also, it would be great if the heal info command could return
        faster, sometimes it takes over a minute.</blockquote>
      <div>Yeah, I think part of the problem could be eager-lock feature
        which is causing the GlusterFS client process to not relinquish
        the network lock on the file soon enough, causing the heal info
        utility to be blocked for longer duration.<br>
      </div>
      <div>There is an enhancement Anuradha Talur is working on where
        heal-info would do away with taking locks altogether. Once that
        is in place, heal-info should return faster.<br>
      </div>
      <div><br>
      </div>
    </blockquote>
    <br>
    <br>
    Excellent, I look fwd to that. Even if removing the locks results in
    the occasional inaccurate cout, I don't think that would mattter -
    From my POV its an indicator, not a absolute.<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Lindsay Mathieson</pre>
  </body>
</html>