<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’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 “reserved option” 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’m not a C expert by any means), it seems as though it’s hard-coded to be “true” 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         /* ignore-deletes */</font></div>
<div><font face="Courier">4286         runinit_gsyncd_setrx (&amp;runner, conf_path);</font></div>
<div><font face="Courier">4287         runner_add_args (&amp;runner, &quot;ignore-deletes&quot;, &quot;true&quot;, &quot;.&quot;, &quot;.&quot;, NULL);</font></div>
<div><font face="Courier">4288         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>