<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
So, changelog is still active but I notice that some file were missing.
<div class=""><br class="">
</div>
<div class="">So I ‘m running a rsync -avn between the two vol (master and slave) to sync then again by touching the missing files (hopping geo-rep will do the rest).</div>
<div class=""><br class="">
</div>
<div class="">One question, can I pass the slave vol a RO ? Because if somebody change a file in the slave it’s no longer synced (changes and delete but rename keep synced between master and slave).</div>
<div class=""><br class="">
</div>
<div class="">Will it have an impact on geo-replication process if I pass the slave vol a RO ?</div>
<div class=""><br class="">
</div>
<div class="">Thanks again.<br class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">--&nbsp;<br class="">
Cyril Peponnet </div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On May 25, 2015, at 12:43 AM, Kotresh Hiremath Ravishankar &lt;<a href="mailto:khiremat@redhat.com" class="">khiremat@redhat.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hi
 Cyril,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Answers
 inline</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Thanks
 and Regards,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Kotresh
 H R</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">-----
 Original Message -----</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
From: &quot;Cyril N PEPONNET (Cyril)&quot; &lt;<a href="mailto:cyril.peponnet@alcatel-lucent.com" class="">cyril.peponnet@alcatel-lucent.com</a>&gt;<br class="">
To: &quot;Kotresh Hiremath Ravishankar&quot; &lt;<a href="mailto:khiremat@redhat.com" class="">khiremat@redhat.com</a>&gt;<br class="">
Cc: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org" class="">gluster-users@gluster.org</a>&gt;<br class="">
Sent: Friday, May 22, 2015 9:34:47 PM<br class="">
Subject: Re: [Gluster-users] Geo-Replication - Changelog socket is not present - Falling back to xsync<br class="">
<br class="">
One last question, correct me if I’m wrong.<br class="">
<br class="">
When you start a geo-rep process it starts with xsync aka hybrid crawling<br class="">
(sending files every 60s, with files windows set as 8192 files per sent).<br class="">
<br class="">
When the crawl is done it should use changelog detector and dynamically<br class="">
change things to slaves.<br class="">
<br class="">
1/ During the hybride crawl, if we delete files from master (and they were<br class="">
already transfered to the slave), xsync process will not delete them from<br class="">
the slave (and we can’t change as the option as is hardcoded).<br class="">
When it will pass to changelog, will it remove the non existent folders and<br class="">
files on the slave that are no longer on the master ?<br class="">
<br class="">
</blockquote>
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;You
 are right, xsync does not sync delete files, once it is already synced.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;After
 xsync, when it switches to changelog, it doesn't delete all the non existing</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;entries
 on slave that are no longer on the master. Changelog is capable of deleting</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;files
 from the time it got switched to changelog.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
2/ With changelog, if I add a file of 10GB and after a file of 1KB, will the<br class="">
changelog process with queue (waiting for the 10GB file to be sent) or are<br class="">
the sent done in thread ?<br class="">
(ex I add a 10GB file and I delete it after 1min, what will happen ?)<br class="">
<br class="">
</blockquote>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;Changelog
 records the operations happened in master and is replayed by geo-replication</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;on
 to slave volume. Geo-replication syncs files in two phases.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;1.
 Phase-1: Create entries through RPC( 0 byte files on slave keeping gfid intact as in master)<span class="Apple-converted-space">&nbsp;</span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;2.
 Phase-2: Sync data, through rsync/tar_over_ssh (Multi threaded)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;Ok,
 now keeping that in mind, Phase-1 happens serially, and the phase two happens parallely.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;Zero
 byte files of 10GB and 1KB gets created on slave serially and data for the same syncs</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;parallely.
 Another thing to remember, geo-rep makes sure that, syncing data to file is tried</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">&nbsp;&nbsp;only
 after zero byte file for the same is created already.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">In
 latest release 3.7, xsync crawl is minimized by the feature called history crawl introduced in 3.6.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">So
 the chances of missing deletes/renames are less.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Thanks.<br class="">
