<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Fascinating, thank you.<br>
      <br>
      On 22/01/2016 10:33 PM, Krutika Dhananjay wrote:<br>
    </div>
    <blockquote
      cite="mid:135643437.7630531.1453465998408.JavaMail.zimbra@redhat.com"
      type="cite">
      <div style="font-family: garamond,new york,times,serif; font-size:
        12pt; color: #000000">
        <div>There is no doc to my knowledge. I will write one, now that
          you pointed it out. ;)<br>
        </div>
        <div><br>
        </div>
        <div>Client-side heals are heals that happen from the GlusterFS
          client, as part of LOOKUP, sometimes even READ, [F]STAT,  etc.</div>
        <div>You can tell when a client did a heal if a corresponding
          log message appears in that client's log file (usually the
          ones with MSGID: 108026, although name heals aren't logged).<br>
        </div>
        <div>They are enabled by default.<br>
          To disable entry heal from clients for instance, you do
          #gluster volume set &lt;VOL&gt; cluster.entry-self-heal off<br>
        </div>
        <div>To disable data self-heal from clients, you do #gluster
          volume set &lt;VOL&gt; cluster.data-self-heal off<br>
        </div>
        <div><br>
        </div>
        <div>If you want to prevent the client from doing self-heal
          altogether, you disable all three forms of client healing:
          data-self-heal, entry-self-heal and metadata-self-heal.<br>
        </div>
        <div><br>
        </div>
        <div>Server side heals are heals that are performed by the
          self-heal daemon. You will see log messages with MSGID: 108026
          in glustershd.log when the self-heal-daemon performs a heal.<br>
        </div>
        <div>Server side heals happen in the following cases:<br>
        </div>
        <div>1) when you execute #gluster volume heal &lt;VOL&gt; full<br>
        </div>
        <div>2) when you execute #gluster volume heal &lt;VOL&gt;<br>
        </div>
        <div>3) when a brick that was previously down comes back up.<br>
        </div>
        <div><br>
        </div>
        <div>To disable server side heal, you need to disable the
          self-heal-daemon. You can do that with #gluster volume set
          &lt;VOL&gt; cluster.self-heal-daemon off<br>
        </div>
        <div><br>
        </div>
        <div>HTH,<br>
        </div>
        <div>Krutika<br>
        </div>
        <hr id="zwchr">
        <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;"><b>From:
          </b>"Lindsay Mathieson" <a class="moz-txt-link-rfc2396E" href="mailto:lindsay.mathieson@gmail.com">&lt;lindsay.mathieson@gmail.com&gt;</a><br>
          <b>To: </b>"Krutika Dhananjay" <a class="moz-txt-link-rfc2396E" href="mailto:kdhananj@redhat.com">&lt;kdhananj@redhat.com&gt;</a><br>
          <b>Cc: </b>"gluster-users" <a class="moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org">&lt;gluster-users@gluster.org&gt;</a><br>
          <b>Sent: </b>Friday, January 22, 2016 5:51:01 PM<br>
          <b>Subject: </b>Re: [Gluster-users] File Corruption when
          adding bricks to live replica volumes<br>
          <div><br>
          </div>
          On 22/01/2016 10:07 PM, Krutika Dhananjay wrote:<br>
          &gt; Could you do the following:<br>
          &gt; 1) Disable client-side healing:<br>
          <div><br>
          </div>
          <br>
          Will do. Wasn't aware there were different types of healing -
          is there <br>
          client and server side heals? are there any docs on this?<br>
          <div><br>
          </div>
          thanks,<br>
          <div><br>
          </div>
          -- <br>
          Lindsay Mathieson<br>
          <div><br>
          </div>
        </blockquote>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Lindsay Mathieson</pre>
  </body>
</html>