<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Fri May 24 12:28:31 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-6809/MB-6809.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-6809] Disable Flush with XDCR on the source cluster</title>
                <link>http://www.couchbase.com/issues/browse/MB-6809</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Hi, &lt;br/&gt;
&lt;br/&gt;
Today &amp;quot;flush&amp;quot; is not xdcr-replicated to the remote cluster, but we can flush data from either source/ destination and the other cluster/replication is left intact ( no impact of flush)&lt;br/&gt;
I ve opened bug to either stop/ warn the user of the consequences of using Flush while XDCR is on-going &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6761&quot;&gt;http://www.couchbase.com/issues/browse/MB-6761&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
We ve discussed this a bit in the past, and realize that a number of combination can arise with enabling flush with xdcr clusters. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
For example , in a unidirectional setup.&lt;br/&gt;
One can flush data bucket from source, and replication is not broken. The source cluster has no items and destination cluster has the existing items. With new load coming in, this leaves the clusters&lt;br/&gt;
in a somewhat inconsistent state. Failing replication for this, would be ideal.&lt;br/&gt;
&lt;br/&gt;
Likewise for a destination-flush&lt;br/&gt;
One can flush data bucket from destination, and replication is not broken. The destination cluster has no items and source cluster has the existing items. With new load coming in, this leaves the clusters&lt;br/&gt;
in a somewhat inconsistent state. Failing replication for this, would be ideal.&lt;br/&gt;
&lt;br/&gt;
And likewise on a Bidirectional replication setup.&lt;br/&gt;
&lt;br/&gt;
In the event, that we decide to enable flush+ Xdcr, we will need to add the following to our test-metrics to make sure this feature works  under multiple combinations.&lt;br/&gt;
&lt;br/&gt;
Since replication will fail/inconsistent with Flush, is it better to disable/ disallow flush + xdcr? &lt;br/&gt;
</description>
                <environment></environment>
            <key id="20058">MB-6809</key>
            <summary>Disable Flush with XDCR on the source cluster</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="ketaki">Ketaki Gangal</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 14:46:12 -0500</created>
                <updated>Thu, 10 Jan 2013 01:53:40 -0600</updated>
                    <resolved>Tue, 9 Oct 2012 12:03:10 -0500</resolved>
                            <version>2.0</version>
                                <fixVersion>2.0</fixVersion>
                                <component>cross-datacenter-replication</component>
                <component>UI</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="40238" author="junyi" created="Wed, 3 Oct 2012 16:10:55 -0500"  >Just talked to Aliaksey A., it is not hard to implement disabling flush/delete bucket on source side during XDCR, but for destination side, we are not 100% clear how to do that.  &lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="40674" author="alkondratenko" created="Mon, 8 Oct 2012 15:13:56 -0500"  >As pointed out above we can not do that at all for incoming xdcr.&lt;br/&gt;
&lt;br/&gt;
Plus I had OK from Dipti if it&amp;#39;s undefined.&lt;br/&gt;
&lt;br/&gt;
.next candidate imho</comment>
                    <comment id="40676" author="peter" created="Mon, 8 Oct 2012 15:21:01 -0500"  >Alk, Dipti wants flush only disabled on the source when replications exist for that bucket.</comment>
                    <comment id="40678" author="dipti" created="Mon, 8 Oct 2012 15:29:52 -0500"  >Unidirectional Replication &lt;br/&gt;
&lt;br/&gt;
-&amp;gt; Cluster 1 | Bucket A to Cluster 2 | Bucket A &lt;br/&gt;
&lt;br/&gt;
=&amp;gt; Flush should be disabled on Bucket A  on Cluster 1 &lt;br/&gt;
&lt;br/&gt;
Two unidirectional Replications &lt;br/&gt;
&lt;br/&gt;
-&amp;gt; Cluster 1 | Bucket B to Cluster 2 | Bucket B&lt;br/&gt;
-&amp;gt; Cluster 2 | Bucket C to Cluster 1 | Bucket C&lt;br/&gt;
&lt;br/&gt;
=&amp;gt; Flush should be disabled on Bucket B  on Cluster 1 &lt;br/&gt;
=&amp;gt; Flush should be disabled on Bucket C  on Cluster 1 &lt;br/&gt;
&lt;br/&gt;
Bi-directional Replications &lt;br/&gt;
&lt;br/&gt;
-&amp;gt; Cluster 1 | Bucket D to Cluster 2 | Bucket D&lt;br/&gt;
-&amp;gt; Cluster 2 | Bucket D to Cluster 1 | Bucket D&lt;br/&gt;
&lt;br/&gt;
=&amp;gt; Flush should be disabled on Bucket D  on Cluster 1 &lt;br/&gt;
=&amp;gt; Flush should be disabled on Bucket D on Cluster 1 &lt;br/&gt;
</comment>
                    <comment id="40823" author="alkondratenko" created="Tue, 9 Oct 2012 12:03:10 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/21435/&quot;&gt;http://review.couchbase.org/#/c/21435/&lt;/a&gt;&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                    <attachment id="15274" name="Screen Shot 2012-10-02 at 6.04.54 PM.png" size="25204" author="ketaki" created="Wed, 3 Oct 2012 14:46:12 -0500" />
                    <attachment id="15275" name="Screen Shot 2012-10-03 at 2.12.03 PM.png" size="170596" author="junyi" created="Wed, 3 Oct 2012 16:12:55 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 3 Oct 2012 16:10:55 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3841</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10052" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Sprint Status</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10027"><![CDATA[Current Sprint]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>