<div>Amazing, thanks Amar for creating the issue!<br></div><div><br></div><div>Cheers,<br></div><div>M.<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: Re: [Gluster-users] Fw: Deletion of old CHANGELOG files in .glusterfs/changelogs<br></div><div>Local Time: April 6, 2017 4:08 AM<br></div><div>UTC Time: April 6, 2017 2:08 AM<br></div><div>From: atumball@redhat.com<br></div><div>To: mabi <mabi@protonmail.ch><br></div><div>Mohammed Rafi K C <rkavunga@redhat.com>, Gluster Users <gluster-users@gluster.org><br></div><div><br></div><div dir="ltr"><div><br></div><div class="gmail_extra"><div><br></div><div class="gmail_quote"><div>On Wed, Apr 5, 2017 at 10:58 PM, mabi <span dir="ltr"><<a rel="noreferrer nofollow noopener" href="mailto:mabi@protonmail.ch">mabi@protonmail.ch</a>></span> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div>Thanks to all of you for your answers.<br></div><div>I will try the archive tool as recommended by Aravinda.<br></div><div>Just for your information I suppose you are aware that having tons of files such as the CHANGELOGS in one single directory is really sub-optimal. Maybe better would be to have a 2 level hierarchy and store the files using an algorithm to distribute the files among that 2 level hierarchy of sub-directories, especially if there is no archiving of these files by default. Just my two cents ;-)<br></div><div><br></div></blockquote><div><br></div><div><div>These 2 cents helps when summed up later :-)<br></div></div><div><div>Created a github issues so that we don't miss it : <a rel="noreferrer nofollow noopener" href="https://github.com/gluster/glusterfs/issues/154">https://github.com/gluster/glusterfs/issues/154</a> <br></div></div><div>Regards,<br></div><div>Amar<br></div><div><div><br></div><div> <br></div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><br></div><div>Cheers<br></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail-m_-1234818662926884509protonmail_signature_block gmail-m_-1234818662926884509protonmail_signature_block-empty"><div class="gmail-m_-1234818662926884509protonmail_signature_block-user gmail-m_-1234818662926884509protonmail_signature_block-empty"><div><br></div></div><div class="gmail-m_-1234818662926884509protonmail_signature_block-proton gmail-m_-1234818662926884509protonmail_signature_block-empty"><br></div></div><div><br></div><blockquote type="cite" class="gmail-m_-1234818662926884509protonmail_quote"><div>-------- Original Message --------<br></div><div>Subject: Re: [Gluster-users] Fw: Deletion of old CHANGELOG files in .glusterfs/changelogs<br></div><div>Local Time: April 5, 2017 8:44 AM<br></div><div>UTC Time: April 5, 2017 6:44 AM<br></div><div>From: <a rel="noreferrer nofollow noopener" href="mailto:atumball@redhat.com">atumball@redhat.com</a><br></div><div>To: Mohammed Rafi K C <<a rel="noreferrer nofollow noopener" href="mailto:rkavunga@redhat.com">rkavunga@redhat.com</a>><br></div><div>mabi <<a rel="noreferrer nofollow noopener" href="mailto:mabi@protonmail.ch">mabi@protonmail.ch</a>>, Gluster Users <<a rel="noreferrer nofollow noopener" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>><br></div><div><br></div><div dir="ltr"><div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><span><blockquote type="cite"><blockquote class="gmail-m_-1234818662926884509m_-6748981546244674762protonmail_quote" type="cite"><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 class="gmail-m_-1234818662926884509m_-6748981546244674762moz-txt-link-abbreviated" href="mailto:mabi@protonmail.ch" rel="noreferrer nofollow noopener">mabi@protonmail.ch</a><br></div><div>To: Gluster Users <a class="gmail-m_-1234818662926884509m_-6748981546244674762moz-txt-link-rfc2396E" href="mailto:gluster-users@gluster.org" rel="noreferrer nofollow noopener"><gluster-users@gluster.org></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.<TIMESTAMP> 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><div><br></div></span><div>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></div></div></blockquote><div><div><br></div></div><div><div>+1 for the reasoning.<br></div><div> <br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div><br></div><div>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></div><div><br></div></div></blockquote><div><br></div><div>If georep is the only consumer, you can use <a href="https://github.com/aravindavk/archive_gluster_changelogs" rel="noreferrer nofollow noopener">Aravinda's tool </a>to move the files to another dir, and delete them.<br></div><div> <br></div></div><div class="gmail_quote">Regards,<br></div><div class="gmail_quote">Amar<br></div><div class="gmail_quote"><div> <br></div></div></div></div></blockquote><div><br></div></div></div></blockquote></div><div><br></div><div><br></div><div><br></div><div>-- <br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div></div></div></blockquote><div><br></div>