<br class="">
--<br class="">
Cyril Peponnet<br class="">
<br class="">
<blockquote type="cite" class="">On May 21, 2015, at 10:22 PM, Kotresh Hiremath Ravishankar<br class="">
&lt;<a href="mailto:khiremat@redhat.com" class="">khiremat@redhat.com</a>&gt; wrote:<br class="">
<br class="">
Great, hope that should work. Let's see<br class="">
<br class="">
Thanks and Regards,<br class="">
Kotresh H R<br class="">
<br class="">
----- Original Message -----<br class="">
<blockquote type="cite" class="">From: &quot;Cyril N PEPONNET (Cyril)&quot; &lt;<a href="mailto:cyril.peponnet@alcatel-lucent.com" class="">cyril.peponnet@alcatel-lucent.com</a>&gt;<br class="">
To: &quot;Kotresh Hiremath Ravishankar&quot; &lt;<a href="mailto:khiremat@redhat.com" class="">khiremat@redhat.com</a>&gt;<br class="">
Cc: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org" class="">gluster-users@gluster.org</a>&gt;<br class="">
Sent: Friday, May 22, 2015 5:31:13 AM<br class="">
Subject: Re: [Gluster-users] Geo-Replication - Changelog socket is not<br class="">
present - Falling back to xsync<br class="">
<br class="">
Thanks to JoeJulian / Kaushal I managed to re-enable the changelog option<br class="">
and<br class="">
the socket is now present.<br class="">
<br class="">
For the record I had some clients running rhs gluster-fuse and our nodes<br class="">
are<br class="">
running glusterfs release and op-version are not “compatible”.<br class="">
<br class="">
Now I have to wait for the init crawl see if it switches to changelog<br class="">
detector mode.<br class="">
<br class="">
Thanks Kotresh<br class="">
--<br class="">
Cyril Peponnet<br class="">
<br class="">
<blockquote type="cite" class="">On May 21, 2015, at 8:39 AM, Cyril Peponnet<br class="">
&lt;<a href="mailto:cyril.peponnet@alcatel-lucent.com" class="">cyril.peponnet@alcatel-lucent.com</a>&gt; wrote:<br class="">
<br class="">
Hi,<br class="">
<br class="">
Unfortunately,<br class="">
<br class="">
# gluster vol set usr_global changelog.changelog off<br class="">
volume set: failed: Staging failed on<br class="">
<a href="http://mvdcgluster01.us.alcatel-lucent.com" class="">mvdcgluster01.us.alcatel-lucent.com</a>.<br class="">
Error: One or more connected clients cannot support the feature being<br class="">
set.<br class="">
These clients need to be upgraded or disconnected before running this<br class="">
command again<br class="">
<br class="">
<br class="">
I don’t know really why, I have some clients using 3.6 as fuse client<br class="">
others are running on 3.5.2.<br class="">
<br class="">
Any advice ?<br class="">
<br class="">
--<br class="">
Cyril Peponnet<br class="">
<br class="">
<blockquote type="cite" class="">On May 20, 2015, at 5:17 AM, Kotresh Hiremath Ravishankar<br class="">
&lt;<a href="mailto:khiremat@redhat.com" class="">khiremat@redhat.com</a>&gt; wrote:<br class="">
<br class="">
Hi Cyril,<br class="">
<br class="">
From the brick logs, it seems the changelog-notifier thread has got<br class="">
killed<br class="">
for some reason,<br class="">
as notify is failing with EPIPE.<br class="">
<br class="">
Try the following. It should probably help:<br class="">
1. Stop geo-replication.<br class="">
2. Disable changelog: gluster vol set &lt;master-vol-name&gt;<br class="">
changelog.changelog off<br class="">
3. Enable changelog: glluster vol set &lt;master-vol-name&gt;<br class="">
changelog.changelog on<br class="">
4. Start geo-replication.<br class="">
<br class="">
Let me know if it works.<br class="">
<br class="">
Thanks and Regards,<br class="">
Kotresh H R<br class="">
<br class="">
----- Original Message -----<br class="">
<blockquote type="cite" class="">From: &quot;Cyril N PEPONNET (Cyril)&quot; &lt;<a href="mailto:cyril.peponnet@alcatel-lucent.com" class="">cyril.peponnet@alcatel-lucent.com</a>&gt;<br class="">
To: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org" class="">gluster-users@gluster.org</a>&gt;<br class="">
Sent: Tuesday, May 19, 2015 3:16:22 AM<br class="">
Subject: [Gluster-users] Geo-Replication - Changelog socket is not<br class="">
present - Falling back to xsync<br class="">
<br class="">
Hi Gluster Community,<br class="">
<br class="">
I have a 3 nodes setup at location A and a two node setup at location<br class="">
B.<br class="">
<br class="">
All running 3.5.2 under Centos-7.<br class="">
<br class="">
I have one volume I sync through georeplication process.<br class="">
<br class="">
So far so good, the first step of geo-replication is done<br class="">
(hybrid-crawl).<br class="">
<br class="">
Now I’d like to use the change log detector in order to delete files on<br class="">
the<br class="">
slave when they are gone on master.<br class="">
<br class="">
But it always fallback to xsync mecanism (even when I force it using<br class="">
config<br class="">
changelog_detector changelog):<br class="">
<br class="">
[2015-05-18 12:29:49.543922] I [monitor(monitor):129:monitor] Monitor:<br class="">
------------------------------------------------------------<br class="">
[2015-05-18 12:29:49.544018] I [monitor(monitor):130:monitor] Monitor:<br class="">
starting gsyncd worker<br class="">
[2015-05-18 12:29:49.614002] I [gsyncd(/export/raid/vol):532:main_i]<br class="">
&lt;top&gt;:<br class="">
syncing: <a href="gluster://localhost:vol" class="">gluster://localhost:vol</a> -&gt;<br class="">
<a href="ssh://root@x.x.x.x:gluster://localhost:vol" class="">ssh://root@x.x.x.x:gluster://localhost:vol</a><br class="">
[2015-05-18 12:29:54.696532] I<br class="">
[master(/export/raid/vol):58:gmaster_builder]<br class="">
&lt;top&gt;: setting up xsync change detection mode<br class="">
[2015-05-18 12:29:54.696888] I [master(/export/raid/vol):357:__init__]<br class="">
_GMaster: using 'rsync' as the sync engine<br class="">
[2015-05-18 12:29:54.697930] I<br class="">
[master(/export/raid/vol):58:gmaster_builder]<br class="">
&lt;top&gt;: setting up changelog change detection mode<br class="">
[2015-05-18 12:29:54.698160] I [master(/export/raid/vol):357:__init__]<br class="">
_GMaster: using 'rsync' as the sync engine<br class="">
[2015-05-18 12:29:54.699239] I [master(/export/raid/vol):1104:register]<br class="">
_GMaster: xsync temp directory:<br class="">
/var/run/gluster/vol/ssh%3A%2F%2Froot%40x.x.x.x%3Agluster%3A%2F%2F127.0.0.1%3Avol/ce749a38ba30d4171cd674ec00ab24f9/xsync<br class="">
[2015-05-18 12:30:04.707216] I<br class="">
[master(/export/raid/vol):682:fallback_xsync]<br class="">
_GMaster: falling back to xsync mode<br class="">
[2015-05-18 12:30:04.742422] I<br class="">
[syncdutils(/export/raid/vol):192:finalize]<br class="">
&lt;top&gt;: exiting.<br class="">
[2015-05-18 12:30:05.708123] I [monitor(monitor):157:monitor] Monitor:<br class="">
worker(/export/raid/vol) died in startup phase<br class="">
[2015-05-18 12:30:05.708369] I [monitor(monitor):81:set_state] Monitor:<br class="">
new<br class="">
state: faulty<br class="">
[201<br class="">
<br class="">
After some python debugging and stack strace printing I figure out<br class="">
that:<br class="">
<br class="">
/var/run/gluster/vol/ssh%3A%2F%2Froot%40x.x.x.x%3Agluster%3A%2F%2F127.0.0.1%3Avol/ce749a38ba30d4171cd674ec00ab24f9/changes.log<br class="">
<br class="">
[2015-05-18 19:41:24.511423] I<br class="">
[gf-changelog.c:179:gf_changelog_notification_init] 0-glusterfs:<br class="">
connecting<br class="">
to changelog socket:<br class="">
/var/run/gluster/changelog-ce749a38ba30d4171cd674ec00ab24f9.sock<br class="">
(brick:<br class="">
/export/raid/vol)<br class="">
[2015-05-18 19:41:24.511445] W<br class="">
[gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs:<br class="">
connection<br class="">
attempt 1/5...<br class="">
[2015-05-18 19:41:26.511556] W<br class="">
[gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs:<br class="">
connection<br class="">
attempt 2/5...<br class="">
[2015-05-18 19:41:28.511670] W<br class="">
[gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs:<br class="">
connection<br class="">
attempt 3/5...<br class="">
[2015-05-18 19:41:30.511790] W<br class="">
[gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs:<br class="">
connection<br class="">
attempt 4/5...<br class="">
[2015-05-18 19:41:32.511890] W<br class="">
[gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs:<br class="">
connection<br class="">
attempt 5/5...<br class="">
[2015-05-18 19:41:34.512016] E<br class="">
[gf-changelog.c:204:gf_changelog_notification_init] 0-glusterfs: could<br class="">
not<br class="">
connect to changelog socket! bailing out...<br class="">
<br class="">
<br class="">
/var/run/gluster/changelog-ce749a38ba30d4171cd674ec00ab24f9.sock<br class="">
doesn’t<br class="">
exist. So the<br class="">
https://github.com/gluster/glusterfs/blob/release-3.5/xlators/features/changelog/lib/src/gf-changelog.c#L431<br class="">
is failing because<br class="">
https://github.com/gluster/glusterfs/blob/release-3.5/xlators/features/changelog/lib/src/gf-changelog.c#L153<br class="">
cannot open the socket file.<br class="">
<br class="">
And I don’t find any error related to changelog in log files, except on<br class="">
brick<br class="">
logs node 2 (site A)<br class="">
<br class="">
bricks/export-raid-vol.log-20150517:[2015-05-14 17:06:52.636908] E<br class="">
[changelog-helpers.c:168:changelog_rollover_changelog] 0-vol-changelog:<br class="">
Failed to send file name to notify thread (reason: Broken pipe)<br class="">
bricks/export-raid-vol.log-20150517:[2015-05-14 17:06:52.636949] E<br class="">
[changelog-helpers.c:280:changelog_handle_change] 0-vol-changelog:<br class="">
Problem<br class="">
rolling over changelog(s)<br class="">
<br class="">
gluster vol status is all fine, and change-log options are enabled in<br class="">
vol<br class="">
file<br class="">
<br class="">
volume vol-changelog<br class="">
type features/changelog<br class="">
option changelog on<br class="">
option changelog-dir /export/raid/vol/.glusterfs/changelogs<br class="">
option changelog-brick /export/raid/vol<br class="">
subvolumes vol-posix<br class="">
end-volume<br class="">
<br class="">
Any help will be appreciated :)<br class="">
<br class="">
Oh Btw, hard to stop / restart the volume as I have around 4k clients<br class="">
connected.<br class="">
<br class="">
Thanks !<br class="">
<br class="">
--<br class="">
Cyril Peponnet<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Gluster-users mailing list<br class="">
Gluster-users@gluster.org<br class="">
http://www.gluster.org/mailman/listinfo/gluster-users</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>