<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I did have the &#8220;change_detector&#8221; set to xsync, which seems to be the issue (bypassing the changelog method). So I can fix that and see if the deletes are propagated.</div>
<div><br>
</div>
<div>Also, is there a way to tell the geo-replication to go ahead and walk the filesystems to do a &#8220;sync&#8221; so the remote side files are deleted, if they are not on the source?</div>
<div><br>
</div>
<div>Thanks for the quick reply!</div>
<div><br>
</div>
<div>
<div>[root@host ~]# gluster volume geo-replication test-poc 10.10.1.120::test-poc status detail</div>
<div><br>
</div>
<div>MASTER NODE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MASTER VOL &nbsp; &nbsp;MASTER BRICK &nbsp; &nbsp; SLAVE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STATUS &nbsp; &nbsp; CHECKPOINT STATUS &nbsp; &nbsp;CRAWL STATUS &nbsp; &nbsp;FILES SYNCD &nbsp; &nbsp;FILES PENDING &nbsp; &nbsp;BYTES PENDING &nbsp; &nbsp;DELETES PENDING &nbsp; &nbsp;FILES SKIPPED</div>
<div>----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div>host1.com &nbsp; &nbsp;test-poc &nbsp; &nbsp; &nbsp; /data/test-poc &nbsp; &nbsp;10.10.1.120::test-poc &nbsp; &nbsp;Passive &nbsp; &nbsp;N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 382 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0</div>
<div>host2.com &nbsp; &nbsp;test-poc &nbsp; &nbsp; &nbsp; /data/test-poc &nbsp; &nbsp;10.10.1.122::test-poc &nbsp; &nbsp;Passive &nbsp; &nbsp;N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0</div>
<div>host3.com &nbsp; &nbsp;test-poc &nbsp; &nbsp; &nbsp; /data/test-poc &nbsp; &nbsp;10.10.1.121::test-poc &nbsp; &nbsp;Active &nbsp; &nbsp; N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hybrid Crawl &nbsp; &nbsp;10765 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;70 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Venky Shankar &lt;<a href="mailto:yknev.shankar@gmail.com">yknev.shankar@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, April 16, 2014 at 1:54 PM<br>
<span style="font-weight:bold">To: </span>CJ Beck &lt;<a href="mailto:chris.beck@workday.com">chris.beck@workday.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Gluster-users] Question about geo-replication and deletes in 3.5 beta train<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">&quot;ignore-deletes&quot; is only valid in the initial crawl mode[1] where it does not propagate deletes to the slave (changelog mode does). Was the session restarted by any chance?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[1] Geo-replication now has two internal operations modes: a one shot filesystem crawl mode (used to replicate data already present in a volume) and the changelog mode (for replicating
 live changes).</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-venky</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Apr 17, 2014 at 1:25 AM, CJ Beck <span dir="ltr">
&lt;<a href="mailto:chris.beck@workday.com" target="_blank">chris.beck@workday.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;word-wrap:break-word">
<div style="font-family:Calibri,sans-serif">I have an issue where deletes are not being propagated to the slave cluster in a geo-replicated environment. I&#8217;ve looked through the code, and it appears as though this is something that might have been changed to
 be hard coded?</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">When I try to change it via a config option on the command line, it replies with a &#8220;reserved option&#8221; error:</div>
<div>
<div><font face="Courier">[root@host ~]# gluster volume geo-replication test-poc 10.10.1.120::test-poc config ignore_deletes 1</font></div>
<div><font face="Courier">Reserved option</font></div>
<div><font face="Courier">geo-replication command failed</font></div>
<div><font face="Courier">[root@host ~]# gluster volume geo-replication test-poc 10.10.1.120::test-poc config ignore-deletes 1</font></div>
<div><font face="Courier">Reserved option</font></div>
<div><font face="Courier">geo-replication command failed</font></div>
<div><font face="Courier">[root@host ~]#</font></div>
</div>
<br>
<div style="font-family:Calibri,sans-serif">Looking at the source code (although, I&#8217;m not a C expert by any means), it seems as though it&#8217;s hard-coded to be &#8220;true&#8221; all the time?</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">(from glusterd-geo-rep.c):</div>
<div>
<div><font face="Courier">4285 &nbsp; &nbsp; &nbsp; &nbsp; /* ignore-deletes */</font></div>
<div><font face="Courier">4286 &nbsp; &nbsp; &nbsp; &nbsp; runinit_gsyncd_setrx (&amp;runner, conf_path);</font></div>
<div><font face="Courier">4287 &nbsp; &nbsp; &nbsp; &nbsp; runner_add_args (&amp;runner, &quot;ignore-deletes&quot;, &quot;true&quot;, &quot;.&quot;, &quot;.&quot;, NULL);</font></div>
<div><font face="Courier">4288 &nbsp; &nbsp; &nbsp; &nbsp; RUN_GSYNCD_CMD;</font></div>
</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Any ideas how to get deletes propagated to the slave cluster?</div>
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">Thanks!</div>
<span class="HOEnZb"><font color="#888888">
<div style="font-family:Calibri,sans-serif"><br>
</div>
<div style="font-family:Calibri,sans-serif">-CJ</div>
</font></span></div>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>