<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; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Ok, I have found a way to get back to “ChangeLog”… &nbsp;This might be related to the similar thread that we have going regarding the method for setting up the initial geo-replication session. Seems as though when geo-repliation is set up on my cluster, it
 tried to open the changelog fifo, but it wasn’t there.</div>
<div><br>
</div>
<div>In order to fix this, I had to do the following:</div>
<div><br>
</div>
<ul>
<li>Stop geo-replication</li><li>Stop volume</li><li>Start volume</li><li>Change geo-replication “change_detector” to changelog</li><li>Start geo-replication</li></ul>
<div>Once I did that, it went to Hybrid mode first, then changed to ChangeLog mode.</div>
<div><br>
</div>
<div>-CJ</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>CJ Beck &lt;<a href="mailto:chris.beck@workday.com">chris.beck@workday.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Thursday, May 1, 2014 at 10:28 AM<br>
<span style="font-weight:bold">To: </span>Venky Shankar &lt;<a href="mailto:yknev.shankar@gmail.com">yknev.shankar@gmail.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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px;">
<div style="font-family: Calibri, sans-serif;">I just noticed this, which might be related to the change to xsync?</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div>
<div><font face="Courier">[root@dev604 eafea2c974a3c29ecfbf48cea274dc23]# more changes.log</font></div>
<div><font face="Courier">[2014-04-30 15:45:27.807181] I [gf-changelog.c:179:gf_changelog_notification_init] 0-glusterfs: connecting to changelog socket: /var/run/gluster/changelog-eafea2c974a3c29ecfbf48cea274dc23.sock (brick: /data/sac-poc)</font></div>
<div><font face="Courier">[2014-04-30 15:45:27.807257] W [gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs: connection attempt 1/5...</font></div>
<div><font face="Courier">[2014-04-30 15:45:29.807404] W [gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs: connection attempt 2/5...</font></div>
<div><font face="Courier">[2014-04-30 15:45:31.807607] W [gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs: connection attempt 3/5...</font></div>
<div><font face="Courier">[2014-04-30 15:45:33.807818] W [gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs: connection attempt 4/5...</font></div>
<div><font face="Courier">[2014-04-30 15:45:35.808038] W [gf-changelog.c:189:gf_changelog_notification_init] 0-glusterfs: connection attempt 5/5...</font></div>
<div><font face="Courier">[2014-04-30 15:45:37.808239] E [gf-changelog.c:204:gf_changelog_notification_init] 0-glusterfs: could not connect to changelog socket! bailing out...</font></div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif;">
<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>CJ Beck &lt;<a href="mailto:chris.beck@workday.com">chris.beck@workday.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, April 30, 2014 at 2:50 PM<br>
<span style="font-weight:bold">To: </span>Venky Shankar &lt;<a href="mailto:yknev.shankar@gmail.com">yknev.shankar@gmail.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 style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px;">
<div style="font-family: Calibri, sans-serif;">I just got back to testing this, and for some reason on my “freshly” created cluster and geo-replication session, it’s defaulting to “Hybrid Mode”. It also keeps bouncing back to xsync as the change method (it
 seems).</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Geo-replication log:</div>
<div>
<div><font face="Courier">[root@dev604 gluster-poc]# egrep -i 'changelog|xsync' *</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:27.763072] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up xsync change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:27.765294] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up changelog change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:27.768302] I [master(/data/gluster-poc):1103:register] _GMaster: xsync temp directory: /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:37.808617] I [master(/data/gluster-poc):682:fallback_xsync] _GMaster: falling back to xsync mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:52.113879] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up xsync change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:52.116525] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up xsync change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:52.120129] I [master(/data/gluster-poc):1103:register] _GMaster: xsync temp directory: /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:52.120604] I [master(/data/gluster-poc):1103:register] _GMaster: xsync temp directory: /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:45:54.146847] I [master(/data/gluster-poc):1133:crawl] _GMaster: processing xsync changelog /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync/XSYNC-CHANGELOG.1398872752</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:47:08.204514] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up xsync change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:47:08.206767] I [master(/data/gluster-poc):58:gmaster_builder] &lt;top&gt;: setting up xsync change detection mode</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:47:08.210570] I [master(/data/gluster-poc):1103:register] _GMaster: xsync temp directory: /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:47:08.211069] I [master(/data/gluster-poc):1103:register] _GMaster: xsync temp directory: /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync</font></div>
<div><font face="Courier">ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc.log:[2014-04-30 15:47:09.247109] I [master(/data/gluster-poc):1133:crawl] _GMaster: processing xsync changelog /var/run/gluster/gluster-poc/ssh%3A%2F%2Froot%4010.10.10.120%3Agluster%3A%2F%2F127.0.0.1%3Agluster-poc/eafea2c974a3c29ecfbf48cea274dc23/xsync/XSYNC-CHANGELOG.1398872828</font></div>
</div>
<div><font face="Courier"><br>
</font></div>
<div><font face="Courier"><br>
</font></div>
<div>
<div>[root@dev604 gluster-poc]# gluster volume geo-replication gluster-poc 10.10.10.120::gluster-poc &nbsp;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>dev604.domain.com &nbsp; &nbsp;gluster-poc &nbsp; &nbsp; &nbsp; /data/gluster-poc &nbsp; &nbsp;10.10.10.120::gluster-poc &nbsp; &nbsp;Active &nbsp; &nbsp; N/A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hybrid Crawl &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;323 &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>dev606.domain.com &nbsp; &nbsp;gluster-poc &nbsp; &nbsp; &nbsp; /data/gluster-poc &nbsp; &nbsp;10.10.10.122::gluster-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>dev605.domain.com &nbsp; &nbsp;gluster-poc &nbsp; &nbsp; &nbsp; /data/gluster-poc &nbsp; &nbsp;10.10.10.121::gluster-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>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif;">
<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 23, 2014 at 12:09 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">That should not happen. After a replica failover the &quot;now&quot; active node should continue where the &quot;old&quot; active node left off.</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">Could you provide geo-replication logs from master and slave after reproducing this (with changelog mode).</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,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-venky</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Apr 17, 2014 at 9:34 PM, 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;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>I did set it intentionally because I found a case where files would be missed during geo-replication. Xsync seemed to handle the case better. The issue was when you bring the “Active” node down that is handling the geo-replication session, and it’s set
 to ChangeLog as the change method. Any files that are written into the cluster while geo-replication is down (eg, while the geo-replication session is being failed to another node), are missed / skipped, and won’t ever be transferred to the other cluster.</div>
<div><br>
</div>
<div>Is this the expected behavior? If not, then I can open a bug on it.</div>
<div><br>
</div>
<div>-CJ</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Venky Shankar &lt;<a href="mailto:yknev.shankar@gmail.com" target="_blank">yknev.shankar@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, April 16, 2014 at 4:43 PM
<div>
<div class="h5"><br>
<span style="font-weight:bold">To: </span>CJ Beck &lt;<a href="mailto:chris.beck@workday.com" target="_blank">chris.beck@workday.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">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>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Apr 17, 2014 at 3:01 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;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>I did have the “change_detector” 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>
</blockquote>
<div><br>
</div>
<div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​Was that set intentionally? Setting this as the main change detection mechanism would crawl the filesystem every 60 seconds to replicate the changes. Changelog mode handles live changes,
 so any deletes that were performed before this option was set would not be propagated.</div>
</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div><br>
</div>
<div>Also, is there a way to tell the geo-replication to go ahead and walk the filesystems to do a “sync” so the remote side files are deleted, if they are not on the source?</div>
</div>
</blockquote>
<div><br>
</div>
<div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​As of now, no. With distributed geo-replication, the geo-rep daemon crawls the bricks (instead of the mount). Since the brick would have a subset of the file system entities (for e.g.
 in a distributed volume), it's hard to find out purged entries without having to crawl the mount and comparing the entries b/w master and slave (which is slow). This is where changelog mode helps.</div>
</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<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><a href="http://host1.com" target="_blank">host1.com</a> &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><a href="http://host2.com" target="_blank">host2.com</a> &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><a href="http://host3.com" target="_blank">host3.com</a> &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>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Venky Shankar &lt;<a href="mailto:yknev.shankar@gmail.com" target="_blank">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" target="_blank">chris.beck@workday.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&quot; &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">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>
<div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div 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 style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div 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 style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div style="font-family:arial,helvetica,sans-serif">Thanks,<br>
</div>
<div style="font-family:arial,helvetica,sans-serif">-venky</div>
<div 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 &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><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" target="_blank">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>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</span></div>
</div>
</span>
</body>
</html>