<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>This tool can be used to archive Gluster Changelogs to different
      directory<br>
      <a class="moz-txt-link-freetext" href="https://github.com/aravindavk/archive_gluster_changelogs">https://github.com/aravindavk/archive_gluster_changelogs</a><br>
    </tt>
    <pre class="moz-signature" cols="72">regards
Aravinda</pre>
    <div class="moz-cite-prefix">On 04/05/2017 11:22 AM, Mohammed Rafi K
      C wrote:<br>
    </div>
    <blockquote
      cite="mid:3a59abba-8f08-a483-96f1-170315e54e02@redhat.com"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p><br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 04/04/2017 10:53 PM, mabi wrote:<br>
      </div>
      <blockquote
cite="mid:halcCegkGpL2IlEYnyqbo0UUURrmIbUSmoBjd9SgdXtbtl7_d794Luly_-gwJtn05Hw4f049xWz11PlH87mxQWywlAW1pWAzWUmDrnylL8A=@protonmail.ch"
        type="cite">
        <div>Anyone?<br>
        </div>
        <div class="protonmail_signature_block
          protonmail_signature_block-empty">
          <div class="protonmail_signature_block-user
            protonmail_signature_block-empty">
            <div><br>
            </div>
          </div>
          <div class="protonmail_signature_block-proton
            protonmail_signature_block-empty"><br>
          </div>
        </div>
        <div><br>
        </div>
        <blockquote class="protonmail_quote" type="cite">
          <div>-------- Original Message --------<br>
          </div>
          <div>Subject: Deletion of old CHANGELOG files in
            .glusterfs/changelogs<br>
          </div>
          <div>Local Time: March 31, 2017 11:22 PM<br>
          </div>
          <div>UTC Time: March 31, 2017 9:22 PM<br>
          </div>
          <div>From: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:mabi@protonmail.ch">mabi@protonmail.ch</a><br>
          </div>
          <div>To: Gluster Users <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:gluster-users@gluster.org">&lt;gluster-users@gluster.org&gt;</a><br>
          </div>
          <div><br>
          </div>
          <div>Hi,<br>
          </div>
          <div><br>
          </div>
          <div>I am using geo-replication since now over a year on my
            3.7.20 GlusterFS volumes and noticed that the
            CHANGELOG.&lt;TIMESTAMP&gt; in the .glusterfs/changelogs
            directory of a brick never get deleted. I have for example
            over 120k files in one of these directories and it is
            growing constantly.<br>
          </div>
          <div><br>
          </div>
          <div>So my question, does GlusterFS have any mechanism to
            automatically delete old and processed CHANGELOG files? If
            not is it safe to delete them manually?<br>
          </div>
        </blockquote>
      </blockquote>
      <br>
      I will try to answer the question, I'm not an expert in
      geo-replication, So I could be wrong here. I think GlusterFS won't
      delete the changelogs automatically, reason being geo-replication
      is not the author of changelogs, it is just a consumer any other
      application could use changelogs.<br>
      <br>
      You can safely delete<b> *all processed*</b> changelogs from
      actual changelogs directory and geo-replication directory. You can
      look into the stime set as the extended attribute on the root to
      see the time which geo-replication last synced.<br>
      <br>
      Adding Kotresh, and Aravinda .<br>
      <br>
      Regards<br>
      Rafi KC<br>
      <br>
      <br>
      <blockquote
cite="mid:halcCegkGpL2IlEYnyqbo0UUURrmIbUSmoBjd9SgdXtbtl7_d794Luly_-gwJtn05Hw4f049xWz11PlH87mxQWywlAW1pWAzWUmDrnylL8A=@protonmail.ch"
        type="cite">
        <blockquote class="protonmail_quote" type="cite">
          <div class="protonmail_signature_block
            protonmail_signature_block-empty">
            <div class="protonmail_signature_block-user
              protonmail_signature_block-empty">
              <div><br>
              </div>
            </div>
            <div class="protonmail_signature_block-proton
              protonmail_signature_block-empty"><br>
            </div>
          </div>
          <div><br>
          </div>
          <div>Regards,<br>
          </div>
          <div>Mabi<br>
          </div>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>