<!--
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 19 23:06:29 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+MB+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.couchbase.com/issues/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Couchbase</title>
        <link>http://www.couchbase.com/issues/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+MB+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="573" total="573"/>
                <build-info>
            <version>5.2.4</version>
            <build-number>845</build-number>
            <build-date>26-12-2012</build-date>
        </build-info>
<item>
            <title>[MB-8083] [2.0.2] memcachetest+moxi/mcsoda: downstream timeout( with automation tests)</title>
                <link>http://www.couchbase.com/issues/browse/MB-8083</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>know there are already a few bugs with the problem(CBSE-475/498...), but will create a new one, as no separate ticket for 2.0.2 and now there are automation tests to reproduce it &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/view/2.0.1/job/ubuntu-64-2.0-connections-tests&quot;&gt;http://qa.hq.northscale.net/view/2.0.1/job/ubuntu-64-2.0-connections-tests&lt;/a&gt;&lt;br/&gt;
./testrunner -i /tmp/connections-tests.ini get-logs=True,wait_timeout=180,get-cbcollect-info=True -t connectionstests.ConnectionTests.multiple_connections_using_memcachetest&lt;br/&gt;
&lt;br/&gt;
steps in test with 1 node cluster:&lt;br/&gt;
1. run moxi on node&lt;br/&gt;
nohup /opt/couchbase/bin/moxi -u root -Z usr=Administrator,pwd=password,port_listen=51500,concurrency=1024,wait_queue_timeout=200,connect_timeout=400,connect_max_errors=3,connect_retry_interval=30000,auth_timeout=100,downstream_conn_max=16,downstream_timeout=5000,cycle=200,default_bucket_name=default &lt;a href=&quot;http://10.5.2.13:8091/pools/default/bucketsStreaming/default&quot;&gt;http://10.5.2.13:8091/pools/default/bucketsStreaming/default&lt;/a&gt; -d&lt;br/&gt;
2. run mcsoda through moxi&lt;br/&gt;
nohup python lib/perf_engines/mcsoda.py 10.5.2.13:51500 vbuckets=1024 doc-gen=0 doc-cache=0 ratio-creates=0.9 ratio-sets=0.9 min-value-size=1024 max-items=1000000 ratio-deletes=0.1 exit-after-creates=0 threads=4 prefix=default &amp;amp;&lt;br/&gt;
3.run memcachetest on the node&lt;br/&gt;
/tmp/memcachetest/memcachetest -h localhost:11211 -i 100000 -W 320 -t 320 -c 0 -M 2&lt;br/&gt;
&lt;br/&gt;
result:&lt;br/&gt;
&lt;br/&gt;
2013-04-12 08:33:37 | INFO | MainProcess | MainThread | [remote_util.log_command_output] ASCII set failure: SERVER_ERROR proxy downstream timeout&lt;br/&gt;
2013-04-12 08:33:37 | INFO | MainProcess | MainThread | [remote_util.log_command_output] Failed to set [29735]: during populate.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
the same behaviour is for the test with 3 node. Tests can be expanded through parameters + can also be added additional scenarios as mentioned in &lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/QA/QE+Test+Enhancements+for+2.0.2&quot;&gt;http://hub.internal.couchbase.com/confluence/display/QA/QE+Test+Enhancements+for+2.0.2&lt;/a&gt;&lt;br/&gt;
</description>
                <environment></environment>
            <key id="23654">MB-8083</key>
            <summary>[2.0.2] memcachetest+moxi/mcsoda: downstream timeout( with automation tests)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Apr 2013 11:46:39 -0500</created>
                <updated>Tue, 23 Apr 2013 15:35:47 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="54972" author="andreibaranouski" created="Fri, 12 Apr 2013 11:50:44 -0500"  >build 2.0.2-763&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-8083/10.5.2.13-4122013-833-diag.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-8083/10.5.2.13-4122013-833-diag.zip&lt;/a&gt;</comment>
                    <comment id="55795" author="maria" created="Mon, 22 Apr 2013 17:50:00 -0500"  >mike, let me know if you need add&amp;#39;l info from QE.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 22 Apr 2013 17:50:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10595</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-8002] Memcached ops sometimes take an extraordinarily long amount of time</title>
                <link>http://www.couchbase.com/issues/browse/MB-8002</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>We have noticed that memcached ops sometimes take a very long time to complete and can cause ns_server to think that memcached has become unresponsive. We usually see this when a system starts to swap, but we have also occasionally seen this issue even when we&amp;#39;re not in swap.</description>
                <environment></environment>
            <key id="23485">MB-8002</key>
            <summary>Memcached ops sometimes take an extraordinarily long amount of time</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Apr 2013 19:26:18 -0500</created>
                <updated>Mon, 1 Apr 2013 19:30:51 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="53951" author="mikew" created="Mon, 1 Apr 2013 19:29:02 -0500"  >See &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7111&quot; title=&quot;[system test] rebalance failed with error &amp;quot;wait_checkpoint_persisted_failed&amp;quot; due to timeout&quot;&gt;&lt;strike&gt;MB-7111&lt;/strike&gt;&lt;/a&gt; which is a duplicate of this issue.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10321</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7887] [RN 2.0.2] Appends can cause large amounts of memory fragmentation in tcmalloc</title>
                <link>http://www.couchbase.com/issues/browse/MB-7887</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="23103">MB-7887</key>
            <summary>[RN 2.0.2] Appends can cause large amounts of memory fragmentation in tcmalloc</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Sat, 9 Mar 2013 14:46:09 -0600</created>
                <updated>Tue, 23 Apr 2013 15:13:21 -0500</updated>
                                    <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>8</watches>
                                                    <comments>
                    <comment id="53427" author="maria" created="Mon, 25 Mar 2013 13:49:29 -0500"  >bug scrub: aleksey submitted a patch to tcmalloc. will need to upgrade to new version of tcmalloc when avail.</comment>
                    <comment id="55495" author="sharon" created="Thu, 18 Apr 2013 11:07:59 -0500"  >Can this be moved to 2.0.2?&lt;br/&gt;
</comment>
                    <comment id="55910" author="sharon" created="Tue, 23 Apr 2013 12:40:24 -0500"  >I assume this relates to the tcmalloc bug fix we submitted for large objects.&lt;br/&gt;
&lt;br/&gt;
I am raising this to a blocker for 2.0.2, to make sure it is on the radar and prioritized accordingly.&lt;br/&gt;
We have some major customers that might encounter this issue.</comment>
                    <comment id="55950" author="maria" created="Tue, 23 Apr 2013 14:48:39 -0500"  >mike, can you check if the tcmalloc fix is already checked-in? sharon thinks it is... is it just a matter of merging the fix into the 2.0.2 branch?&lt;br/&gt;
if so, can we go ahead and merge the fix?&lt;br/&gt;
&lt;br/&gt;
thanks.</comment>
                    <comment id="55952" author="mikew" created="Tue, 23 Apr 2013 15:12:54 -0500"  >It&amp;#39;s not merged. I already checked. It&amp;#39;s also a matter of updating tcmalloc to a release that hasn&amp;#39;t be tested yet.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="18829">MB-6120</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Mar 2013 13:49:29 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                    <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9299</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7657] [RN 2.0.1] XDCR docs to replicate for bucket queue is draining unevenly.</title>
                <link>http://www.couchbase.com/issues/browse/MB-7657</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>linux cluster&lt;br/&gt;
22-node-ec2-10GB-Linux&lt;br/&gt;
&lt;br/&gt;
source Cluster ( 15 Nodes)&lt;br/&gt;
create default bucket -3.5 GB per node&lt;br/&gt;
sasl bucket - 2.0 GB per node&lt;br/&gt;
&lt;br/&gt;
destination Cluster ( 7 Nodes)&lt;br/&gt;
create default bucket - 3.5 GB per node&lt;br/&gt;
sasl bucket - 2.0 GB per node&lt;br/&gt;
&lt;br/&gt;
**Loading phase &lt;br/&gt;
Source cluster:&lt;br/&gt;
Default bucket &lt;br/&gt;
define a workload that loads 40 M json items , key size 128-512 bytes to default bucket.&lt;br/&gt;
The workload should push the system into a light dgm ( active resident ratio at 90 percent)&lt;br/&gt;
&lt;br/&gt;
**Access Phase:&lt;br/&gt;
Source cluster:&lt;br/&gt;
Default bucket &lt;br/&gt;
create:5%, uupdate:10%, get:80%, delete:5% with cache miss:5%, opsPerSec:30000, running for 8 hours&lt;br/&gt;
&lt;br/&gt;
Then start replication:&lt;br/&gt;
set a bi-directional XDCR on default bucket&lt;br/&gt;
Source cluster:&lt;br/&gt;
default bucket&lt;br/&gt;
create:5%, uupdate:10%, get:80%, delete:5% with cache miss:5%, opsPerSec:30000, running for 2 hours&lt;br/&gt;
&lt;br/&gt;
Destination cluster:&lt;br/&gt;
default bucket&lt;br/&gt;
define a workload that loads 30 M json items(non-conflicting key-sets) , key size 128-512 bytes to default bucket.&lt;br/&gt;
&lt;br/&gt;
After all the loads on both clusters stop, wait for &amp;quot;XDCR docs to replicate for bucket&amp;quot; drops. But really slow.&lt;br/&gt;
Saw XDCR docs to replicate for bucket queue is draining unevenly on default bucket on source&lt;br/&gt;
The screen shot is from source cluster.</description>
                <environment>couchbase-2.0.1-144-rel on Centos 5.4 on both source and destination</environment>
            <key id="22223">MB-7657</key>
            <summary>[RN 2.0.1] XDCR docs to replicate for bucket queue is draining unevenly.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ketaki">Ketaki Gangal</assignee>
                                <reporter username="Chisheng">Chisheng Hong</reporter>
                        <labels>
                        <label>regression</label>
                    </labels>
                <created>Thu, 31 Jan 2013 22:35:18 -0600</created>
                <updated>Thu, 11 Apr 2013 17:38:40 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>11</watches>
                                                    <comments>
                    <comment id="49353" author="Chisheng" created="Thu, 31 Jan 2013 22:48:19 -0600"  >Diags links:&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-6799/ns-diag-20130131231808.txt.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-6799/ns-diag-20130131231808.txt.zip&lt;/a&gt;</comment>
                    <comment id="49354" author="Chisheng" created="Thu, 31 Jan 2013 22:49:54 -0600"  >Forget about the bug number in the diags link path. It doesn&amp;#39;t matter. The above link give u the right diags</comment>
                    <comment id="49355" author="Chisheng" created="Thu, 31 Jan 2013 23:15:12 -0600"  >The destination cluster diags (the previous link is for the source):&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-6799/ns-diag-20130201000242.txt.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-6799/ns-diag-20130201000242.txt.zip&lt;/a&gt;</comment>
                    <comment id="49644" author="frank" created="Mon, 4 Feb 2013 13:56:52 -0600"  >How commonly does this happen and how closely is it tied to toe level of load on the source cluster  (i.e. the 30k ops)</comment>
                    <comment id="49657" author="jin" created="Mon, 4 Feb 2013 15:32:08 -0600"  >Bumping this to &amp;quot;critical&amp;quot; for prompt engineering investigation. It can turn out to be a common case (i.e. users of XDCR can easily run into this) thus negatively impact overall level of load on the source cluster. </comment>
                    <comment id="50062" author="jin" created="Mon, 11 Feb 2013 14:13:08 -0600"  >sync up with tomorrow&amp;#39;s system test + make sure whether it is a regression or existing pls.</comment>
                    <comment id="50064" author="jin" created="Mon, 11 Feb 2013 14:13:38 -0600"  >Junyi and Chiseng, please communicate to see if this is a real regression.</comment>
                    <comment id="50169" author="ketaki" created="Tue, 12 Feb 2013 11:42:11 -0600"  >Will post results based on System test on build 153.</comment>
                    <comment id="50232" author="ketaki" created="Tue, 12 Feb 2013 23:24:27 -0600"  >Adding results from 2.0.1-153-rel build. ( screenshot for docs-to-replicate)&lt;br/&gt;
&lt;br/&gt;
Still seeing unevennes on replication from source nodes (11 node-&amp;gt; 5 node cluster, bidirectional replication)&lt;br/&gt;
&lt;br/&gt;
Clusters are accessible here &lt;br/&gt;
Source : &lt;a href=&quot;http://ec2-23-20-140-198.compute-1.amazonaws.com:8091/index.html&quot;&gt;http://ec2-23-20-140-198.compute-1.amazonaws.com:8091/index.html&lt;/a&gt;&lt;br/&gt;
Destination : &lt;a href=&quot;http://ec2-23-20-108-25.compute-1.amazonaws.com:8091/&quot;&gt;http://ec2-23-20-108-25.compute-1.amazonaws.com:8091/&lt;/a&gt;</comment>
                    <comment id="50234" author="jin" created="Tue, 12 Feb 2013 23:30:11 -0600"  >Thanks Ketaki. If can can you also provide some inputs for Frank&amp;#39;s questions above? We really want to understand how likely (easily) users can run into this issue.</comment>
                    <comment id="50235" author="ketaki" created="Tue, 12 Feb 2013 23:45:47 -0600"  >Seeing this fairly commonly on large-scale runs for xdcr. With a higher front end ops/sec ( 30k ops/sec + for a 11 node cluster), seeing unevennes on distributions of docs-to-replicate queue.&lt;br/&gt;
&lt;br/&gt;
The tests reduce the front end load in the successive phases of the runs, and all the xdcr-data is synced as expected.&lt;br/&gt;
&lt;br/&gt;
We see this unevenness on inital replication and in-between phases typically.</comment>
                    <comment id="50236" author="ketaki" created="Tue, 12 Feb 2013 23:48:55 -0600"  >Logs from some source nodes 	&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/MB-7657/bug.tar&quot;&gt;https://s3.amazonaws.com/bugdb/MB-7657/bug.tar&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="50269" author="junyi" created="Wed, 13 Feb 2013 11:33:42 -0600"  >Ketaki,&lt;br/&gt;
&lt;br/&gt;
Thanks a lot for your test and logs.&lt;br/&gt;
&lt;br/&gt;
I looked at the two clusters on EC2 now (12:29PM EST, Feb 13), your bi-directional XDCR test has been running for a bit short of 20 hours and in general it is healthy to me.  &lt;br/&gt;
&lt;br/&gt;
From the per node &amp;quot;docs to replicate&amp;quot; stats on two cluster,  at day scale,  I do not see unevenness.  Please look at the 1st and 2nd screenshots I uploaded.&lt;br/&gt;
&lt;br/&gt;
I also looked at the log from source you uploaded, around 2013-02-12T23:08, and 2013-02-12T23:21, there are several timeout error which caused source replicator to crash, in all these errors the destination is ec2-23-20-217-189. That means in a short time period, that node is not able to responde timely to source nodes in XDCR. But source node is able to recover under this circumstance. Other than that, I do not see any other errors in the log.&lt;br/&gt;
&lt;br/&gt;
Looks like around 2013-02-12T23:08 and 2013-02-12T23:21 is the peak time where you have highest ops/sec and most docs to replicate. In particular, at that time, you have around 30k ops/sec on source and &amp;gt;30k ops/sec on destination. On the source the update ops/sec is &amp;gt; 10k ops/sec (see the 3rd and 4th screenshot I uploaded). Cannot judge any small scale unevenness from day-scale stats.&lt;br/&gt;
&lt;br/&gt;
In short, from your clusters and logs, there is no unevenness for long time through the test.&lt;br/&gt;
&lt;br/&gt;
The timeout errors may explain why you see the unevenness in a short period of time, other factors like compactors and env may also contribute to that. But I am not sure why it is serious.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50295" author="ketaki" created="Wed, 13 Feb 2013 12:38:35 -0600"  >Do we know why we see these timeouts under heavier load btw? &lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50297" author="junyi" created="Wed, 13 Feb 2013 12:47:19 -0600"  >Yes, basically the revs_diff and bulk_docs are unable to finish at destination cluster within connection timeout. I remember back in last December, we increased the timeout to 180 seconds. </comment>
                    <comment id="50338" author="jin" created="Wed, 13 Feb 2013 17:07:00 -0600"  >Based on discussions so far, we find that:&lt;br/&gt;
* users can run into this issue pretty easily with large scale environment&lt;br/&gt;
* restarting replicators after the described timeout crash is fairly cheap as far as Erlang process management concerns&lt;br/&gt;
* eventually as load pressure on dst cluster improves so the unevenness gets subsidized by faster replication turnaround&lt;br/&gt;
* obvious negative impact is that restarted replicators start from the last checkpoint that previously completed (thus replication is behind one checkpoint interval, approx. 5 minutes)&lt;br/&gt;
&lt;br/&gt;
Action plan:&lt;br/&gt;
* will move this to 2.0.2 &lt;br/&gt;
* xdcr team, please continue investigate it. We cannot afford to just blame env. or other feasible factors unless they are proven with solid evidence.  &lt;br/&gt;
* qe (Ketaki) is currently running the same tests with 1/4 of replicators, validating if this reduces the chance of running into the symptom&lt;br/&gt;
* if less number of replicator helps, we will update the document with clear description of symptom and the workaround of reducing the # of replicator.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Jin</comment>
                    <comment id="50340" author="jin" created="Wed, 13 Feb 2013 17:08:48 -0600"  >Hi Ketaki, please review the above comment and update this bug with your finding after running with less number of replicators. Afterward, please assign it back to Junyi or Jin for next action.  </comment>
                    <comment id="50347" author="junyi" created="Wed, 13 Feb 2013 17:31:14 -0600"  >Jin,&lt;br/&gt;
&lt;br/&gt;
Can you please explain a bit &amp;quot;users can run into this issue pretty easily with large scale environment&amp;quot;? From Ketaki&amp;#39;s test, looks to me that is not the case (please see the screenshot from her clusters, where is the unevenness?)&lt;br/&gt;
&lt;br/&gt;
Also, if it is due to the timeout (very limited timeout in Ketaki&amp;#39;s test), then it is nothing to do with size of cluster. &lt;br/&gt;
</comment>
                    <comment id="50384" author="jin" created="Thu, 14 Feb 2013 00:00:28 -0600"  >Hi Junyi, the summary was based on previous conversations among us. Do you suggest that there is no unevenness issue based on the screenshots? I am not sure if unevenness (spike or drop) can be easily identified based on normalized day scale graphs. Playing with the number of replicators is a workaround try to see if that reduces the number of timeout thus alleviates the unevenness. </comment>
                    <comment id="50406" author="junyi" created="Thu, 14 Feb 2013 08:34:04 -0600"  >Hi Jin,&lt;br/&gt;
&lt;br/&gt;
Probably there is some miscommunication.  The spike/drop in Ketaki&amp;#39;s is NOT unevenness. Here the unevenness means the different nodes drain the queue at very different speeds, as demonstrated by Chisheng&amp;#39;s original test (look at Chisheng&amp;#39;s 1st screenshot please, so nodes have 0 mutations to replicate, some have millions).  The spike/drop in Ketaki&amp;#39;s test comes from the significant change in front-end workload, which is expected.  Also, the spike/drop in Ketaki&amp;#39;s test is &amp;quot;mutations to replicate&amp;quot;, NOT the replication speed, so it is not that the bucket is unevenly draining.&lt;br/&gt;
&lt;br/&gt;
From the screenshot I uploaded, overall each node was working at the same pace and I do not see significant unevenness. Therefore I am not sure if we are able to easily reproduce what Chisheng observed. &lt;br/&gt;
&lt;br/&gt;
That is why I am not sure about your notes that &amp;quot;users can run into this issue pretty easily with large scale environment&amp;quot;. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="50422" author="jin" created="Thu, 14 Feb 2013 11:43:59 -0600"  >Hi Junyi, thanks for your detailed explanation. I will sync up with QE and take their latest update and input for your comment. We then should be able to move this to 2.0.2. Will discuss more during the xdcr - kv test meeting this afternoon. The action items below are still valid though:&lt;br/&gt;
&lt;br/&gt;
Action plan:&lt;br/&gt;
* will move this to 2.0.2 &lt;br/&gt;
* xdcr team, please continue investigate it (unless there are 2.0.1 hot issues) &lt;br/&gt;
* qe (Ketaki) is currently running the same tests with 1/4 #s of replicators&lt;br/&gt;
* if less number of replicator helps, we will update the document with clear description of symptom and the workaround of reducing the # of replicator.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="50445" author="junyi" created="Thu, 14 Feb 2013 14:04:51 -0600"  >As discussed over meeting,  if our customer hit this issue, other than the regular diag logs, we need them provide&lt;br/&gt;
&lt;br/&gt;
1. stat screenshot at least in minute scale of all nodes on which we can tell the unevenness happen&lt;br/&gt;
2. description of workload, 1) how long has the test been running 2) the front-end ops/sec on both source and destination clusters, how many of them are updates of existent items, how many are new items (inserts), etc.&lt;br/&gt;
&lt;br/&gt;
reducing # of replicators and increase timeout may possibly help.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50572" author="jin" created="Fri, 15 Feb 2013 13:57:43 -0600"  >Discussed with QE and it appears to be that users can still easily run into the symptom when running in a large-scale env. Junyi, do you concur with this assessment?</comment>
                    <comment id="50575" author="jin" created="Fri, 15 Feb 2013 14:00:14 -0600"  >Documentation team, please review comments starting from Jin&amp;#39;s 2/13  for information regarding this bug. Thanks.</comment>
                    <comment id="50576" author="junyi" created="Fri, 15 Feb 2013 14:03:51 -0600"  >I can tolerate some unevenness due to env and skewed workload, but if that unevenness is due to some destination node crash/down (as we have seen in another bug, 1-2 of 4 nodes at destination are not reachable, cause some source nodes stuck and unable to replicate), that is a different story.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="50635" author="junyi" created="Fri, 15 Feb 2013 20:31:12 -0600"  >I looked at Ketaki&amp;#39;s 10:5 bi-directional xdcr test at &lt;br/&gt;
&lt;br/&gt;
cluster 1&lt;br/&gt;
&lt;a href=&quot;http://ec2-23-20-140-198.compute-1.amazonaws.com:8091/index.html#sec=buckets&quot;&gt;http://ec2-23-20-140-198.compute-1.amazonaws.com:8091/index.html#sec=buckets&lt;/a&gt;&lt;br/&gt;
cluster 2&lt;br/&gt;
&lt;a href=&quot;http://ec2-23-20-108-25.compute-1.amazonaws.com:8091/index.html#sec=buckets&quot;&gt;http://ec2-23-20-108-25.compute-1.amazonaws.com:8091/index.html#sec=buckets&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
so far they look healthy and no unevenness is found.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
From bug fix perspective, I cannot exclude the possibility of unevenness at this time, therefore I will make some defense line in code which I hope can prevent unevenness across nodes from happening or recover from it in case it happens.&lt;br/&gt;
&lt;br/&gt;
Jin,&lt;br/&gt;
&lt;br/&gt;
You can determine if you want merge it to 2.0.1 or 2.0.2. Thanks.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50636" author="junyi" created="Fri, 15 Feb 2013 20:57:46 -0600"  >fix on gerrit&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/24645/&quot;&gt;http://review.couchbase.org/#/c/24645/&lt;/a&gt;</comment>
                    <comment id="50639" author="junyi" created="Sat, 16 Feb 2013 16:49:44 -0600"  >I manage to reproduce the uneven &amp;quot;mutation to replicate&amp;quot; stats across nodes.  &lt;br/&gt;
&lt;br/&gt;
Looks to me, the root cause (at least in my testcase) is that the disk queues at different nodes drain at VERY different rate. My testcase is a simple 2-&amp;gt;2 uni-directional with tiny front-end insert workload (on average 250 insert / sec / node, no get ops at all).  Over time, the disk write queue size at two source nodes are quite skewed. One is almost empty, while the other is 150k-200k items.&lt;br/&gt;
&lt;br/&gt;
Consequently, the mutations to replicate at these two nodes are also quite different, the node with empty write queue has 150K items more than the other to replicate because the ep_engine on that node has dumped all items to disk.  &lt;br/&gt;
&lt;br/&gt;
The other node with 150K items backlog in disk write queue has almost 0 &amp;quot;mutations to replicate&amp;quot; because on that node, XDCR is faster than write queue drain rate. &lt;br/&gt;
&lt;br/&gt;
This is consistent with what Chisheng&amp;#39;s original test.  Please see the screen shots of disk write queue I grabbed at different time of test. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
ep_engine team,  please advise.  Thanks.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50640" author="junyi" created="Sat, 16 Feb 2013 16:53:09 -0600"  >assign to ep_engine team for comment</comment>
                    <comment id="50641" author="mikew" created="Sat, 16 Feb 2013 21:48:13 -0600"  >If the root cause is what Junyi mentioned above then this seems like it would be the expected behavior since if one node in the cluster is slow to drain items to disk then we will see this unevenness. What likely caused the disk write queue to be high on one node is compaction. In our teams testing we have found that disk persistence gets very slow when compaction is happening and if compaction only happens on one of the nodes I would expect this situation. I can take a look at the logs later if anyone wants me to look into this more deeply. Just let me know.&lt;br/&gt;
&lt;br/&gt;
Also note that Aaron is doing some work on the compactor logic in couchstore to try to speed up persistence when compaction is taking place.</comment>
                    <comment id="50683" author="jin" created="Mon, 18 Feb 2013 11:47:59 -0600"  >Thanks for updates. As we previously discussed, will be moving this to 2.0.2 for further investigation and retesting with mentioned optimization. There is a toy build currently waiting for test that should help alleviate the unevenness from the XDCR side and QE is also planning to test with a workaround (less #s of replicator).&lt;br/&gt;
&lt;br/&gt;
Ketaki, please update any latest test result from either the workaround or the toy build (&lt;a href=&quot;http://review.couchbase.org/#/c/24645/&quot;&gt;http://review.couchbase.org/#/c/24645/&lt;/a&gt;). Thanks much!</comment>
                    <comment id="50772" author="ketaki" created="Mon, 18 Feb 2013 22:03:39 -0600"  >Tested this on 2.0.1-160-rel build and discussed this w/ Junyi&lt;br/&gt;
&lt;br/&gt;
- Seeing some nodes ( 1 node in particular) lagging behind on the xdcr-replication start.&lt;br/&gt;
The drain rate , disk write queue on this node are very uneven, attached screenshot.&lt;br/&gt;
&lt;br/&gt;
- Uneven CPU across the cluster, some nodes show avg.80 percent, some show avg. 50 percent and some show less than 20 percent avg over a period of time. Screen shot attached.&lt;br/&gt;
&lt;br/&gt;
We ve compared the Compaction timing w/ the drain/disk timings and they are not in exact sync. &lt;br/&gt;
&lt;br/&gt;
There is some resource (i/o or otherwise) on this node, causing it to be varying on the disk/draining and showing this intermittent behaviour.&lt;br/&gt;
&lt;br/&gt;
_ On another note - Bidirectional replication on this cluster causes the clusters to become unresponsive and serveral timeout errors on the stats display.&lt;br/&gt;
&lt;br/&gt;
Adding logs from nodes on the source( 11 node cluster).&lt;br/&gt;
</comment>
                    <comment id="50773" author="ketaki" created="Mon, 18 Feb 2013 22:25:08 -0600"  >Source : &lt;a href=&quot;http://ec2-107-22-40-124.compute-1.amazonaws.com:8091/&quot;&gt;http://ec2-107-22-40-124.compute-1.amazonaws.com:8091/&lt;/a&gt;&lt;br/&gt;
Destination :&lt;a href=&quot;http://ec2-54-242-239-237.compute-1.amazonaws.com:8091/&quot;&gt;http://ec2-54-242-239-237.compute-1.amazonaws.com:8091/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50774" author="junyi" created="Mon, 18 Feb 2013 22:31:09 -0600"  >Thanks Ketaki for the notes. &lt;br/&gt;
&lt;br/&gt;
One more thing, the node with 20% CPU usage is exactly the one lagging behind in XDCR, it is also the one which demonstrated quite different flusher behavior (disk write queue, drain rate, etc) from other nodes. &lt;br/&gt;
&lt;br/&gt;
I am not claiming the flusher is the culprit, on the contrary,  I think both flusher and XDCR are victim of some I/O heavy job (possibly compaction, need verification): flusher was unable to flush quickly and XDCR was unable to read and replicate doc at similar rate as other nodes.&lt;br/&gt;
&lt;br/&gt;
Given the low CPU usage on that node, looks to me that node is pretty I/O bound.</comment>
                    <comment id="50775" author="ketaki" created="Mon, 18 Feb 2013 22:42:19 -0600"  >&lt;a href=&quot;https://s3.amazonaws.com/bugdb/bug0/bug.tar&quot;&gt;https://s3.amazonaws.com/bugdb/bug0/bug.tar&lt;/a&gt;</comment>
                    <comment id="50776" author="jin" created="Mon, 18 Feb 2013 22:59:18 -0600"  >Thanks for many updates. Per bug scrubs this morning, we want to try the the same test with disabling compaction and see it it alleviates the issue. Also, it may be worth a try to just increase compaction threshold from default 30% to something higher like 75 - 80%. I will leave this uptp QE to decided however test it with compaction. </comment>
                    <comment id="50795" author="junyi" created="Tue, 19 Feb 2013 10:00:07 -0600"  >Thanks Jin.&lt;br/&gt;
&lt;br/&gt;
We can repeat the test without compaction,  But the question yet to be answered is why only 1 node demonstrated such different behavior from other nodes&lt;br/&gt;
(other 2 nodes also behaved a bit differently but not that bad).  IMHO compaction should behave more or less similarly on all nodes since in the cluster, since we have random distributed workload.  &lt;br/&gt;
&lt;br/&gt;
I am not sure it is a bug or not, but since it is fairly easy to reproduce, we should keep an eye on that. &lt;br/&gt;
&lt;br/&gt;
Other than the test to turn on/off compaction, I am also interested in a simple KV test:  turn off all XDCR/view/query/rebalance activity completely,  just put some pressure on one cluster with 10 nodes with some non-trivial front-end workload for several hours, and observe how flusher behaves across all nodes.  If QE has such experience, please share.  &lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50800" author="farshid" created="Tue, 19 Feb 2013 11:00:25 -0600"  >Junyi,&lt;br/&gt;
&lt;br/&gt;
Thanks for more investigation. QE should be able to extract such data from the k/v test case and provide you access to such cluster.&lt;br/&gt;
&lt;br/&gt;
Ketaki,&lt;br/&gt;
&lt;br/&gt;
can we extract the information that Junyi has asked for from k/v cluster</comment>
                    <comment id="50804" author="junyi" created="Tue, 19 Feb 2013 11:16:59 -0600"  >Farshid, &lt;br/&gt;
&lt;br/&gt;
Thanks. Please share with the data or point me to the live cluster (if possible) in the KV system test. &lt;br/&gt;
&lt;br/&gt;
It will be interesting how our CB server behaves and adapts when we put different pressure on source at different time (for example, we can put small, moderate, heavy, spike, burst  workloads at different stages of KV test).</comment>
                    <comment id="50808" author="ketaki" created="Tue, 19 Feb 2013 11:33:02 -0600"  >Sure, Adding in Tommie on this discussion.&lt;br/&gt;
&lt;br/&gt;
@Tommie - Do we have information on overall cluster v/s individual node behaviour on the KV usecase currently?</comment>
                    <comment id="50885" author="ketaki" created="Tue, 19 Feb 2013 17:51:13 -0600"  >Hi Junyi, &lt;br/&gt;
&lt;br/&gt;
For this setup, would the drain-rate on the source node the xdcr-replication ?&lt;br/&gt;
&lt;br/&gt;
- All the items are persisted to disk in the load phase.&lt;br/&gt;
- In the access phase, 5 percent items are sets, rest 90 percent plus are reads.&lt;br/&gt;
&lt;br/&gt;
So even if this particular node is not draining evenly... how would that impact xdcr ability to read from disk and replicate forward?&lt;br/&gt;
&lt;br/&gt;
-Ketaki</comment>
                    <comment id="50886" author="junyi" created="Tue, 19 Feb 2013 17:57:35 -0600"  >As I mentioned, uneven drain rate may not be the reason of make XDCR more difficult read from disk, in stead of both flusher and XDCR can be victim of other activity (probably compactor, but I am not 100% sure) which were competing I/O with flusher and XDCR, making flusher harder to flush and XDCR harder to read doc.&lt;br/&gt;
&lt;br/&gt;
That is the reason we saw correlated abnormal activity of flusher and XDCR </comment>
                    <comment id="51021" author="jin" created="Wed, 20 Feb 2013 17:56:16 -0600"  >* Still waiting for the test results from Tommie for KV only system.&lt;br/&gt;
* Disabling compaction didn&amp;#39;t much help on Ketaki&amp;#39;s rerun </comment>
                    <comment id="51036" author="tommie" created="Wed, 20 Feb 2013 18:40:08 -0600"  >as far as draining goes in kv-only use-case, looks like all nodes are draining at same rate...(screen 201_kvonly_drain)</comment>
                    <comment id="51067" author="jin" created="Thu, 21 Feb 2013 02:24:10 -0600"  >Tommie&amp;#39;s result is in, unevenness is NOT seen on his kv-only test. As discussed in the bug scrubs, engineering team will continue to investigate this in 2.0.2 as it appears to be intermittent behavior without major timeout or performance degradation.&lt;br/&gt;
&lt;br/&gt;
This bug has taken a way too long of QE times and cycles to prove 1) it is reproducible symptom 2) none of suggested workarounds (compactor, # of replicator, etc) worked 3) every single data points for engineering debugging. Many thanks for the hardworking on this, QE team! </comment>
                    <comment id="51095" author="junyi" created="Thu, 21 Feb 2013 09:49:53 -0600"  >Please look at the the screen shot Tommie posted more carefully. The scale is 2-3M, not 10k,  so even a very small bump will cause 50 -100K difference in disk queue. Obviously node 10.3.3.215 shows quite BIG unevenness, during first  60-70% of test, before increasing. If you convert the figure into logarithmic scale, it could be much easier to see.  The disk write queue unevenness in our XDCR test is only 10K, but over time it can accumate quite a lot backlog. Also, please note, Tommie&amp;#39;test is without XDCR, there are less I/O competition for compactor and ep_engine, we still see several hundred K difference in disk write queue.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="51116" author="kzeller" created="Thu, 21 Feb 2013 14:03:03 -0600"  >Added to 2.0.1 RN:&lt;br/&gt;
&lt;br/&gt;
You may experience an even rate of replication for nodes in a cluster. This is &lt;br/&gt;
intermittent behavior that is due to different disk drain rates at different &lt;br/&gt;
nodes and will subside by itself over time. There is no need to change any &lt;br/&gt;
settings on your cluster to try to resolve this behavior.</comment>
                    <comment id="51118" author="junyi" created="Thu, 21 Feb 2013 14:05:48 -0600"  >Hi Karen,&lt;br/&gt;
&lt;br/&gt;
Is it &amp;quot;even rate&amp;quot; or &amp;quot;uneven rate&amp;quot;? I think users may experience uneven replication rate.</comment>
                    <comment id="51121" author="kzeller" created="Thu, 21 Feb 2013 14:48:29 -0600"  >You&amp;#39;re right &amp;quot;uneven&amp;quot;</comment>
                    <comment id="53288" author="maria" created="Thu, 21 Mar 2013 15:52:18 -0500"  >will re-visit once multiple reader/writer is in. this is  2.0.2 must fix.</comment>
                    <comment id="53419" author="maria" created="Mon, 25 Mar 2013 13:30:08 -0500"  >note to qe (maria): once multiple rdr/writer in, QE to run test. </comment>
                    <comment id="53690" author="mikew" created="Wed, 27 Mar 2013 17:48:56 -0500"  >Moving to 2.1 since we need to retest with the multi-reader/writer to see if that solves the problem. We can move this back to 2.0.2 if the ep-engine team has time to look at it.</comment>
                    <comment id="54923" author="jin" created="Thu, 11 Apr 2013 17:38:31 -0500"  >QE will retest this once the large scale test started for 2.0.2 and we will determine if improvements made to 2.0.2 (mrw, io batching, etc) addressed the issue or not. Thanks.</comment>
                </comments>
                    <attachments>
                    <attachment id="16805" name="201_kvonly_drain02.png" size="61328" author="tommie" created="Wed, 20 Feb 2013 18:58:04 -0600" />
                    <attachment id="16804" name="201_kvonly_drain.png" size="56581" author="tommie" created="Wed, 20 Feb 2013 18:40:08 -0600" />
                    <attachment id="16474" name="Screen Shot 2013-01-31 at 8.33.52 PM.png" size="93667" author="Chisheng" created="Thu, 31 Jan 2013 22:35:18 -0600" />
                    <attachment id="16732" name="Screen Shot 2013-02-12 at 9.21.19 PM.png" size="123106" author="ketaki" created="Tue, 12 Feb 2013 23:24:27 -0600" />
                    <attachment id="16733" name="Screen Shot 2013-02-12 at 9.21.50 PM.png" size="120594" author="ketaki" created="Tue, 12 Feb 2013 23:24:27 -0600" />
                    <attachment id="16737" name="Screen Shot 2013-02-13 at 12.00.22 PM.png" size="112146" author="junyi" created="Wed, 13 Feb 2013 11:35:01 -0600" />
                    <attachment id="16738" name="Screen Shot 2013-02-13 at 12.01.13 PM.png" size="90636" author="junyi" created="Wed, 13 Feb 2013 11:35:01 -0600" />
                    <attachment id="16739" name="Screen Shot 2013-02-13 at 12.28.15 PM.png" size="103502" author="junyi" created="Wed, 13 Feb 2013 11:35:01 -0600" />
                    <attachment id="16740" name="Screen Shot 2013-02-13 at 12.29.01 PM.png" size="111994" author="junyi" created="Wed, 13 Feb 2013 11:35:01 -0600" />
                    <attachment id="16759" name="Screen Shot 2013-02-16 at 5.36.01 PM.png" size="66670" author="junyi" created="Sat, 16 Feb 2013 16:50:29 -0600" />
                    <attachment id="16760" name="Screen Shot 2013-02-16 at 6.19.49 PM.png" size="67968" author="junyi" created="Sat, 16 Feb 2013 17:20:59 -0600" />
                    <attachment id="16774" name="Screen Shot 2013-02-18 at 7.13.05 PM.png" size="136518" author="ketaki" created="Mon, 18 Feb 2013 22:05:07 -0600" />
                    <attachment id="16775" name="Screen Shot 2013-02-18 at 7.31.00 PM.png" size="159127" author="ketaki" created="Mon, 18 Feb 2013 22:05:07 -0600" />
                    <attachment id="16773" name="Screen Shot 2013-02-18 at 7.43.45 PM.png" size="169626" author="ketaki" created="Mon, 18 Feb 2013 22:05:07 -0600" />
                    <attachment id="16776" name="Screen Shot 2013-02-18 at 8.05.19 PM.png" size="205879" author="ketaki" created="Mon, 18 Feb 2013 22:06:40 -0600" />
                    <attachment id="16777" name="Screen Shot 2013-02-18 at 8.06.04 PM.png" size="144878" author="ketaki" created="Mon, 18 Feb 2013 22:06:40 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 4 Feb 2013 13:56:52 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>73</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6726] Rebalance is slow when indexing/compaction and query load are going on in parallel</title>
                <link>http://www.couchbase.com/issues/browse/MB-6726</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Cluster information:&lt;br/&gt;
- 8 centos 6.2 64bit server with 4 cores CPU&lt;br/&gt;
- Each server has 32 GB RAM and 400 GB SSD disk.&lt;br/&gt;
- SSD disk format ext4 on /data&lt;br/&gt;
- Each server has its own drive, no disk sharing with other server.&lt;br/&gt;
- Cluster has 2 buckets, default (11GB) and saslbucket (11GB) with consistent view enable. For 2 buckets, we use only 68% total RAM of system.&lt;br/&gt;
- Load 12 million items to saslbucket and 45 million items to default bucket.  Each key has size from 512 bytes to 1500 bytes&lt;br/&gt;
- Each bucket has one doc and 2 views for each doc (default d1 and saslbucket d11)&lt;br/&gt;
&lt;br/&gt;
* Create cluster with 4 nodes installed couchbase server 2.0.0-1746&lt;br/&gt;
&lt;br/&gt;
10.6.2.37&lt;br/&gt;
10.6.2.38&lt;br/&gt;
10.6.2.39&lt;br/&gt;
10.6.2.40&lt;br/&gt;
&lt;br/&gt;
* Data path /data&lt;br/&gt;
* View path /data&lt;br/&gt;
&lt;br/&gt;
* Let load running at 6K ops, query 400 to 500 per second&lt;br/&gt;
* Add 4 nodes to cluster and rebalance&lt;br/&gt;
10.6.2.42&lt;br/&gt;
10.6.2.43&lt;br/&gt;
10.6.2.44&lt;br/&gt;
10.6.2.45 &lt;br/&gt;
&lt;br/&gt;
* rebalance hang. Filed bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6706&quot; title=&quot;[system test] rebalance hang when add nodes to cluster&quot;&gt;&lt;strike&gt;MB-6706&lt;/strike&gt;&lt;/a&gt; &lt;br/&gt;
* Try rebalance again.  Cluster rebalances saslbucket first and took 9 hours to complete rebalance saslbucket&lt;br/&gt;
* default bucket took 32 hours to complete&lt;br/&gt;
&lt;br/&gt;
Link to collect_info of all nodes &lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/collect_info/orange/2_0_0/201209/8nodes-col-info-1746-reb-slow-constn-enable-20120925-141314.tgz&quot;&gt;https://s3.amazonaws.com/packages.couchbase/collect_info/orange/2_0_0/201209/8nodes-col-info-1746-reb-slow-constn-enable-20120925-141314.tgz&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Each atop file size from 1.5 GB to 2.5 GB.  If atop file needed, I will upload them as request&lt;br/&gt;
</description>
                <environment>centos 6.2 64bit   build 2.0.0-1746</environment>
            <key id="19887">MB-6726</key>
            <summary>Rebalance is slow when indexing/compaction and query load are going on in parallel</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="thuan">Thuan Nguyen</reporter>
                        <labels>
                        <label>2.0.1-release-notes</label>
                        <label>pblock</label>
                        <label>system-test</label>
                    </labels>
                <created>Tue, 25 Sep 2012 16:31:27 -0500</created>
                <updated>Thu, 25 Apr 2013 17:40:01 -0500</updated>
                                    <version>2.0-beta-2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>performance</component>
                                <votes>0</votes>
                        <watches>14</watches>
                                                    <comments>
                    <comment id="39610" author="chiyoung" created="Tue, 25 Sep 2012 16:43:03 -0500"  >&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6714&quot;&gt;http://www.couchbase.com/issues/browse/MB-6714&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
The fix was just merged today. Please test it with the next build.</comment>
                    <comment id="39914" author="ketaki" created="Thu, 27 Sep 2012 20:16:27 -0500"  >Seeing slower rebalance as on &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6769&quot; title=&quot;Very slow rebalance progress while rebalancing-In on Source cluster during Unidirectional XDCR.&quot;&gt;&lt;strike&gt;MB-6769&lt;/strike&gt;&lt;/a&gt; with latest ep-engine changes.</comment>
                    <comment id="39920" author="alkondratenko" created="Thu, 27 Sep 2012 23:31:48 -0500"  >Ketaki, XDCR is a very different beast I&amp;#39;ve seen it to cause very severe CPU load and weird memory usage spikes which could affect anything.&lt;br/&gt;
&lt;br/&gt;
I need:&lt;br/&gt;
&lt;br/&gt;
a) diags&lt;br/&gt;
&lt;br/&gt;
b) I think brand new bug is a good idea here&lt;br/&gt;
</comment>
                    <comment id="39937" author="ketaki" created="Fri, 28 Sep 2012 11:01:31 -0500"  >Ok, I had filed bug 6769 for the same issue. But after some discussion w/ other folks, closed that as a duplicate of this one.&lt;br/&gt;
&lt;br/&gt;
We can have a xdcr-specific bug for understanding this behaviour.&lt;br/&gt;
Closing this one and re-opening 6769 , with more logs.</comment>
                    <comment id="40145" author="ketaki" created="Tue, 2 Oct 2012 12:53:24 -0500"  >This bug was opened by Tony for slowness on rebalance and was fixed with &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6714&quot;&gt;http://www.couchbase.com/issues/browse/MB-6714&lt;/a&gt;.&lt;br/&gt;
&lt;br/&gt;
Closed this bug since we have another rebalance-xdcr slow bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6769&quot; title=&quot;Very slow rebalance progress while rebalancing-In on Source cluster during Unidirectional XDCR.&quot;&gt;&lt;strike&gt;MB-6769&lt;/strike&gt;&lt;/a&gt;.&lt;br/&gt;
&lt;br/&gt;
Please re-open this, if this case is valid on the above system-test scenarios.</comment>
                    <comment id="40217" author="farshid" created="Wed, 3 Oct 2012 12:25:27 -0500"  >blocker for 2.0 beta-2 as consistent views needs to be functional and performs reasonably fast for 2.0 beta 2</comment>
                    <comment id="40359" author="alkondratenko" created="Thu, 4 Oct 2012 11:49:21 -0500"  >_Original_ bug as indeed fixed by ep-engine folks.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve heard we&amp;#39;re still having some slowness with indexes. Please open new bug with new and relevant diagnostics.</comment>
                    <comment id="40412" author="karan" created="Thu, 4 Oct 2012 15:17:34 -0500"  >We are still investigating slowness with indexes+rebalance+consistent views</comment>
                    <comment id="40512" author="sharon" created="Fri, 5 Oct 2012 12:11:08 -0500"  >isn&amp;#39;t this a duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6796&quot; title=&quot;perf - 10x slower rebalance performance with consistent view turned on&quot;&gt;&lt;strike&gt;MB-6796&lt;/strike&gt;&lt;/a&gt;</comment>
                    <comment id="40927" author="farshid" created="Tue, 9 Oct 2012 22:53:07 -0500"  >once thats fixed we can retest</comment>
                    <comment id="41807" author="steve" created="Thu, 18 Oct 2012 13:01:03 -0500"  >pavel&amp;#39;s test yesterday shows views + rebalance performance of...&lt;br/&gt;
&lt;br/&gt;
&amp;gt; Rebalance from 3 to 4 nodes with views (consistent view enabled).&lt;br/&gt;
&amp;gt; just 4.7h (2.0.0-1858) vs. 5.3 h (2.0.0-1792).&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://www.yammer.com/couchbase.com/#/Threads/show?threadId=224286191&quot;&gt;https://www.yammer.com/couchbase.com/#/Threads/show?threadId=224286191&lt;/a&gt;</comment>
                    <comment id="42215" author="thuan" created="Mon, 22 Oct 2012 17:13:06 -0500"  >Re-test orange cluster with build 2.0.0-1862, swap rebalance took 43 hours to complete.  Saslbucket took 20 hours and default bucket took 23.&lt;br/&gt;
&lt;br/&gt;
Cluster has 2 buckets (2 replica), default and saslbucket.  Each bucket has 15 million items with key size from 512 to 1024 bytes.&lt;br/&gt;
Do swap rebalace, add 2 nodes and remove 2 nodes.  During rebalance, maintain the load about 6K ops on each bucket and queries about 200 to 300 per second on each bucket.</comment>
                    <comment id="42216" author="thuan" created="Mon, 22 Oct 2012 17:22:21 -0500"  >Link to manifest file of build 2.0.0-1862 &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1862-rel.rpm.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1862-rel.rpm.manifest.xml&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="42217" author="chiyoung" created="Mon, 22 Oct 2012 17:36:28 -0500"  >Farshid,&lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t think there is anything that I can do in ep-engine to resolve this issue.&lt;br/&gt;
&lt;br/&gt;
We know that this slowness is caused by enabling indexing / querying during rebalance with consistence view.&lt;br/&gt;
&lt;br/&gt;
Please assign it to Filipe or Alk for further investigations.&lt;br/&gt;
</comment>
                    <comment id="42271" author="farshid" created="Tue, 23 Oct 2012 12:31:27 -0500"  >assigning this to Siri/Mike for furthere investigation and traige</comment>
                    <comment id="42305" author="steve" created="Tue, 23 Oct 2012 14:35:24 -0500"  >assigning to mike as sriram is on plane at the moment.  need to get alk + damien on this.</comment>
                    <comment id="43072" author="steve" created="Thu, 1 Nov 2012 15:44:38 -0500"  >latest update: pavel, alk &amp;amp; steve have agreed on a new larger test with more isolation. awaiting results.</comment>
                    <comment id="43074" author="steve" created="Thu, 1 Nov 2012 15:57:16 -0500"  >notes from bug-scrub discussion...&lt;br/&gt;
&lt;br/&gt;
- farshid: QA now trying system testing with fewer vbuckets (64), which is unsupported configuration but need to turnaround test results can be turned around faster.&lt;br/&gt;
&lt;br/&gt;
- alk&amp;#39;s considering batching -- on small-scale his tests show it might help (but unknown what would happen on larger scale).&lt;br/&gt;
&lt;br/&gt;
- alk: consider recommending users disable consistent views before they rebalance.&lt;br/&gt;
&lt;br/&gt;
- yaseen: need to found out boundary conditions around this?</comment>
                    <comment id="43103" author="pavelpaulau" created="Thu, 1 Nov 2012 19:17:58 -0500"  >Results for Alk&amp;#39;s spec:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdFVINGEyZ0hzOGUtbWVHeUU3T3Rlc1E#gid=0&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdFVINGEyZ0hzOGUtbWVHeUU3T3Rlc1E#gid=0&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
We should use more ddoc/views. Otherwise indexing is too fast.</comment>
                    <comment id="43104" author="pavelpaulau" created="Thu, 1 Nov 2012 19:42:09 -0500"  >Conclusions:&lt;br/&gt;
-- indexing is not a bottleneck&lt;br/&gt;
-- compaction does&amp;#39;t affect results significantly (again)&lt;br/&gt;
-- we have to try three additional dimensions: more items (20M), more design ddocs (2), less vbuckets (512).</comment>
                    <comment id="43290" author="steve" created="Mon, 5 Nov 2012 13:33:07 -0600"  >Alk says no more experiment ideas at the moment for Pavel.</comment>
                    <comment id="43995" author="steve" created="Wed, 14 Nov 2012 13:07:25 -0600"  >options reviewed in bug-scrub...&lt;br/&gt;
&lt;br/&gt;
- sequential vs parallel fix for rebalancing (start next phase right after backfill&amp;#39;s done) [alk]&lt;br/&gt;
&lt;br/&gt;
- vbucket-id as prefix to back-index [filipe] - early laptop results look promising</comment>
                    <comment id="44462" author="steve" created="Tue, 20 Nov 2012 13:54:05 -0600"  >bug-scrub moved to 2.0.1</comment>
                    <comment id="46104" author="mikew" created="Mon, 17 Dec 2012 13:52:18 -0600"  >Editing the component to &amp;quot;view engine&amp;quot; and &amp;quot;ns_server&amp;quot;. If there is anything that needs to be done for this on the ep-engine side please let us know.</comment>
                    <comment id="47428" author="farshid" created="Wed, 9 Jan 2013 20:08:58 -0600"  >system test team needs to rerun the view tests ( 8 node SSD ) </comment>
                    <comment id="47451" author="pavelpaulau" created="Thu, 10 Jan 2013 01:39:00 -0600"  >As for build 121 there is no significant improvement in perf. tests.</comment>
                    <comment id="47452" author="farshid" created="Thu, 10 Jan 2013 01:43:07 -0600"  >can you paste the link to the results ? ( comparing this build against 2.0 GA ) </comment>
                    <comment id="47463" author="pavelpaulau" created="Thu, 10 Jan 2013 04:35:57 -0600"  >2.0.0-1971:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/eperf-graph-loop/1217/artifact/reb-vperf-10M.loop_2.0.0-1971-rel-enterprise_2.0.0-1971-rel-enterprise_run_1_Dec-04-2012_22:54:50.pdf&quot;&gt;http://qa.hq.northscale.net/job/eperf-graph-loop/1217/artifact/reb-vperf-10M.loop_2.0.0-1971-rel-enterprise_2.0.0-1971-rel-enterprise_run_1_Dec-04-2012_22:54:50.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
2.0.1-121:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/view/eperf-graphs/job/eperf-graph-loop/1334/artifact/reb-vperf-10M.loop_2.0.1-121-rel-enterprise_2.0.1-121-rel-enterprise_run_1_Jan-09-2013_06%3A40%3A40.pdf&quot;&gt;http://qa.hq.northscale.net/view/eperf-graphs/job/eperf-graph-loop/1334/artifact/reb-vperf-10M.loop_2.0.1-121-rel-enterprise_2.0.1-121-rel-enterprise_run_1_Jan-09-2013_06%3A40%3A40.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s not quite fair comparison but re-balance time is still ~ 4 hours.</comment>
                    <comment id="47516" author="farshid" created="Thu, 10 Jan 2013 12:57:11 -0600"  >rebalance is 10% faster but could be environment noise&lt;br/&gt;
looks better : &lt;br/&gt;
cpu util 5% better&lt;br/&gt;
the memory usage numbers dont look quite right  ( ns-server avg reports 21235692 MB == 21 GB ? )&lt;br/&gt;
&lt;br/&gt;
looks worse:&lt;br/&gt;
&amp;nbsp;runtime is 8 hours longer , &lt;br/&gt;
query ops/sec dropped from 537 to 339 but query latency is far better ( 48msec in 2..0.1 compared to 58 in 2.0 ) &lt;br/&gt;
drain rate is slower by 15% percent&lt;br/&gt;
&lt;br/&gt;
we need to find out why query ops/sec is very slow.&lt;br/&gt;
&lt;br/&gt;
reb&#8722;vperf&#8722;10M.conf&lt;br/&gt;
# Perf&#8722;rebalance test with views&lt;br/&gt;
# 1 design ddoc, 8 views&lt;br/&gt;
# 8K ops/sec&lt;br/&gt;
# 80% reads, 20% writes (12% updates/deletes, 8% inserts)&lt;br/&gt;
# 10M dataset&lt;br/&gt;
# Rebalance from 3 to 4 nodes</comment>
                    <comment id="47517" author="farshid" created="Thu, 10 Jan 2013 12:59:35 -0600"  >Alk/Filipe,&lt;br/&gt;
&lt;br/&gt;
there are initial results available for the litmus test. can you also review the results and comment on what we need to change in the test case.&lt;br/&gt;
&lt;br/&gt;
from my discussion with Alk/Filipe i heard adding more ddocs would help. is there anything else we want to change in the tes t?</comment>
                    <comment id="47527" author="FilipeManana" created="Thu, 10 Jan 2013 13:39:49 -0600"  >I do have measured results, and documented steps to reproduce, for rebalance out cases.&lt;br/&gt;
What I see, is that specially for cases of 1 ddoc with 1 view case, the view engine (indexing and compaction) is poorly utilized:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1eUV53B5pXj-5X5FPcbOA3jz1U6jOjh1hnZmZa9bUNs0/edit&quot;&gt;https://docs.google.com/document/d/1eUV53B5pXj-5X5FPcbOA3jz1U6jOjh1hnZmZa9bUNs0/edit&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
So you a bit more than theory there.</comment>
                    <comment id="47590" author="pavelpaulau" created="Fri, 11 Jan 2013 06:01:19 -0600"  >As I mentioned before it is *not* fair comparison.&lt;br/&gt;
&lt;br/&gt;
After 2.0 release I revised config and rebalance tests now use 3 ddocs with 3 views per doc.&lt;br/&gt;
Moreover after 2.0 release we discovered issue with one of ssd drives, so for many reasons we need a re-run.&lt;br/&gt;
&lt;br/&gt;
But in any case, 4 hours don&amp;#39;t look like something ultra fast.&lt;br/&gt;
&lt;br/&gt;
We do more experiments, for instance rebalance out 4 -&amp;gt; 3 with no ops/queries took 7h (40M items) and 14h (100M items). Is it something that sounds good?</comment>
                    <comment id="47609" author="FilipeManana" created="Fri, 11 Jan 2013 12:53:00 -0600"  >New results, for build 2.0.1-126:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1aHHhY-ami84-aEQyx42h95rlp7Vi6WTwlozaIstFgfA/edit&quot;&gt;https://docs.google.com/document/d/1aHHhY-ami84-aEQyx42h95rlp7Vi6WTwlozaIstFgfA/edit&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
In the meanwhile Pavel already re-triggered the tests he mentioned for this new build.</comment>
                    <comment id="47684" author="pavelpaulau" created="Mon, 14 Jan 2013 05:11:46 -0600"  >Sorry, it&amp;#39;s not faster at all.&lt;br/&gt;
The same regression as Ronnie reports:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&lt;/a&gt;</comment>
                    <comment id="47729" author="farshid" created="Mon, 14 Jan 2013 14:18:07 -0600"  >summarizing what i see in the google doc above :&lt;br/&gt;
&lt;br/&gt;
rebalance out 10M items 2.0.1 ( +A ) is 15 percent slower than 2.0 GA ( +S16)&lt;br/&gt;
rebalance in 10M items 2.0.1 ( +A ) is 40% slower than 2.0 GA ( +S16)&lt;br/&gt;
&lt;br/&gt;
Pavel is planning on rerunning some tests with +A option and post more results.</comment>
                    <comment id="47732" author="pavelpaulau" created="Mon, 14 Jan 2013 14:29:15 -0600"  >we should thank Filipe, w/o latest improvements it&amp;#39;d be much worse.</comment>
                    <comment id="48241" author="FilipeManana" created="Tue, 22 Jan 2013 08:36:52 -0600"  >evperf results for build 2.0.1-139:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/document/d/16BQu-sD32U4qZxEK8KcvVZMdcqH_klV90DEbnoCu-_E/edit&quot;&gt;https://docs.google.com/document/d/16BQu-sD32U4qZxEK8KcvVZMdcqH_klV90DEbnoCu-_E/edit&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
specially for 40M, 4 -&amp;gt; 3 rebalance out without load in parallel, indexing + index compaction is still far from being a bottleneck.&lt;br/&gt;
&lt;br/&gt;
Previously, until a month or so ago, indexing was triggered sequentially in every node for rebalance out, so improving that would theoretically give close to 3x faster rebalance, but that didn&amp;#39;t happen, as the rebalancer now triggers compactions and waits for them to finish before issuing more indexing work, amongst other details possibly. However index compaction doesn&amp;#39;t justify not seeing a significant faster rebalance, lets say around 2x for example.&lt;br/&gt;
&lt;br/&gt;
Talking with Pavel, no significant speedups were observed for evperf rebalance tests after those improvements were merged.&lt;br/&gt;
&lt;br/&gt;
There&amp;#39;s still something missing somewhere.</comment>
                    <comment id="48296" author="farshid" created="Tue, 22 Jan 2013 14:42:53 -0600"  >based on recent perf runs from Pavel the 2.0.1-139-rel runs are much faster than 2.0.0 but are marked as not consistent.&lt;br/&gt;
&lt;br/&gt;
we are still waiting for Pavel to rerun these tests.</comment>
                    <comment id="48297" author="farshid" created="Tue, 22 Jan 2013 14:45:05 -0600"  >looking at the chart &lt;br/&gt;
2.0.1-139	IN	10M	3 x 3	ASYNC	2063&lt;br/&gt;
2.0.1-139	OUT	10M	3 x 3	ASYNC	2401&lt;br/&gt;
&lt;br/&gt;
but both are marked as not consistent &lt;br/&gt;
compared to 2.0.0 1976 GA&lt;br/&gt;
&lt;br/&gt;
2.0.0-1976	OUT	10M	3 x 3	ASYNC	18491, 15391&lt;br/&gt;
2.0.0-1976	IN	10M	3 x 3	ASYNC	12035</comment>
                    <comment id="48345" author="pavelpaulau" created="Wed, 23 Jan 2013 01:56:22 -0600"  >&amp;quot;not consistent&amp;quot; means rebalance aware index disabled.&lt;br/&gt;
&lt;br/&gt;
Alk requested these results.</comment>
                    <comment id="48496" author="FilipeManana" created="Thu, 24 Jan 2013 08:34:59 -0600"  >Slightly related, &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7413&quot; title=&quot;Speedup incremental index updates, and make them generate less fragmentation&quot;&gt;&lt;strike&gt;MB-7413&lt;/strike&gt;&lt;/a&gt; brought a 3x speedup to incremental index updates, which was though to be the bottleneck. But after it was added, it didn&amp;#39;t seem to have any significant impact on the rebalance time.&lt;br/&gt;
&lt;br/&gt;
There&amp;#39;s now an evperf test to verify this, outside the rebalance context (added by CBD-767, thanks Pavel!).&lt;br/&gt;
&lt;br/&gt;
It confirms the 3x speedup:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
** build 2.0.1-120 (before &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7413&quot; title=&quot;Speedup incremental index updates, and make them generate less fragmentation&quot;&gt;&lt;strike&gt;MB-7413&lt;/strike&gt;&lt;/a&gt;)&lt;br/&gt;
&lt;br/&gt;
jenkins: &lt;a href=&quot;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/62/console&quot;&gt;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/62/console&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
incremental update time:  5676.96956992 seconds&lt;br/&gt;
&lt;br/&gt;
** build 2.0.1-121 (when &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7413&quot; title=&quot;Speedup incremental index updates, and make them generate less fragmentation&quot;&gt;&lt;strike&gt;MB-7413&lt;/strike&gt;&lt;/a&gt; was first introduced)&lt;br/&gt;
&lt;br/&gt;
jenkins: &lt;a href=&quot;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/63/console&quot;&gt;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/63/console&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
incremental update time:  1812.51270294 seconds&lt;br/&gt;
&lt;br/&gt;
** build 2.0.1-140 (latest 2.0.1)&lt;br/&gt;
&lt;br/&gt;
jenkins: &lt;a href=&quot;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/64/console&quot;&gt;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/64/console&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
incremental update time:  1939.70245409&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48712" author="pavelpaulau" created="Sat, 26 Jan 2013 22:58:43 -0600"  >build 143&lt;br/&gt;
master events logs&lt;br/&gt;
in 3-&amp;gt;4, out 4-&amp;gt;3, swap 3-&amp;gt;3.</comment>
                    <comment id="50117" author="jin" created="Mon, 11 Feb 2013 18:20:44 -0600"  >Pavel, please provide latest performance number based on the latest build. I believe we have made a good progress since build 145?</comment>
                    <comment id="50121" author="pavelpaulau" created="Mon, 11 Feb 2013 18:25:34 -0600"  >Since build 148 actually.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://dashboard.hq.couchbase.com/litmus/dashboard/&quot;&gt;http://dashboard.hq.couchbase.com/litmus/dashboard/&lt;/a&gt;&lt;br/&gt;
(search for reb-vperf)&lt;br/&gt;
&lt;br/&gt;
+ another summary&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
In some cases we observe up to 20% improvement, but basically we just fixed &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7676&quot; title=&quot;Rebalance hangs when [presumably] data compaction takes place&quot;&gt;&lt;strike&gt;MB-7676&lt;/strike&gt;&lt;/a&gt; regression.</comment>
                    <comment id="50131" author="alkondratenko" created="Mon, 11 Feb 2013 19:47:06 -0600"  >Please, point me to logs and master events from this runs.</comment>
                    <comment id="50134" author="pavelpaulau" created="Mon, 11 Feb 2013 19:57:18 -0600"  >For instance, rebalance-in 60M items.&lt;br/&gt;
&lt;br/&gt;
4DDOCS 2.0.0-1976:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/26/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/26/artifact/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
4DDOCS 2.0.1-148:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/25/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/25/artifact/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
1DDOC 2.0.0-1976:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/23/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/23/artifact/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
1DDOC 2.0.1-148:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/22/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/22/artifact/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="50136" author="alkondratenko" created="Mon, 11 Feb 2013 20:00:02 -0600"  >May I have all of them and not just &amp;quot;for instance&amp;quot; :) ?</comment>
                    <comment id="50137" author="pavelpaulau" created="Mon, 11 Feb 2013 20:06:16 -0600"  >Like 30 logs?</comment>
                    <comment id="50138" author="alkondratenko" created="Mon, 11 Feb 2013 20:07:36 -0600"  >Sure. If there&amp;#39;s some way for me to find all of them, then feel free to explain me how.</comment>
                    <comment id="50139" author="pavelpaulau" created="Mon, 11 Feb 2013 20:15:40 -0600"  >Well, I get these logs from 2 jobs:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/&quot;&gt;http://qa.hq.northscale.net/view/eperf-parents/job/vesta-views/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
You can check parameters and artifacts of every build. Or you can wait and so that later I can grab all of them and upload single archive.&lt;br/&gt;
This is something that I&amp;#39;d not recommend to do manually.</comment>
                    <comment id="50140" author="alkondratenko" created="Mon, 11 Feb 2013 20:24:50 -0600"  >Unfortunately I cannot make sense of stuff you linked to above.&lt;br/&gt;
&lt;br/&gt;
I will not necessarily need all logs. I&amp;#39;ll start looking at |2.0.1-153	IN	60M	1 x 3	YES	19806	5.50| and it&amp;#39;s corresponding 2.0.0 events. But I may find other stuff useful. And thus I may need logs of any test run.&lt;br/&gt;
</comment>
                    <comment id="50192" author="pavelpaulau" created="Tue, 12 Feb 2013 16:28:26 -0600"  >I added *logs* column to that spreadsheet. In some cases there are no master events in build artifacts.</comment>
                    <comment id="50193" author="alkondratenko" created="Tue, 12 Feb 2013 16:29:40 -0600"  >Thanks a lot. I&amp;#39;ll take a look</comment>
                    <comment id="50230" author="alkondratenko" created="Tue, 12 Feb 2013 23:14:44 -0600"  >See master_events.log.svg generated from master events of rebalance (cut-n-pasting from spreadsheet)&lt;br/&gt;
&lt;br/&gt;
2.0.1-153	IN	60M	1 x 3	YES	19806	5.5	no replica index	&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/28/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/28/artifact/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
empty intervals (and I&amp;#39;ve confirmed from logs) represent view compactions. Surprisingly, they eat about 1/2 of all time. At least by looking at picture.&lt;br/&gt;
&lt;br/&gt;
As a workaround I&amp;#39;d like you to try same setup with increased  value of vbucket moves before forced view compaction: &lt;a href=&quot;http://i.imgur.com/T38iPCS.png&quot;&gt;http://i.imgur.com/T38iPCS.png&lt;/a&gt; Internal setting for this variable is named rebalanceMovesBeforeCompaction&lt;br/&gt;
&lt;br/&gt;
Let&amp;#39;s try bumping it up a lot, say to 256 and see if that helps.&lt;br/&gt;
&lt;br/&gt;
cc-ing Filipe, in case he wants to add anything.</comment>
                    <comment id="50278" author="pavelpaulau" created="Wed, 13 Feb 2013 12:09:26 -0600"  >Moving it to 2.1 since we see noticeable improvements in systems tests and even performance tests demonstrate some positive changes. Also we don&amp;#39;t expect any particular fix from Filipe and Alk for 2.0.1 and 2.0.2.&lt;br/&gt;
&lt;br/&gt;
So it&amp;#39;s not fast enough but obviously this bug is not 2.0.1/2.0.2 blocker anymore.</comment>
                    <comment id="50309" author="alkondratenko" created="Wed, 13 Feb 2013 13:31:40 -0600"  >Disagree with 2.0.2 a bit. There may still be reasonably low hanging fruit left. I.e. currently it appears we&amp;#39;re spending a bit too much on views compaction. We can at least trade higher disk space usage during rebalance for faster rebalance time at this moment.</comment>
                    <comment id="50583" author="pavelpaulau" created="Fri, 15 Feb 2013 14:53:22 -0600"  >I&amp;#39;ve tried 2.0.1-153 with rebalanceMovesBeforeCompaction=256. Brief comparison:&lt;br/&gt;
-- rebalance time 3h vs 5.5h with default settings and 5.4h with 2.0.0-1976&lt;br/&gt;
-- peak disk size is 415GB vs 366GB with default settings and 613GB with 2.0.0-1976&lt;br/&gt;
&lt;br/&gt;
Build artifacts:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-views/28/artifact/&quot;&gt;http://172.23.96.10:8080/job/apollo-views/28/artifact/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
PDF Report:&lt;br/&gt;
&lt;a href=&quot;http://172.23.96.10:8080/job/apollo-graph-loop/25/artifact/reb-vperf-60M-in-1d-256rmbc.loop_2.0.1-153-rel-enterprise_2.0.1-153-rel-enterprise_APPOLO_Feb-14-2013_19%3A52%3A00.pdf&quot;&gt;http://172.23.96.10:8080/job/apollo-graph-loop/25/artifact/reb-vperf-60M-in-1d-256rmbc.loop_2.0.1-153-rel-enterprise_2.0.1-153-rel-enterprise_APPOLO_Feb-14-2013_19%3A52%3A00.pdf&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="50593" author="alkondratenko" created="Fri, 15 Feb 2013 15:28:04 -0600"  >415 vs 366 is including data. Views different is apparently quite a lot bigger.&lt;br/&gt;
&lt;br/&gt;
May I ask you to do few runs with 32, 64 and 128 ?&lt;br/&gt;
&lt;br/&gt;
It appears that we should consider bumping that value for great gain in rebalance time, but it remains to be seen which value works best. That&amp;#39;s going to be trade off  between disk space usage and rebalance time.</comment>
                    <comment id="50763" author="pavelpaulau" created="Mon, 18 Feb 2013 19:16:08 -0600"  >No problem, will do.</comment>
                    <comment id="50970" author="pavelpaulau" created="Wed, 20 Feb 2013 12:40:29 -0600"  >I observe very strange results in recent builds. For instance, &amp;quot;60M+1 ddoc+load&amp;quot; case is 2x slower when compared with 2.0. See spreadsheet for details (rows 16-18):&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdDV1SXhUZjJ0b0RhU3gtdlUzZGloUFE#gid=0&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Alk, do you have any idea why it happens?</comment>
                    <comment id="50971" author="pavelpaulau" created="Wed, 20 Feb 2013 12:40:58 -0600"  >+ chart for rebalance progress 153 vs 160.</comment>
                    <comment id="50972" author="ketaki" created="Wed, 20 Feb 2013 12:45:19 -0600"  >Behaviour similar to &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7785&quot;&gt;http://www.couchbase.com/issues/browse/MB-7785&lt;/a&gt;</comment>
                    <comment id="50997" author="alkondratenko" created="Wed, 20 Feb 2013 17:02:42 -0600"  >Just spotted Pavel&amp;#39;s message.&lt;br/&gt;
&lt;br/&gt;
May I have manifest of build 160 where we supposedly jumped backwards about 2x perf-wise ?</comment>
                    <comment id="51057" author="pavelpaulau" created="Wed, 20 Feb 2013 22:43:48 -0600"  >Ok, re-run of 160 was just 1.2x slower.&lt;br/&gt;
&lt;br/&gt;
But it&amp;#39;s still hard to understand whether it&amp;#39;s environment variation or something software specific.</comment>
                    <comment id="51477" author="jin" created="Tue, 26 Feb 2013 17:28:01 -0600"  >From NS SRV team (Alk):&lt;br/&gt;
&lt;br/&gt;
wget --post-data=&amp;#39;rebalanceMovesBeforeCompaction=256&amp;#39; --user=Administrator --password=asdasd &lt;a href=&quot;http://lh:9000/internalSettings&quot;&gt;http://lh:9000/internalSettings&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
So that&amp;#39;s usual POST to usual /internalSettings API with field name rebalanceMovesBeforeCompaction.&lt;br/&gt;
Default value is 16. And that&amp;#39;s how many in- or out- going vbuckets will be moved per node before pausing all moves, triggering views compaction and awaiting its completion.&lt;br/&gt;
View compaction is forbidden during vbucket moves. So larger values means less frequent view compactions. Which means less time &amp;quot;spent&amp;quot; on it, but it also means greater disk usage by views.&lt;br/&gt;
</comment>
                    <comment id="51673" author="dipti" created="Thu, 28 Feb 2013 12:23:25 -0600"  >For this PCI sprint, we need to find the best default and better understand the impact of changing this parameter. Pavel to drive. </comment>
                    <comment id="52217" author="thuan" created="Thu, 7 Mar 2013 02:20:20 -0600"  >Integrated in ui-testing #11 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/11/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/11/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6726&quot; title=&quot;Rebalance is slow when indexing/compaction and query load are going on in parallel&quot;&gt;MB-6726&lt;/a&gt;: add config with rebalance_moves_before_compaction=256 (Revision 7fc2baf69f359946f978d6d59f0b7f0458805ac1)&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6726&quot; title=&quot;Rebalance is slow when indexing/compaction and query load are going on in parallel&quot;&gt;MB-6726&lt;/a&gt;: add config with tuned reb. moves before comp. (Revision 043ce1685781d5b7fa207ffc265698cd62db906d)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* conf/perf/reb-vperf-60M-in-1d-256rmbc.conf&lt;br/&gt;
&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* conf/perf/reb-vperf-60M-in-1d-128rmbc.conf&lt;br/&gt;
* conf/perf/reb-vperf-60M-in-1d-32rmbc.conf&lt;br/&gt;
* conf/perf/reb-vperf-60M-in-1d-64rmbc.conf&lt;br/&gt;
</comment>
                    <comment id="52416" author="pavelpaulau" created="Mon, 11 Mar 2013 07:25:47 -0500"  >I&amp;#39;ve created separate task for rebalanceMovesBeforeCompaction.</comment>
                    <comment id="53414" author="maria" created="Mon, 25 Mar 2013 13:16:52 -0500"  >deferred out of 2.0.2 release.&lt;br/&gt;
aliaksey and team need further investigation.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="23119">MB-8045</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="19961">MB-6769</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16731" name="master_events.log.svg" size="252318" author="alkondratenko" created="Tue, 12 Feb 2013 23:14:44 -0600" />
                    <attachment id="16322" name="master_events.tar.gz" size="1104048" author="pavelpaulau" created="Sat, 26 Jan 2013 22:58:43 -0600" />
                    <attachment id="16803" name="rebalance_progress.png" size="38350" author="pavelpaulau" created="Wed, 20 Feb 2013 12:40:58 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 25 Sep 2012 16:43:03 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>309</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>1</customfieldvalue>
    <customfieldvalue>9</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10050" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Sprint Priority</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1.0</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-5598] Couchbase Server started too early in boot sequence...IP address wasn&apos;t yet ready</title>
                <link>http://www.couchbase.com/issues/browse/MB-5598</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Logs attached.  The reported problem was that after a power failure, one node of a 2-node Couchbase cluster returned with a reset configuration.&lt;br/&gt;
&lt;br/&gt;
In the Couchbase logs, right after the restart, we are unable to listen on the IP address we think we should be listening on:&lt;br/&gt;
ERROR REPORT  &amp;lt;0.57.0&amp;gt;                                      2012-06-18 09:12:01&lt;br/&gt;
===============================================================================&lt;br/&gt;
&lt;br/&gt;
Got error:eaddrnotavail. Cannot listen on configured address:192.168.1.8&lt;br/&gt;
&lt;br/&gt;
I see in the /var/log/messages that the DHCP client got the address 3 seconds after we tried to listen on it:&lt;br/&gt;
Jun 18 09:12:03 cheetah dhclient: bound to 192.168.1.8 -- renewal in 807476524 seconds.&lt;br/&gt;
&lt;br/&gt;
And then because we don&amp;#39;t know who we are:&lt;br/&gt;
&lt;br/&gt;
INFO REPORT  &amp;lt;6044.171.0&amp;gt;                                   2012-06-18 09:12:02&lt;br/&gt;
===============================================================================&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;6044.171.0&amp;gt;:ns_node_disco:189: We&amp;#39;ve been shunned (nodes_wanted = [&amp;#39;&lt;a href=&apos;mailto:ns_1@192.168.1.71&apos;&gt;ns_1@192.168.1.71&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;&lt;a href=&apos;mailto:ns_1@192.168.1.8&apos;&gt;ns_1@192.168.1.8&lt;/a&gt;&amp;#39;]). Leaving cluster.&lt;br/&gt;
&lt;br/&gt;
INFO REPORT  &amp;lt;6044.66.0&amp;gt;                                    2012-06-18 09:12:02&lt;br/&gt;
===============================================================================&lt;br/&gt;
&lt;br/&gt;
ns_log: logging ns_cluster:1:Node &amp;#39;&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;&amp;#39; is leaving cluster.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Then we spiral around a bunch, seemingly resetting the configuration a number of times (not sure what that&amp;#39;s all about, seems like spamming the logs for a few minutes).  We settle into a single node cluster, then magically reboot:&lt;br/&gt;
&lt;br/&gt;
INFO REPORT  &amp;lt;0.54.0&amp;gt;                                       2012-06-18 09:19:27&lt;br/&gt;
===============================================================================&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:nonode@nohost&apos;&gt;nonode@nohost&lt;/a&gt;:&amp;lt;0.54.0&amp;gt;:log_os_info:25: OS type: {unix,linux} Version: {2,6,32}&lt;br/&gt;
Runtime info: [{otp_release,&amp;quot;R14B03&amp;quot;},&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Try to listen on the correct address again:&lt;br/&gt;
&lt;br/&gt;
INFO REPORT  &amp;lt;0.57.0&amp;gt;                                       2012-06-18 09:19:27&lt;br/&gt;
===============================================================================&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:nonode@nohost&apos;&gt;nonode@nohost&lt;/a&gt;:&amp;lt;0.57.0&amp;gt;:dist_manager:105: Attempting to bring up net_kernel with name &amp;#39;&lt;a href=&apos;mailto:ns_1@192.168.1.8&apos;&gt;ns_1@192.168.1.8&lt;/a&gt;&amp;#39;&lt;br/&gt;
&lt;br/&gt;
But it&amp;#39;s too late, we&amp;#39;ve already been kicked out of the cluster and reset the config.&lt;br/&gt;
--------------------------------------------------------------------------------------------------------------------------------&lt;br/&gt;
&lt;br/&gt;
Adding the ns_server component since I think it could definitely handle this case much better, and probably retry to listen on the correct IP address a few times (more than 1) before wiping the config&lt;br/&gt;
&lt;br/&gt;
Adding the linux_installer component since it would probably be a best practice to configure Couchbase as one of the very last services that starts up to ensure the rest of the system is ready when we come up.</description>
                <environment></environment>
            <key id="17856">MB-5598</key>
            <summary>Couchbase Server started too early in boot sequence...IP address wasn&apos;t yet ready</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="steve">Steve Yen</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Mon, 18 Jun 2012 06:23:19 -0500</created>
                <updated>Mon, 8 Oct 2012 15:59:35 -0500</updated>
                                    <version>1.8.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>installer</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="30373" author="alkondratenko" created="Mon, 18 Jun 2012 10:45:12 -0500"  >Thank you very much for finding it. We&amp;#39;ll see if that&amp;#39;s still the case and reproducible.</comment>
                    <comment id="30476" author="alkondratenko" created="Mon, 18 Jun 2012 17:23:45 -0500"  >This is potentially a massive problem. Not sure 1.8.1 still has it</comment>
                    <comment id="30491" author="Aliaksey Artamonau" created="Mon, 18 Jun 2012 18:28:23 -0500"  >Perry, attach the full log please.</comment>
                    <comment id="30509" author="perry" created="Tue, 19 Jun 2012 01:08:33 -0500"  >Sorry about that, the log is at: &lt;a href=&quot;https://customers.couchbase.com.s3.amazonaws.com/triworks/couchbase_info.gz&quot;&gt;https://customers.couchbase.com.s3.amazonaws.com/triworks/couchbase_info.gz&lt;/a&gt;</comment>
                    <comment id="30758" author="thuan" created="Wed, 20 Jun 2012 17:16:01 -0500"  >Integrated in github-ns-server-2-0 #378 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ns-server-2-0/378/&quot;&gt;http://qa.hq.northscale.net/job/github-ns-server-2-0/378/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-5598&quot; title=&quot;Couchbase Server started too early in boot sequence...IP address wasn&amp;#39;t yet ready&quot;&gt;MB-5598&lt;/a&gt; Don&amp;#39;t start the server if configured ip address is wrong. (Revision c9b5eb44e80f62f92bcfde768be63de66ad4cdd2)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Aliaksey Kandratsenka : &lt;br/&gt;
Files : &lt;br/&gt;
* src/dist_manager.erl&lt;br/&gt;
</comment>
                    <comment id="30818" author="perry" created="Thu, 21 Jun 2012 07:27:45 -0500"  >Reopening since in this case, the IP address actually was correct...the system just wasn&amp;#39;t ready to have it be listened on.  As per my initial comment, can the Linux installer configure Couchbase to start up farther down the list of services so that it gives the system more time to bring up the more necessary services?</comment>
                    <comment id="32260" author="peter" created="Fri, 6 Jul 2012 16:30:38 -0500"  >Perry, what was the distribution that had this problem, so we can address this in the init script.</comment>
                    <comment id="32425" author="perry" created="Mon, 9 Jul 2012 13:25:35 -0500"  >This was CentOS I believe, the logs have all of the relevant information about the specific system.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Jun 2012 10:45:12 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3184</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7282] erlang&apos;s global naming facility apparently drops globally registered service with actual service still alive (was: impossible to change settings/autoFailover after rebalance)</title>
                <link>http://www.couchbase.com/issues/browse/MB-7282</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>build &lt;br/&gt;
./testrunner -i resources/jenkins/centos-64-5node-failover.ini get-logs=True -t autofailovertests.AutoFailoverTests.test_enable,replicas=2,keys-count=1000000,num-buckets=2&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/480/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/480/consoleFull&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
test changes settings/autoFailover after rebalance&lt;br/&gt;
&lt;br/&gt;
test logs:&lt;br/&gt;
&lt;br/&gt;
2012-11-27 22:29:42,105 - INFO - MainProcess:MainThread - rest_client:_rebalance_progress - rebalance percentage : 99.5678770149 %&lt;br/&gt;
2012-11-27 22:29:44,114 - INFO - MainProcess:MainThread - rest_client:_rebalance_progress - rebalance percentage : 99.6821896236 %&lt;br/&gt;
2012-11-27 22:29:48,134 - INFO - MainProcess:MainThread - rest_client:monitorRebalance - rebalance progress took 1111.69762397 seconds &lt;br/&gt;
2012-11-27 22:29:48,135 - INFO - MainProcess:MainThread - rest_client:monitorRebalance - sleep for 10 seconds after rebalance...&lt;br/&gt;
2012-11-27 22:29:58,133 - INFO - MainProcess:MainThread - rest_client:update_autofailover_settings - settings/autoFailover params : enabled=true&amp;amp;timeout=30&lt;br/&gt;
2012-11-27 22:29:58,140 - ERROR - MainProcess:MainThread - rest_client:_http_request - &lt;a href=&quot;http://10.1.3.114:8091/settings/autoFailover&quot;&gt;http://10.1.3.114:8091/settings/autoFailover&lt;/a&gt; error 500 reason: unknown [&amp;quot;Unexpected server error, request logged.&amp;quot;]&lt;br/&gt;
&lt;br/&gt;
server logs:&lt;br/&gt;
&lt;br/&gt;
[menelaus:warn,2012-11-27T22:53:28.404,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.21541.23&amp;gt;:menelaus_web:loop:430]Server error during processing: [&amp;quot;web request failed&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{path,&amp;quot;/settings/autoFailover&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{type,exit},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{what,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{noproc,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{global,auto_failover},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{enable_auto_failover,30,1}]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{trace,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{gen_server,call,2},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{menelaus_web,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;handle_settings_auto_failover_post,1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{menelaus_web,loop,3},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{mochiweb_http,headers,5},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{proc_lib,init_p_do_apply,3}]}]&lt;br/&gt;
&lt;br/&gt;
Alk, if we have to handle the error and retry again, please assign the ticket back to me&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20985">MB-7282</key>
            <summary>erlang&apos;s global naming facility apparently drops globally registered service with actual service still alive (was: impossible to change settings/autoFailover after rebalance)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2012 08:56:06 -0600</created>
                <updated>Thu, 2 May 2013 17:31:37 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="44927" author="andreibaranouski" created="Wed, 28 Nov 2012 09:01:02 -0600"  >&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7282/350d5885-93c9-4497-bc64-fd5c65d4c162-10.1.3.114-diag.txt.gz&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7282/350d5885-93c9-4497-bc64-fd5c65d4c162-10.1.3.114-diag.txt.gz&lt;/a&gt;</comment>
                    <comment id="44928" author="farshid" created="Wed, 28 Nov 2012 09:06:44 -0600"  >does it work when you retry ?</comment>
                    <comment id="44946" author="steve" created="Wed, 28 Nov 2012 13:18:14 -0600"  >per bug-scrub, assigning back to andrei.&lt;br/&gt;
&lt;br/&gt;
please try to reproduce it again (manually), and does it succeed if you retry to operation?</comment>
                    <comment id="45006" author="andreibaranouski" created="Thu, 29 Nov 2012 12:36:23 -0600"  >I was not able to reproduce it manually,  even with constant change autoFailover settings through script during the test. but the same problem was in 2.0.0-1965-rel run &lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/476/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/476/consoleFull&lt;/a&gt;</comment>
                    <comment id="45015" author="steve" created="Thu, 29 Nov 2012 13:19:48 -0600"  >per-bug-scrub - moved to 2.0.1.&lt;br/&gt;
&lt;br/&gt;
apparently hard to reproduce manually.</comment>
                    <comment id="45702" author="farshid" created="Mon, 10 Dec 2012 11:30:19 -0600"  >deferring to 2.1 per bug scrub meeting ( Dipti &amp;amp; Farshid -December 7th )</comment>
                    <comment id="46064" author="andreibaranouski" created="Mon, 17 Dec 2012 03:51:10 -0600"  >reproduced again in some test against 2.0.1-103-rel build:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/491/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/491/consoleFull&lt;/a&gt;</comment>
                    <comment id="46065" author="andreibaranouski" created="Mon, 17 Dec 2012 04:23:22 -0600"  >Alk, if you have a chance , could you look today on 10.1.3.114  from the test, maybe this will help to quickly identify the problem:&lt;br/&gt;
&lt;br/&gt;
resetCount( or update settings/autoFailover) started giving an 500 error after a certain point in the tests&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;curl -v --user Administrator:password -X POST &lt;a href=&quot;http://10.1.3.114:8091/settings/autoFailover/resetCount&quot;&gt;http://10.1.3.114:8091/settings/autoFailover/resetCount&lt;/a&gt;&lt;br/&gt;
* About to connect() to 10.1.3.114 port 8091 (#0)&lt;br/&gt;
*   Trying 10.1.3.114... connected&lt;br/&gt;
* Connected to 10.1.3.114 (10.1.3.114) port 8091 (#0)&lt;br/&gt;
* Server auth using Basic with user &amp;#39;Administrator&amp;#39;&lt;br/&gt;
&amp;gt; POST /settings/autoFailover/resetCount HTTP/1.1&lt;br/&gt;
&amp;gt; Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==&lt;br/&gt;
&amp;gt; User-Agent: curl/7.21.4 (x86_64-unknown-linux-gnu) libcurl/7.21.4 OpenSSL/1.0.1 zlib/1.2.3.4&lt;br/&gt;
&amp;gt; Host: 10.1.3.114:8091&lt;br/&gt;
&amp;gt; Accept: */*&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;lt; HTTP/1.1 500 Internal Server Error&lt;br/&gt;
&amp;lt; Server: Couchbase Server 2.0.1-103-rel-enterprise&lt;br/&gt;
&amp;lt; Pragma: no-cache&lt;br/&gt;
&amp;lt; Date: Mon, 17 Dec 2012 10:14:05 GMT&lt;br/&gt;
&amp;lt; Content-Type: application/json&lt;br/&gt;
&amp;lt; Content-Length: 44&lt;br/&gt;
&amp;lt; Cache-Control: no-cache&lt;br/&gt;
&amp;lt; &lt;br/&gt;
* Connection #0 to host 10.1.3.114 left intact&lt;br/&gt;
* Closing connection #0&lt;br/&gt;
</comment>
                    <comment id="46110" author="alkondratenko" created="Mon, 17 Dec 2012 14:54:58 -0600"  >Indeed a bug.&lt;br/&gt;
&lt;br/&gt;
Looks like you rebalanced out master. And new master needs some time to be elected. Thus autofailover service is indeed not running anywhere.</comment>
                    <comment id="46111" author="alkondratenko" created="Mon, 17 Dec 2012 14:55:53 -0600"  >As workaround I suggest you to wait a bit and retry. Or consider not doing this POST at all.</comment>
                    <comment id="46155" author="andreibaranouski" created="Tue, 18 Dec 2012 02:39:40 -0600"  >retry doesn&amp;#39;t help here</comment>
                    <comment id="46178" author="alkondratenko" created="Tue, 18 Dec 2012 11:33:59 -0600"  >May I see:&lt;br/&gt;
&lt;br/&gt;
* code that does retry&lt;br/&gt;
&lt;br/&gt;
* logs from that attempt where retry didn&amp;#39;t help&lt;br/&gt;
</comment>
                    <comment id="46179" author="alkondratenko" created="Tue, 18 Dec 2012 11:34:07 -0600"  >See above</comment>
                    <comment id="46313" author="andreibaranouski" created="Wed, 19 Dec 2012 07:33:13 -0600"  >now we don&amp;#39;t use retries in our tests for such cases.&lt;br/&gt;
results from command POST above were gotten when suites failed with the same error and I tried to check it through curl.  Ie was a long time since the server was idle, before I did this.&lt;br/&gt;
can&amp;#39;t provide more info now because new tests were triggered.</comment>
                    <comment id="46390" author="alkondratenko" created="Wed, 19 Dec 2012 19:20:07 -0600"  >Ok, so there&amp;#39;s possibly two bugs here. But I&amp;#39;ll need logs for that case where it failed even long time after rebalance.</comment>
                    <comment id="47624" author="kzeller" created="Fri, 11 Jan 2013 16:24:21 -0600"  >Nominating for 2.0.1 RN</comment>
                    <comment id="47630" author="alkondratenko" created="Fri, 11 Jan 2013 16:38:12 -0600"  >Nominating ?</comment>
                    <comment id="49591" author="andreibaranouski" created="Mon, 4 Feb 2013 07:24:00 -0600"  >reproduced again on build 147:&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/529/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/529/consoleFull&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
all logs:&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7282/529_run_logs.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7282/529_run_logs.zip&lt;/a&gt;&lt;br/&gt;
or&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/529/artifact/*zip*/archive.zip&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/529/artifact/*zip*/archive.zip&lt;/a&gt;</comment>
                    <comment id="50655" author="andreibaranouski" created="Mon, 18 Feb 2013 02:41:30 -0600"  >build 159 &lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/546/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/546/consoleFull&lt;/a&gt;</comment>
                    <comment id="51294" author="andreibaranouski" created="Mon, 25 Feb 2013 03:31:52 -0600"  >build 164 too</comment>
                    <comment id="54593" author="alkondratenko" created="Mon, 8 Apr 2013 20:50:14 -0500"  >Indeed a problem.&lt;br/&gt;
&lt;br/&gt;
Appears to be something with global name service because autofailover service _is_ running we&amp;#39;re just somehow unable to locate it.&lt;br/&gt;
&lt;br/&gt;
Which would be a very bad news because that component is not directly our code but part of erlang&amp;#39;s stdlib.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="54594" author="alkondratenko" created="Mon, 8 Apr 2013 20:50:54 -0500"  >Raised to blocker as global component problem implies possibility of much worse issues.</comment>
                    <comment id="54596" author="alkondratenko" created="Mon, 8 Apr 2013 20:53:53 -0500"  >rebalance is likely unrelated here. What is potentially related is other nodes connecting/disconnecting.</comment>
                    <comment id="56243" author="andreibaranouski" created="Thu, 25 Apr 2013 14:34:54 -0500"  >&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/596/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/596/consoleFull&lt;/a&gt;&lt;br/&gt;
2.0.2-773-rel</comment>
                    <comment id="56851" author="alkondratenko" created="Wed, 1 May 2013 16:26:56 -0500"  >See also &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7967&quot;&gt;http://www.couchbase.com/issues/browse/MB-7967&lt;/a&gt;</comment>
                    <comment id="56852" author="alkondratenko" created="Wed, 1 May 2013 16:27:17 -0500"  >Workaround:&lt;br/&gt;
&lt;br/&gt;
wget --user=Administrator --password=asdasd --post-data=&amp;#39;rpc:call(mb_master:master_node(), erlang, apply ,[fun () -&amp;gt; erlang:exit(erlang:whereis(mb_master), kill) end, []]).&amp;#39; &lt;a href=&quot;http://localhost:8091/diag/eval&quot;&gt;http://localhost:8091/diag/eval&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 28 Nov 2012 09:06:44 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10051" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Operating System</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10020"><![CDATA[Centos 64-bit]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3018</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7941] [windows] Rebalance exited with reason {unexpected_exit,{badmatch,{error,etimedout}</title>
                <link>http://www.couchbase.com/issues/browse/MB-7941</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;br/&gt;
Test to reproduce:&lt;br/&gt;
&lt;br/&gt;
./testrunner -i vm-list.ini  -t swaprebalance.SwapRebalanceBasicTests.do_test,replica=2,num-buckets=3,num-swap=1,swap-orchestrator=True&lt;br/&gt;
&lt;br/&gt;
This looks related to timeout. Filing this as separate as the reason/crash reports are different than before.&lt;br/&gt;
&lt;br/&gt;
[user:info,2013-03-19T13:02:32.089,&lt;a href=&apos;mailto:ns_1@10.142.174.97&apos;&gt;ns_1@10.142.174.97&lt;/a&gt;:&amp;lt;0.30244.1190&amp;gt;:ns_orchestrator:handle_info:319]Rebalance exited with reason {unexpected_exit,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;#39;EXIT&amp;#39;,&amp;lt;0.27519.1205&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{badmatch,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{&amp;#39;EXIT&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{badmatch,{error,etimedout}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: ebucketmigrator_srv:init/1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;15682.11394.469&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception error: no match of right hand side value {error,etimedout}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in function  ebucketmigrator_srv:connect/4&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in call from ebucketmigrator_srv:init/1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ancestors: [&amp;lt;0.27512.1205&amp;gt;,&amp;lt;0.27480.1205&amp;gt;,&amp;lt;0.23778.1205&amp;gt;,&amp;lt;0.23697.1205&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;messages: [{&amp;#39;$gen_call&amp;#39;,{&amp;lt;0.27521.1205&amp;gt;,#Ref&amp;lt;0.0.5074.212183&amp;gt;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;had_backfill}]&lt;br/&gt;
&lt;br/&gt;
[error_logger:error,2013-03-19T13:02:31.075,&lt;a href=&apos;mailto:ns_1@10.142.174.97&apos;&gt;ns_1@10.142.174.97&lt;/a&gt;:error_logger&amp;lt;0.6.0&amp;gt;:ale_error_logger_handler:log_report:72]&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: new_ns_replicas_builder:init/1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.27512.1205&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception exit: {{badmatch,[{&amp;lt;15682.11394.469&amp;gt;,noproc}]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{misc,sync_shutdown_many_i_am_trapping_exits,1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{misc,try_with_maybe_ignorant_after,2},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,terminate,6},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{proc_lib,init_p_do_apply,3}]}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in function  gen_server:terminate/6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ancestors: [&amp;lt;0.27480.1205&amp;gt;,&amp;lt;0.23778.1205&amp;gt;,&amp;lt;0.23697.1205&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;messages: [{&amp;#39;EXIT&amp;#39;,&amp;lt;0.27480.1205&amp;gt;,shutdown}]&lt;br/&gt;
&lt;br/&gt;
[error_logger:error,2013-03-19T13:02:31.075,&lt;a href=&apos;mailto:ns_1@10.142.174.97&apos;&gt;ns_1@10.142.174.97&lt;/a&gt;:error_logger&amp;lt;0.6.0&amp;gt;:ale_error_logger_handler:log_report:72]&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: ns_single_vbucket_mover:mover/6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.27480.1205&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception exit: {unexpected_exit,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;#39;EXIT&amp;#39;,&amp;lt;0.27519.1205&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{badmatch,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{&amp;#39;EXIT&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{badmatch,{error,etimedout}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&lt;br/&gt;
Attaching the collect_info.zip and testrunner logs.&lt;br/&gt;
</description>
                <environment>2.0.1-179-rel</environment>
            <key id="23283">MB-7941</key>
            <summary>[windows] Rebalance exited with reason {unexpected_exit,{badmatch,{error,etimedout}</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="deepkaran.salooja">Deepkaran Salooja</reporter>
                        <labels>
                        <label>windows</label>
                    </labels>
                <created>Tue, 19 Mar 2013 09:31:13 -0500</created>
                <updated>Fri, 3 May 2013 02:29:48 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="53092" author="deepkaran.salooja" created="Tue, 19 Mar 2013 11:12:16 -0500"  >&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.142.174.97&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.142.174.97&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.131.33.89&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.131.33.89&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.131.35.139&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.131.35.139&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.130.71.207&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.130.71.207&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.144.84.87&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.144.84.87&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.144.84.174&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.144.84.174&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.143.18.249&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/collect_info.zip.10.143.18.249&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/testrunner.log&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7941/e9125b6b/testrunner.log&lt;/a&gt;&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10128</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7919] [windows] Rebalance exited with reason {bulk_set_vbucket_state_failed,  {timeout, when data mutation is in progress</title>
                <link>http://www.couchbase.com/issues/browse/MB-7919</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;br/&gt;
Rebalance exited with below reason when data mutation is in progress with rebalance&lt;br/&gt;
&lt;br/&gt;
{{bulk_set_vbucket_state_failed,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.142.85.118&apos;&gt;ns_1@10.142.85.118&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;#39;EXIT&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{timeout,&lt;br/&gt;
&lt;br/&gt;
Test to repro:&lt;br/&gt;
nohup ./testrunner -i win-aws.ini -t rebalance.rebalancein.RebalanceInTests.incremental_rebalance_in_with_ops,replicas=2,items=100000,doc_ops=update &amp;amp;&lt;br/&gt;
&lt;br/&gt;
The test failed at 2013-03-15 20:53:08 and the info.18 log file at the orchestrator nodes has the logs. Below crash reports can be seen.&lt;br/&gt;
&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: ns_single_vbucket_mover:mover/6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.32365.663&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception exit: {{{timeout,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;lt;21714.30742.56&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{start_vbucket_filter_change,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: ns_single_vbucket_mover:mover/6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.32167.663&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception exit: {{{timeout,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;lt;21714.30742.56&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{start_vbucket_filter_change,&lt;br/&gt;
&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: ns_single_vbucket_mover:mover/6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.31877.663&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception exit: {unexpected_exit,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;#39;EXIT&amp;#39;,&amp;lt;0.48.664&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{wait_checkpoint_persisted_failed,&amp;quot;default&amp;quot;,853,4,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.142.85.118&apos;&gt;ns_1@10.142.85.118&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;#39;EXIT&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{timeout,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{gen_server,call,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;lt;21714.30742.56&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{start_vbucket_filter_change,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&lt;br/&gt;
Attaching the testrunner logs and collect_info.zip.&lt;br/&gt;
&lt;br/&gt;
I executed the same test again and it passed so this is not consistently reproducible.</description>
                <environment>2.0.1-179-rel on EC2</environment>
            <key id="23243">MB-7919</key>
            <summary>[windows] Rebalance exited with reason {bulk_set_vbucket_state_failed,  {timeout, when data mutation is in progress</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="deepkaran.salooja">Deepkaran Salooja</reporter>
                        <labels>
                        <label>windows</label>
                    </labels>
                <created>Sat, 16 Mar 2013 12:48:55 -0500</created>
                <updated>Fri, 3 May 2013 02:30:05 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="52944" author="deepkaran.salooja" created="Sat, 16 Mar 2013 13:17:40 -0500"  >&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.174.97.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.174.97.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.131.33.89.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.131.33.89.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.131.35.139.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.131.35.139.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.130.71.207.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.130.71.207.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.85.118.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.85.118.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.254.227.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.254.227.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.86.240.zip&quot;&gt;http://s3.amazonaws.com/bugdb/jira/MB-7919/fb4b03e7/collect_info_10.142.86.240.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="52987" author="alkondratenko" created="Mon, 18 Mar 2013 12:23:39 -0500"  >My understanding is we currently have a whole bunch of windows timeouts. Some fixes we did in 2.0.1 cannot be directly applied. But this fix can and afaik it&amp;#39;s not applied yet.&lt;br/&gt;
&lt;br/&gt;
commit b9ccb6d5c27d2e375e7212ea7f93721ac5f63290&lt;br/&gt;
Author: Aliaksey Artamonau &amp;lt;&lt;a href=&apos;mailto:aliaksiej.artamonau@gmail.com&apos;&gt;aliaksiej.artamonau@gmail.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Date:   Mon Jan 14 13:17:48 2013 -0800&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6595&quot; title=&quot;[RN 2.0.1]][longevity] something unknown is causing severe timeouts in ns_server. Particularly under views building and/or compaction. Which causes rebalance to fail and other types of badness.&quot;&gt;&lt;strike&gt;MB-6595&lt;/strike&gt;&lt;/a&gt; Increase erlang mseg allocator cache size.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Default cache size is 5. Our tests show that setting it to a larger&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value decreases the number of minor page faults generated by&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;erlang and somewhat reduces the chances of hitting timeouts.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The value that is used can be overridden by setting COUCHBASE_MSEG_CACHE_SIZE&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;environment variable.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Change-Id: If32cce298523f184cb79e11742f68ff17fd4147b&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Reviewed-on: &lt;a href=&quot;http://review.couchbase.org/23923&quot;&gt;http://review.couchbase.org/23923&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Reviewed-by: Aliaksey Kandratsenka &amp;lt;&lt;a href=&apos;mailto:alkondratenko@gmail.com&apos;&gt;alkondratenko@gmail.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Tested-by: Aliaksey Kandratsenka &amp;lt;&lt;a href=&apos;mailto:alkondratenko@gmail.com&apos;&gt;alkondratenko@gmail.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="53089" author="deepkaran.salooja" created="Tue, 19 Mar 2013 07:05:12 -0500"  >Same error in one more test:&lt;br/&gt;
./testrunner -i vm-list.ini -t rebalance.rebalanceinout.RebalanceInOutTests.incremental_rebalance_in_out_with_mutation,items=50000,value_size=512,replicas=2</comment>
                    <comment id="53703" author="jin" created="Wed, 27 Mar 2013 19:11:27 -0500"  >Is porting of the above fix to Windows scheduled for 2.0.1 release or being pushed to 2.0.2? Please advise.</comment>
                    <comment id="53737" author="siri" created="Thu, 28 Mar 2013 06:36:00 -0500"  >The change above is not applicable to Windows as Erlang does not use MSEG allocator on Windows, per AliakseyA. &lt;br/&gt;
We need to find the cause of the problem on Windows and look for a fix as an independent exercise.&lt;br/&gt;
This is targeted for 2.0.2 unless this becomes a 2.0.1 blocker.</comment>
                </comments>
                    <attachments>
                    <attachment id="16965" name="nohup.out.rebalance_timeout" size="1314059" author="deepkaran.salooja" created="Sat, 16 Mar 2013 13:18:19 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Mar 2013 12:23:39 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9471</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-6232] ep-engine needs 1.5 minutes to create 1k vbuckets. Seems too slow (but gets fast with barrier=0)</title>
                <link>http://www.couchbase.com/issues/browse/MB-6232</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ.&lt;br/&gt;
&lt;br/&gt;
Just try single node dev cluster and try to load beers sample (it&amp;#39;ll fail for perhaps different reason).&lt;br/&gt;
&lt;br/&gt;
You can observe in logs:&lt;br/&gt;
&lt;br/&gt;
We&amp;#39;re doing set_vbucket_state requests from janitor (ns_memcached messages) and this is the first messages from mccouch about just created vbucket (capi_set_view_manager messages and mc_connection messages). Note: I&amp;#39;ve added extra log messages at the beginning of sync_notify and end to see if it&amp;#39;s couchdb&amp;#39;s or ns_servers&amp;#39; fault. From timestamps it&amp;#39;s clear that it&amp;#39;s not.&lt;br/&gt;
&lt;br/&gt;
[ns_server:debug,2012-08-15T9:47:40.309,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:106]sending out sync_notify&lt;br/&gt;
[ns_server:info,2012-08-15T9:47:40.309,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.870.0&amp;gt;:ns_memcached:do_handle_call:485]Changed vbucket 740 state to active&lt;br/&gt;
[views:debug,2012-08-15T9:47:40.309,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:mc_couch_events:capi_set_view_manager:handle_mc_couch_event:418]Got set_vbucket event for beer-sample/1023. Updated state: active&lt;br/&gt;
[ns_server:info,2012-08-15T9:47:40.309,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.870.0&amp;gt;:ns_memcached:do_handle_call:485]Changed vbucket 739 state to active&lt;br/&gt;
[ns_server:debug,2012-08-15T9:47:40.309,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:113]done&lt;br/&gt;
[ns_server:info,2012-08-15T9:47:40.310,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.870.0&amp;gt;:ns_memcached:do_handle_call:485]Changed vbucket 738 state to active&lt;br/&gt;
[ns_server:info,2012-08-15T9:47:40.310,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.870.0&amp;gt;:ns_memcached:do_handle_call:485]Changed vbucket 737 state to active&lt;br/&gt;
&lt;br/&gt;
And last message is at:&lt;br/&gt;
&lt;br/&gt;
[ns_server:debug,2012-08-15T9:49:14.410,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:106]sending out sync_notify&lt;br/&gt;
[views:debug,2012-08-15T9:49:14.410,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:mc_couch_events:capi_set_view_manager:handle_mc_couch_event:418]Got set_vbucket event for beer-sample/1. Updated state: active&lt;br/&gt;
[ns_server:debug,2012-08-15T9:49:14.410,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:113]done&lt;br/&gt;
[ns_server:debug,2012-08-15T9:49:14.501,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:106]sending out sync_notify&lt;br/&gt;
[views:debug,2012-08-15T9:49:14.502,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:mc_couch_events:capi_set_view_manager:handle_mc_couch_event:418]Got set_vbucket event for beer-sample/0. Updated state: active&lt;br/&gt;
[ns_server:debug,2012-08-15T9:49:14.502,&lt;a href=&apos;mailto:n_0@127.0.0.1&apos;&gt;n_0@127.0.0.1&lt;/a&gt;:&amp;lt;0.868.0&amp;gt;:mc_connection:do_notify_vbucket_update:113]done&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve just retried with remounting with barrier=0 and it was blazing fast. What this mount option changes is short fsync are nearly instant because they merely send data to disk&amp;#39;s buffer without waiting until data actually hits platter.&lt;br/&gt;
&lt;br/&gt;
So that&amp;#39;s evidence of some excessive use of fsyncs somewhere during vbucket db files creation and that&amp;#39;s clearly on ep-engine/couchstore side.&lt;br/&gt;
&lt;br/&gt;
Set this to blocker as it&amp;#39;ll affect people trying to create buckets on real hardware, hard disks and any modern linux distro (where barriers are on by default).&lt;br/&gt;
</description>
                <environment></environment>
            <key id="19045">MB-6232</key>
            <summary>ep-engine needs 1.5 minutes to create 1k vbuckets. Seems too slow (but gets fast with barrier=0)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                        <label>customer</label>
                    </labels>
                <created>Wed, 15 Aug 2012 12:07:16 -0500</created>
                <updated>Tue, 7 May 2013 00:54:57 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>10</watches>
                                                    <comments>
                    <comment id="36026" author="ingenthr" created="Mon, 20 Aug 2012 12:17:31 -0500"  >Note that on &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6305&quot; title=&quot;default bucket ends up in limbo between delete and create&quot;&gt;&lt;strike&gt;MB-6305&lt;/strike&gt;&lt;/a&gt; this caused quite a bit of trouble.  Currently, one cannot reliably go through a cycle of delete/create bucket in any reliable fashion using public interfaces.  Sometime between build 1495 and build 2.0.0c 709, the delete/recreate cycle now takes multiple minutes.&lt;br/&gt;
&lt;br/&gt;
In automated testing some SDKs used to use flush_all().  At the recommendation of engineering, we moved to delete/create.  Now using delete/create is intractable.  This has broken our testing again, unfortunately.&lt;br/&gt;
&lt;br/&gt;
The larger concern is that our users will probably see this pretty quickly too.  What we were doing here isn&amp;#39;t all that unusual.</comment>
                    <comment id="36034" author="alkondratenko" created="Mon, 20 Aug 2012 12:54:04 -0500"  >Matt, I think you can try workaround of:&lt;br/&gt;
&lt;br/&gt;
mount / -o remount,nobarrier&lt;br/&gt;
&lt;br/&gt;
And if it&amp;#39;s not helping in your case then there&amp;#39;s something else that makes it slower then needed.&lt;br/&gt;
</comment>
                    <comment id="36035" author="alkondratenko" created="Mon, 20 Aug 2012 12:54:04 -0500"  >Matt, I think you can try workaround of:&lt;br/&gt;
&lt;br/&gt;
mount / -o remount,nobarrier&lt;br/&gt;
&lt;br/&gt;
And if it&amp;#39;s not helping in your case then there&amp;#39;s something else that makes it slower then needed.&lt;br/&gt;
</comment>
                    <comment id="37855" author="alkondratenko" created="Thu, 6 Sep 2012 12:41:46 -0500"  >BTW I recall now having similar problem pre DP4. I&amp;#39;ve fixed it by creating all vbuckets in parallel. But that was ofcourse when mccouch was at it&amp;#39;s full power.&lt;br/&gt;
</comment>
                    <comment id="37856" author="ingenthr" created="Thu, 6 Sep 2012 12:52:48 -0500"  >@alk, I presume that should still be in here, so the issue is further down it would seem.&lt;br/&gt;
&lt;br/&gt;
thanks for the additional info</comment>
                    <comment id="37857" author="tommie" created="Thu, 6 Sep 2012 12:58:46 -0500"  >Just tried to reproduce this with 2.0 build 1689 and loading bear samples times out:&lt;br/&gt;
&lt;br/&gt;
[ns_server:error,2012-09-06T10:49:42.436,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.752.0&amp;gt;:menelaus_web:handle_post_sample_buckets:506]Loading sample buckets timed out&lt;br/&gt;
&lt;br/&gt;
Same error is shown in the UI.  If I click to retry it says data is already loaded, however if I inspect the db there are no documents in the bucket.  Not sure if this is similar issue...attaching diag&lt;br/&gt;
</comment>
                    <comment id="37859" author="farshid" created="Thu, 6 Sep 2012 13:01:05 -0500"  >more info here : &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6305&quot;&gt;http://www.couchbase.com/issues/browse/MB-6305&lt;/a&gt;</comment>
                    <comment id="37870" author="alkondratenko" created="Thu, 6 Sep 2012 13:24:06 -0500"  >Matt, when I referenced mccouch that was old mccouch that was our persistence path. This is not the case anymore. So same issue is still hitting us. We&amp;#39;re seemingly doing (potentially few) fsyncs per vbucket and we&amp;#39;re doing all that sequentially.&lt;br/&gt;
&lt;br/&gt;
Tommie, docloader thing is most likely distinct issue. I think we already have bug for that.</comment>
                    <comment id="39568" author="mikew" created="Tue, 25 Sep 2012 02:26:55 -0500"  >Alk,&lt;br/&gt;
&lt;br/&gt;
I investigated this issue further and found that the latency to send a vbucket state transition to mccouch was 100ms. Interestingly to do a state transition to dead the latency was an order of magnitude quicker so I think there might be something going on on the mccouch side here.</comment>
                    <comment id="39569" author="alkondratenko" created="Tue, 25 Sep 2012 02:39:43 -0500"  >Mike, by looking at timestamps in logs I&amp;#39;m pretty sure there are no delays on mccouch side.</comment>
                    <comment id="39602" author="peter" created="Tue, 25 Sep 2012 15:21:07 -0500"  >Mike, can you continue driving to analyze this?</comment>
                    <comment id="40379" author="mikew" created="Thu, 4 Oct 2012 13:22:47 -0500"  >The fix for this bug will require changes on both the ep-engine and mccouch side and requires modifying how we store vbucket state data and how we notify mccouch about vbucket state changes. The changes will not be small and will be risky for the 2.0 release. I recommend this change be move to 2.0.1.</comment>
                    <comment id="40389" author="chiyoung" created="Thu, 4 Oct 2012 13:37:02 -0500"  >For more details. we currently store a vbucket state file in its vbucket database as a local doc, which means that it will require one fsync for every state change. I was trying to replace those individual local docs with a global vbucket state doc and store it in the &amp;quot;master&amp;quot; meta database, but realized that it requires changes in interactions between ep-engine and erlang, and also affects our 2.0 backup and restore tools at this time.&lt;br/&gt;
&lt;br/&gt;
This is the design defect and limitation and risky changes for 2.0 at this time.</comment>
                    <comment id="40390" author="alkondratenko" created="Thu, 4 Oct 2012 13:40:29 -0500"  >Can we consider not using fsync for initial vbucket creation ?</comment>
                    <comment id="46206" author="mikew" created="Tue, 18 Dec 2012 13:13:00 -0600"  >Also see &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6234&quot; title=&quot;We&amp;#39;re leaving some disk performance on the table&quot;&gt;MB-6234&lt;/a&gt; which is a duplicate of this issue.</comment>
                    <comment id="51898" author="alkondratenko" created="Mon, 4 Mar 2013 11:55:04 -0600"  >&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6234&quot; title=&quot;We&amp;#39;re leaving some disk performance on the table&quot;&gt;MB-6234&lt;/a&gt; is not necessarily a dup. This bug is about metadata ops.&lt;br/&gt;
&lt;br/&gt;
Particularly, why ep-engine is even needs tons of fsync to create brand new vbuckets ?&lt;br/&gt;
&lt;br/&gt;
Why ep-engine cannot just drop those ops on the floor when during that 1.5 minute there&amp;#39;s flush ?&lt;br/&gt;
&lt;br/&gt;
I think at least those actions are possible and perhaps more and sdk folks will finally have a working flush.&lt;br/&gt;
</comment>
                    <comment id="51899" author="dipti" created="Mon, 4 Mar 2013 12:06:11 -0600"  >We need to better understand this issue in ep_engine and couchstore and come up with options to fix it in the 2.0.2 / 2.1 timeframe </comment>
                    <comment id="51901" author="ingenthr" created="Mon, 4 Mar 2013 12:11:17 -0600"  >Yay!</comment>
                    <comment id="53682" author="mikew" created="Wed, 27 Mar 2013 16:54:29 -0500"  >There are some other issues still in 2.0.2 that will likely help improve this issue, but I am moving this task out to 2.1</comment>
                    <comment id="54146" author="maria" created="Wed, 3 Apr 2013 13:08:25 -0500"  >Created CBQE for QE to add in functional automation suite: &lt;a href=&quot;http://www.couchbase.com/issues/browse/CBQE-1192&quot;&gt;http://www.couchbase.com/issues/browse/CBQE-1192&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="20687">MB-7160</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="14792" name="debug.1.gz" size="275908" author="tommie" created="Thu, 6 Sep 2012 12:59:44 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 20 Aug 2012 12:17:31 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2820</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-8210] Update the incorrect information on the Automated Index Updates</title>
                <link>http://www.couchbase.com/issues/browse/MB-8210</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>We need to fix this page &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-operation-autoupdate.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views-operation-autoupdate.html&lt;/a&gt; ?  &lt;br/&gt;
&lt;br/&gt;
Relevant information about how it actually works. &lt;br/&gt;
&lt;br/&gt;
&amp;quot;Every updateInterval milliseconds it checks if index file is more than updateMinChanges behind .couch files (which is itself behind in-memory source of truth, potentially for tens of seconds). And true, it triggers view update.&amp;quot; </description>
                <environment></environment>
            <key id="24103">MB-8210</key>
            <summary>Update the incorrect information on the Automated Index Updates</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="kzeller">Karen Zeller</assignee>
                                <reporter username="anil">Anil Kumar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 18:20:49 -0500</created>
                <updated>Tue, 7 May 2013 18:20:49 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>documentation</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11053</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7168] [Done- RN 2.0.2] failover of node that&apos;s completely down is still not quick (was: Rebalance exited with reason {not_all_nodes_are_ready_yet after failover node)</title>
                <link>http://www.couchbase.com/issues/browse/MB-7168</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>version=2.0.0-1947-rel&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/448/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/448/consoleFull&lt;/a&gt;&lt;br/&gt;
/testrunner -i resources/jenkins/centos-64-5node-failover.ini get-logs=True,GROUP=BAT -t failovertests.FailoverTests.test_failover_firewall,replica=1,keys_count=100000,dgm_run=True,GROUP=BAT&lt;br/&gt;
&lt;br/&gt;
steps:&lt;br/&gt;
1.3 nodes in cluster:10.1.3.114, 10.1.3.118,10.1.3.116&lt;br/&gt;
2.enabled firewall on ip:10.1.3.118 : /sbin/iptables -A INPUT -p tcp -i eth0 --dport 1000:60000 -j REJECT&lt;br/&gt;
3&lt;br/&gt;
[2012-11-12 11:28:37,102] - [failovertests:260] INFO - node 10.1.3.118:8091 is &amp;#39;unhealthy&amp;#39; as expected&lt;br/&gt;
[2012-11-12 11:29:07,544] - [rest_client:849] INFO - fail_over successful&lt;br/&gt;
[2012-11-12 11:29:07,545] - [failovertests:278] INFO - failed over node : &lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&lt;br/&gt;
[2012-11-12 11:29:07,545] - [failovertests:292] INFO - 10 seconds sleep after failover before invoking rebalance...&lt;br/&gt;
4.[2012-11-12 11:29:17,545] - [rest_client:883] INFO - rebalance params : password=password&amp;amp;ejectedNodes=ns_1%4010.1.3.118&amp;amp;user=Administrator&amp;amp;knownNodes=ns_1%4010.1.3.114%2Cns_1%4010.1.3.118%2Cns_1%4010.1.3.116&lt;br/&gt;
&lt;br/&gt;
result:&lt;br/&gt;
[2012-11-12 11:29:17,562] - [rest_client:890] INFO - rebalance operation started&lt;br/&gt;
[2012-11-12 11:29:17,569] - [rest_client:986] INFO - rebalance percentage : 0 %&lt;br/&gt;
[2012-11-12 11:29:19,573] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:21,577] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:23,584] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:25,589] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:27,593] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:29,599] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:31,603] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:33,607] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:35,612] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:37,616] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:39,621] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:41,626] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:43,630] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:45,635] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:47,640] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:49,644] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:51,648] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:53,652] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:55,657] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:57,662] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:29:59,667] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:01,671] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:03,676] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:05,682] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:07,698] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:09,703] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:11,708] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:13,712] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:15,716] - [rest_client:986] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2012-11-12 11:30:17,721] - [rest_client:971] ERROR - {u&amp;#39;status&amp;#39;: u&amp;#39;none&amp;#39;, u&amp;#39;errorMessage&amp;#39;: u&amp;#39;Rebalance failed. See logs for detailed reason. You can try rebalance again.&amp;#39;} - rebalance failed&lt;br/&gt;
&lt;br/&gt;
[rebalance:info,2012-11-12T11:49:03.581,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.20240.1&amp;gt;:ns_rebalancer:rebalance:258]Waiting for bucket &amp;quot;default&amp;quot; to be ready on [&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;]&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:09.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:19.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:23.120,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.20319.1&amp;gt;:compaction_daemon:try_to_cleanup_indexes:439]Cleaning up indexes for bucket `default`&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:23.121,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.20319.1&amp;gt;:compaction_daemon:spawn_bucket_compactor:404]Compacting bucket default with config: &lt;br/&gt;
[{database_fragmentation_threshold,{30,undefined}},&lt;br/&gt;
&amp;nbsp;{view_fragmentation_threshold,{30,undefined}}]&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:24.348,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:ns_config_rep&amp;lt;0.358.0&amp;gt;:ns_config_rep:do_pull:341]Pulling config from: &amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;&lt;br/&gt;
&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:29.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[ns_server:warn,2012-11-12T11:49:29.546,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:capi_set_view_manager-default&amp;lt;0.15508.1&amp;gt;:capi_set_view_manager:handle_info:345]Remote server node {&amp;#39;capi_ddoc_replication_srv-default&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;} process down: noconnection&lt;br/&gt;
[ns_server:warn,2012-11-12T11:49:29.546,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:xdc_rdoc_replication_srv&amp;lt;0.470.0&amp;gt;:xdc_rdoc_replication_srv:handle_info:128]Remote server node {xdc_rdoc_replication_srv,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;} process down: noconnection&lt;br/&gt;
[user:warn,2012-11-12T11:49:29.546,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:ns_node_disco&amp;lt;0.351.0&amp;gt;:ns_node_disco:handle_info:168]Node &amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39; saw that node &amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39; went down.&lt;br/&gt;
[error_logger:error,2012-11-12T11:49:29.546,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:error_logger&amp;lt;0.5.0&amp;gt;:ale_error_logger_handler:log_msg:76]** Node &amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39; not responding **&lt;br/&gt;
** Removing (timedout) connection **&lt;br/&gt;
&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:30.536,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:ns_config_rep&amp;lt;0.358.0&amp;gt;:ns_config_rep:do_pull:341]Pulling config from: &amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;&lt;br/&gt;
&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:39.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:49.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:53.135,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.20445.1&amp;gt;:compaction_daemon:try_to_cleanup_indexes:439]Cleaning up indexes for bucket `default`&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:53.136,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.20445.1&amp;gt;:compaction_daemon:spawn_bucket_compactor:404]Compacting bucket default with config: &lt;br/&gt;
[{database_fragmentation_threshold,{30,undefined}},&lt;br/&gt;
&amp;nbsp;{view_fragmentation_threshold,{30,undefined}}]&lt;br/&gt;
[ns_server:info,2012-11-12T11:49:59.386,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:282]Skipping janitor in state rebalancing: {rebalancing_state,&amp;lt;0.20215.1&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{dict,3,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;|0.0]],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[],[],[],[],[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.118&apos;&gt;ns_1@10.1.3.118&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
[user:info,2012-11-12T11:50:03.582,&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;:&amp;lt;0.769.0&amp;gt;:ns_orchestrator:handle_info:319]Rebalance exited with reason {not_all_nodes_are_ready_yet,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.116&apos;&gt;ns_1@10.1.3.116&lt;/a&gt;&amp;#39;]}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20706">MB-7168</key>
            <summary>[Done- RN 2.0.2] failover of node that&apos;s completely down is still not quick (was: Rebalance exited with reason {not_all_nodes_are_ready_yet after failover node)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                        <label>2.0.1-release-notes</label>
                        <label>2.0.2-release-notes</label>
                    </labels>
                <created>Tue, 13 Nov 2012 05:16:46 -0600</created>
                <updated>Sun, 12 May 2013 05:18:59 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                                <votes>0</votes>
                        <watches>9</watches>
                                                    <comments>
                    <comment id="43882" author="andreibaranouski" created="Tue, 13 Nov 2012 06:20:05 -0600"  >almost all test fail due to rebalance failure after failover nodes on version=2.0.0-1949-rel&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/449/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/449/consoleFull&lt;/a&gt;</comment>
                    <comment id="44331" author="farshid" created="Mon, 19 Nov 2012 13:26:06 -0600"  >if this is an automated test please rerun and confrm the behavior twice</comment>
                    <comment id="44351" author="steve" created="Mon, 19 Nov 2012 17:41:10 -0600"  >per bug-scrub2</comment>
                    <comment id="44402" author="andreibaranouski" created="Mon, 19 Nov 2012 23:48:34 -0600"  >3 tests are constantly falling with the same reason &lt;a href=&quot;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/457/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-64-2.0-failover-tests/457/consoleFull&lt;/a&gt; ( 1954 build)</comment>
                    <comment id="44414" author="Iryna" created="Tue, 20 Nov 2012 06:13:45 -0600"  >can be easily reproduced for windows - more info is in duplicate bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7205&quot; title=&quot;Rebalance exited with reason {not_all_nodes_are_ready_yet,[&amp;#39;ns_1@10.1.3.147&amp;#39;]}&quot;&gt;&lt;strike&gt;MB-7205&lt;/strike&gt;&lt;/a&gt; (reproduced manually)</comment>
                    <comment id="44423" author="farshid" created="Tue, 20 Nov 2012 10:18:20 -0600"  >so this failure occurs when the other node is unavailable ? &lt;br/&gt;
&lt;br/&gt;
Iryna , when you reproduce this on windows manually does the rebalance succeed second time ?&lt;br/&gt;
do you see any data loss ? does rebalance fail immediately  ?</comment>
                    <comment id="44428" author="Iryna" created="Tue, 20 Nov 2012 11:22:08 -0600"  >it not succeed after retrying during some time window, after about 15 minutes it succeed&lt;br/&gt;
there is no data loss,&lt;br/&gt;
rebalance fails in first 1-5 mins of rebalancing</comment>
                    <comment id="44506" author="alkondratenko" created="Tue, 20 Nov 2012 21:13:43 -0600"  >I cannot see any clear evidence of what caused this. But it looks bad enough. 60 seconds timeout to query vbucket states on both nodes was hit here.&lt;br/&gt;
&lt;br/&gt;
I also see that janitor pass immediately preceding rebalance also failed but in different phase, where it was waiting for vbucket change requests to be complete also failed on both nodes. And this timeout is 30 seconds.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;d like diag to be grabbed _immediately_ after rebalance fails so that I could see what is the state of janitor_ageng and ns_memcached on each node. I.e. without doing any cleanup please. May I have that ?</comment>
                    <comment id="44507" author="alkondratenko" created="Tue, 20 Nov 2012 21:13:56 -0600"  >See above</comment>
                    <comment id="44535" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600"  >logs immediately after rebalance failure</comment>
                    <comment id="44536" author="andreibaranouski" created="Wed, 21 Nov 2012 07:43:48 -0600"  >rebalance is successful in second time</comment>
                    <comment id="44557" author="alkondratenko" created="Wed, 21 Nov 2012 11:17:14 -0600"  >It&amp;#39;s not quite immediately, sadly. Few seconds after problem. And backtraces on .118 (node where we failed waiting) don&amp;#39;t have anything bad sadly.</comment>
                    <comment id="44559" author="farshid" created="Wed, 21 Nov 2012 11:20:19 -0600"  >given that rebalance succeeded second time moving this to 2.0.1</comment>
                    <comment id="47426" author="farshid" created="Wed, 9 Jan 2013 20:06:21 -0600"  >Andrei,&lt;br/&gt;
&lt;br/&gt;
is this test fialing with the latest 2.0.1 build ?</comment>
                    <comment id="47467" author="andreibaranouski" created="Thu, 10 Jan 2013 07:04:28 -0600"  >yes, 3 tests constantly fall in failover job: &lt;a href=&quot;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/501/consoleFull&quot;&gt;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/501/consoleFull&lt;/a&gt;</comment>
                    <comment id="47468" author="andreibaranouski" created="Thu, 10 Jan 2013 07:07:31 -0600"  >2.0.1-120-rel</comment>
                    <comment id="48006" author="farshid" created="Thu, 17 Jan 2013 13:48:15 -0600"  >per bug scrub&lt;br/&gt;
&lt;br/&gt;
retrying rebalance after a few minutes should work.</comment>
                    <comment id="48257" author="farshid" created="Tue, 22 Jan 2013 11:25:11 -0600"  >Aliaksey,&lt;br/&gt;
&lt;br/&gt;
i know this was discussed before but we want to confirm what the test does with your conclusion&lt;br/&gt;
&lt;br/&gt;
we put the node behind the firewall , then wait until node is marked as unhealthy by NS_SERVER&lt;br/&gt;
then failover this node and click on rebalance to eject the node ( ejectedNodes = 10.1.3.118 )&lt;br/&gt;
&lt;br/&gt;
we want to know why when the node was already failed over from the cluster we wait for it be ready as part of rebalance.  ( or the timeouts happened on existing nodes ? )&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48277" author="alkondratenko" created="Tue, 22 Jan 2013 13:58:18 -0600"  >This is quite subtle to explain fully, but main problem is we have to wait until failover actually completes internally and that is subject to timeouts in certain areas.&lt;br/&gt;
&lt;br/&gt;
So if you keep trying for 2-3 minutes it should eventually work.</comment>
                    <comment id="48280" author="farshid" created="Tue, 22 Jan 2013 14:09:10 -0600"  >&amp;gt;&amp;gt;but main problem is we have to wait until failover actually completes internally and that is subject to timeouts in certain areas.&lt;br/&gt;
so when failover REST api returns it does not mean that failover process internally is completed.&lt;br/&gt;
is failover a synchronous call  or asynchronous ? in case its asyncronous is there a way for a test to check before initiating a rebalance so that we have a test that is more deterministic</comment>
                    <comment id="48293" author="alkondratenko" created="Tue, 22 Jan 2013 14:36:33 -0600"  >It is best-effort sync. If it fails to be sync with reasonably short timeout, it&amp;#39;ll silently become async.&lt;br/&gt;
&lt;br/&gt;
There&amp;#39;s no way to detect that right now.</comment>
                    <comment id="48299" author="farshid" created="Tue, 22 Jan 2013 14:47:30 -0600"  >per bug scrub - assigning to Jin</comment>
                    <comment id="48533" author="jin" created="Thu, 24 Jan 2013 13:40:29 -0600"  >A few things came out of the engineering talk regarding this issue:&lt;br/&gt;
1) This is a good catch in that it is confirming we need a better way of handling the api since it cannot %100 warranty the completion of failover.&lt;br/&gt;
2) However, it is not a critical or blocker since the symptom is more obvious (highly probable) while running an automated testing case.&lt;br/&gt;
3) Only feasible approach (per ns server team) for now is to wait and retry.&lt;br/&gt;
&lt;br/&gt;
Based on this and the fact the fix would require changes across components (ep engine, etc) we may want to consider to put this into a future enhancement.&lt;br/&gt;
Assign this to Yaseen for his input here. Pelase assign it back to Jin or Dipti afterwards. Thanks. </comment>
                    <comment id="48534" author="jin" created="Thu, 24 Jan 2013 13:41:48 -0600"  >Please see the above comment.</comment>
                    <comment id="48538" author="farshid" created="Thu, 24 Jan 2013 14:13:17 -0600"  >Thanks Jin for confirming this. I think this expected behavior can be included in the release notes as well so that users and support team can be aware of the issue and the suggested workaround.&lt;br/&gt;
&lt;br/&gt;
Andrei,&lt;br/&gt;
can you then modify the test accordingly.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48804" author="farshid" created="Mon, 28 Jan 2013 14:03:37 -0600"  >per bug scrub : &lt;br/&gt;
&lt;br/&gt;
please revise the test accordingly and after running the test for few times can you propose how long customer should wait before kicking the rebalance again</comment>
                    <comment id="48806" author="jin" created="Mon, 28 Jan 2013 14:06:33 -0600"  >Please assign it back to Jin after having enough information for recommendation. Will follow up with the doc team.&lt;br/&gt;
</comment>
                    <comment id="48874" author="andreibaranouski" created="Tue, 29 Jan 2013 02:25:25 -0600"  >with timeout 90 sec after failover befor rebalance - tests passed&lt;br/&gt;
will launch with 60 sec</comment>
                    <comment id="49084" author="farshid" created="Wed, 30 Jan 2013 23:04:09 -0600"  >can you try with lower timeout ( 10 seconds for instance ) ?</comment>
                    <comment id="49128" author="andreibaranouski" created="Thu, 31 Jan 2013 02:30:31 -0600"  >10 secs was in initial state for ticket.&lt;br/&gt;
&lt;br/&gt;
[2012-11-12 11:29:07,545] - [failovertests:292] INFO - 10 seconds sleep after failover before invoking rebalance...&lt;br/&gt;
&lt;br/&gt;
60 secs tests passed&lt;br/&gt;
&lt;br/&gt;
will try with 30 sec</comment>
                    <comment id="49996" author="jin" created="Mon, 11 Feb 2013 01:08:30 -0600"  >any update on the test w/ 30 sec?</comment>
                    <comment id="50009" author="andreibaranouski" created="Mon, 11 Feb 2013 03:45:17 -0600"  >30 sec, build 151, tests passed &lt;a href=&quot;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/536/&quot;&gt;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/536/&lt;/a&gt;</comment>
                    <comment id="50031" author="farshid" created="Mon, 11 Feb 2013 12:24:47 -0600"  >Karen,&lt;br/&gt;
&lt;br/&gt;
could you please add this to the release notes that the user needs to wait for 30 seconds before they attempt to run rebalance operation after failing over a node.&lt;br/&gt;
comment son this bug should explain under what conditions this 30 seconds delay is neeeded</comment>
                    <comment id="50360" author="kzeller" created="Wed, 13 Feb 2013 18:12:01 -0600"  >Jin,&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Can you summarize the situation when someone should wait 30 seconds to reattempt rebalance?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52460" author="jin" created="Mon, 11 Mar 2013 16:20:07 -0500"  >Failover REST api is sync operation with timeout. When it fails to complete the failover process within the timeout period, it internally switches to async operation (continues the failover to completion) and immediately returns. Subsequent rebalance in this case would fail because the failover process is still running. User can wait   between 30 seconds upto a minute and reattempt rebalance.</comment>
                    <comment id="52461" author="jin" created="Mon, 11 Mar 2013 16:27:42 -0500"  >The failover REST api timeout is 30 second.</comment>
                    <comment id="52463" author="kzeller" created="Mon, 11 Mar 2013 17:34:24 -0500"  >			&amp;lt;para&amp;gt;&lt;br/&gt;
				A cluster rebalance may exit and produce the error &lt;br/&gt;
				{not_all_nodes_are_ready_yet} if you perform the rebalance right &lt;br/&gt;
				after failing over a node in the cluster. You may need to &lt;br/&gt;
				wait 30 seconds after the node failover before you &lt;br/&gt;
				attempt the cluster rebalance.&lt;br/&gt;
			&amp;lt;/para&amp;gt;&lt;br/&gt;
			&amp;lt;para&amp;gt;This is because the failover REST API is a synchronous operation with a timeout. If it fails to &lt;br/&gt;
			complete the failover process by the timeout, the operation internally switches into a &lt;br/&gt;
			asynchronous operation. It will immediately return and re-attempt failover in the background which will cause &lt;br/&gt;
			rebalance to fail since the failover operation is still running.&amp;lt;/para&amp;gt;</comment>
                    <comment id="52464" author="kzeller" created="Mon, 11 Mar 2013 17:34:44 -0500"  >Added to RN as :&lt;br/&gt;
&lt;br/&gt;
			&amp;lt;para&amp;gt;&lt;br/&gt;
				A cluster rebalance may exit and produce the error &lt;br/&gt;
				{not_all_nodes_are_ready_yet} if you perform the rebalance right &lt;br/&gt;
				after failing over a node in the cluster. You may need to &lt;br/&gt;
				wait 30 seconds after the node failover before you &lt;br/&gt;
				attempt the cluster rebalance.&lt;br/&gt;
			&amp;lt;/para&amp;gt;&lt;br/&gt;
			&amp;lt;para&amp;gt;This is because the failover REST API is a synchronous operation with a timeout. If it fails to &lt;br/&gt;
			complete the failover process by the timeout, the operation internally switches into a &lt;br/&gt;
			asynchronous operation. It will immediately return and re-attempt failover in the background which will cause &lt;br/&gt;
			rebalance to fail since the failover operation is still running.&amp;lt;/para&amp;gt;</comment>
                    <comment id="54727" author="andreibaranouski" created="Wed, 10 Apr 2013 07:04:39 -0500"  >Jin, I got the same error with 30 seconds waiting after failover on build 2.0.2-761-rel&lt;br/&gt;
Should we update RN for 2.0.1/next 2.0.2 release?&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/583/consoleFull&quot;&gt;http://qa.hq.northscale.net/view/2.0.1/job/centos-64-2.0-failover-tests/583/consoleFull&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
[2013-04-08 19:41:13,981] - [failovertests:148] INFO - failed over node : &lt;a href=&apos;mailto:ns_1@10.1.3.115&apos;&gt;ns_1@10.1.3.115&lt;/a&gt;&lt;br/&gt;
[2013-04-08 19:41:13,981] - [failovertests:163] INFO - 30 seconds sleep after failover before invoking rebalance...&lt;br/&gt;
[2013-04-08 19:41:43,981] - [rest_client:834] INFO - rebalance params : password=password&amp;amp;ejectedNodes=ns_1%4010.1.3.115&amp;amp;user=Administrator&amp;amp;knownNodes=ns_1%4010.1.3.114%2Cns_1%4010.1.3.115%2Cns_1%4010.1.3.118%2Cns_1%4010.1.3.116&lt;br/&gt;
[2013-04-08 19:41:43,991] - [rest_client:838] INFO - rebalance operation started&lt;br/&gt;
[2013-04-08 19:41:44,004] - [rest_client:940] INFO - rebalance percentage : 0 %&lt;br/&gt;
[2013-04-08 19:41:46,009] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:48,014] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:50,018] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:52,023] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:54,029] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:56,033] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:41:58,039] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:00,043] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:02,048] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:04,056] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:06,061] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:08,066] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:10,071] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:12,077] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:14,084] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:16,089] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:18,096] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:20,102] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:22,108] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:24,113] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:26,119] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:28,125] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:30,130] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:32,137] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:34,143] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:36,152] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:38,157] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:40,163] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:42,168] - [rest_client:940] INFO - rebalance percentage : 0.0 %&lt;br/&gt;
[2013-04-08 19:42:44,174] - [rest_client:923] ERROR - {u&amp;#39;status&amp;#39;: u&amp;#39;none&amp;#39;, u&amp;#39;errorMessage&amp;#39;: u&amp;#39;Rebalance failed. See logs for detailed reason. You can try rebalance again.&amp;#39;} - rebalance failed&lt;br/&gt;
[2013-04-08 19:42:44,175] - [rest_client:924] INFO - Latest logs from UI:&lt;br/&gt;
[2013-04-08 19:42:44,273] - [rest_client:925] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.1.3.114&apos;&gt;ns_1@10.1.3.114&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 2, u&amp;#39;text&amp;#39;: u&amp;quot;Rebalance exited with reason {not_all_nodes_are_ready_yet,\n     </comment>
                    <comment id="54728" author="andreibaranouski" created="Wed, 10 Apr 2013 07:06:46 -0500"  >it&amp;#39;s happened twice in this run</comment>
                    <comment id="54816" author="jin" created="Wed, 10 Apr 2013 15:55:08 -0500"  >Thanks for the update, Andrei. Before we update the RN first let&amp;#39;s figure out how long a user should wait before retrying the rebalance. Can we  upgrade the wait period to 1 minute and see if that is long enough? Thanks.</comment>
                    <comment id="54879" author="andreibaranouski" created="Thu, 11 Apr 2013 05:44:05 -0500"  >set timeout in 1 min &lt;a href=&quot;http://review.couchbase.org/#/c/25587/&quot;&gt;http://review.couchbase.org/#/c/25587/&lt;/a&gt;&lt;br/&gt;
before that we had a timeout for 60 sec, the tests do not fall&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7168?focusedCommentId=49128&amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-49128&quot;&gt;http://www.couchbase.com/issues/browse/MB-7168?focusedCommentId=49128&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-49128&lt;/a&gt;</comment>
                    <comment id="55297" author="thuan" created="Wed, 17 Apr 2013 02:54:06 -0500"  >Integrated in ui-testing #42 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/42/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/42/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS</comment>
                    <comment id="55723" author="andreibaranouski" created="Mon, 22 Apr 2013 04:42:16 -0500"  >tested with timeout for 60 sec, all tests passed</comment>
                    <comment id="55724" author="andreibaranouski" created="Mon, 22 Apr 2013 04:46:31 -0500"  >Jin, I think to add in RN waiting for 60 seconds after failover should be okay</comment>
                    <comment id="56509" author="wayne" created="Mon, 29 Apr 2013 15:48:46 -0500"  >Karen, please update the release notes to suggest 60 sec (not 30).  Also lowering the priority from Blocker to Critical as it&amp;#39;s not a 2.0.2 release blocking issue.</comment>
                    <comment id="57628" author="kzeller" created="Wed, 8 May 2013 17:06:52 -0500"  >Ok, changed to : 			A cluster rebalance may exit and produce the error &lt;br/&gt;
				{not_all_nodes_are_ready_yet} if you perform the rebalance right &lt;br/&gt;
				after failing over a node in the cluster. You may need to &lt;br/&gt;
				wait 60 seconds after the node failover before you &lt;br/&gt;
				attempt the cluster rebalance.&lt;br/&gt;
&lt;br/&gt;
in RN 2.0.2</comment>
                    <comment id="57629" author="kzeller" created="Wed, 8 May 2013 17:07:12 -0500"  >added to RN 2.0.2</comment>
                    <comment id="57672" author="thuan" created="Thu, 9 May 2013 04:00:02 -0500"  >Integrated in win-ui-testing-P0 #56 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/win-ui-testing-P0/56/&quot;&gt;http://qa.hq.northscale.net/job/win-ui-testing-P0/56/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7168&quot; title=&quot;[Done- RN 2.0.2] failover of node that&amp;#39;s completely down is still not quick (was: Rebalance exited with reason {not_all_nodes_are_ready_yet after failover node)&quot;&gt;MB-7168&lt;/a&gt;: sleep 30 sec after reb falied when killed memcached (Revision 44f755b962b7987d5b972caf9a283baa95edaed1)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
andrei : &lt;br/&gt;
Files : &lt;br/&gt;
* pytests/swaprebalance.py&lt;br/&gt;
</comment>
                    <comment id="57775" author="wayne" created="Thu, 9 May 2013 21:07:59 -0500"  >Verified that the doc change has also gone to 2.0.1 RN.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-server-rn_2-0-0l.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-server-rn_2-0-0l.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="57777" author="wayne" created="Thu, 9 May 2013 21:38:38 -0500"  >Assigning to PM for the next step.</comment>
                    <comment id="57810" author="anil" created="Fri, 10 May 2013 13:11:42 -0500"  >discussed with ALK, this bug will be fixed in 2.1. talked about having UI alert but since this happens only when node dies completely for now Release Note as Known Issue should fine. thanks </comment>
                    <comment id="57813" author="alkondratenko" created="Fri, 10 May 2013 13:14:33 -0500"  >Updated ticket to reflect badness of this and must-have-ness for 2.1</comment>
                    <comment id="57860" author="kzeller" created="Fri, 10 May 2013 17:02:06 -0500"  >added flag to include 2.0.1 release note to 2.0.2.</comment>
                    <comment id="57901" author="thuan" created="Fri, 10 May 2013 19:38:34 -0500"  >Integrated in windows32_sanity_P0 #29 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/windows32_sanity_P0/29/&quot;&gt;http://qa.hq.northscale.net/job/windows32_sanity_P0/29/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = UNSTABLE</comment>
                    <comment id="57960" author="thuan" created="Sun, 12 May 2013 05:18:59 -0500"  >Integrated in windows32_view_P0 #6 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/windows32_view_P0/6/&quot;&gt;http://qa.hq.northscale.net/job/windows32_view_P0/6/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = UNSTABLE</comment>
                </comments>
                    <attachments>
                    <attachment id="15852" name="01774fe6-193d-4949-a7f5-eec408f72856-10.1.3.114-diag.txt.gz" size="799663" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600" />
                    <attachment id="15853" name="01774fe6-193d-4949-a7f5-eec408f72856-10.1.3.115-diag.txt.gz" size="329200" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600" />
                    <attachment id="15854" name="01774fe6-193d-4949-a7f5-eec408f72856-10.1.3.116-diag.txt.gz" size="810173" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600" />
                    <attachment id="15855" name="01774fe6-193d-4949-a7f5-eec408f72856-10.1.3.117-diag.txt.gz" size="311253" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600" />
                    <attachment id="15856" name="01774fe6-193d-4949-a7f5-eec408f72856-10.1.3.118-diag.txt.gz" size="830636" author="andreibaranouski" created="Wed, 21 Nov 2012 07:30:56 -0600" />
                    <attachment id="15784" name="5286537d-1565-4e27-a147-8c8b8f064759-10.1.3.114-diag.txt.gz" size="4962725" author="andreibaranouski" created="Tue, 13 Nov 2012 05:16:46 -0600" />
                    <attachment id="15785" name="5286537d-1565-4e27-a147-8c8b8f064759-10.1.3.116-diag.txt.gz" size="3288000" author="andreibaranouski" created="Tue, 13 Nov 2012 05:16:46 -0600" />
                    <attachment id="15786" name="5286537d-1565-4e27-a147-8c8b8f064759-10.1.3.118-diag.txt.gz" size="2808469" author="andreibaranouski" created="Tue, 13 Nov 2012 05:16:46 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 19 Nov 2012 13:26:06 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>496</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7074] xdcr: data compaction doesn&apos;t catch up</title>
                <link>http://www.couchbase.com/issues/browse/MB-7074</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>While it works fine in bidirectional case, there is obvious issue with 2 buckets and double unidirectional replication - even after 5 hours of access phase server didn&amp;#39;t manage to compact data.&lt;br/&gt;
&lt;br/&gt;
I believe it may be related to general issues with capacity planning (as &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6172&quot; title=&quot;XDCR: High CPU utilization on destination nodes&quot;&gt;MB-6172&lt;/a&gt;) but apparently we should not ignore that.</description>
                <environment>Build 1925.&lt;br/&gt;
&lt;br/&gt;
Windows, 2&amp;lt;-&amp;gt;2 nodes, 2 buckets, 2 unidir stream</environment>
            <key id="20508">MB-7074</key>
            <summary>xdcr: data compaction doesn&apos;t catch up</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="abhinav">Abhinav Dangeti</assignee>
                                <reporter username="pavelpaulau">Pavel Paulau</reporter>
                        <labels>
                        <label>pblock</label>
                        <label>windows</label>
                    </labels>
                <created>Thu, 1 Nov 2012 12:51:38 -0500</created>
                <updated>Mon, 13 May 2013 00:53:43 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>13</watches>
                                                    <comments>
                    <comment id="43071" author="junyi" created="Thu, 1 Nov 2012 15:43:08 -0500"  >Looks like an issue in storage layer.   Aaron, could you plesae look at why compactor did not catch up?</comment>
                    <comment id="43083" author="aaron" created="Thu, 1 Nov 2012 16:33:58 -0500"  >Nothing in the logs seems to indicate compaction having issues. It was still running at the end of when they were captured. Compaction is pretty I/O heavy, so if there&amp;#39;s much other I/O going on it can take a while. Chiyoung has done some experiments around compaction scheduling inside ep-engine that are the sort of thing that would probably help in this type of situation, but I don&amp;#39;t think actually making that change is on our radar in the near-term.</comment>
                    <comment id="43085" author="junyi" created="Thu, 1 Nov 2012 16:43:33 -0500"  >Aaron, thanks a lot for explanation. &lt;br/&gt;
&lt;br/&gt;
Pavel, it looks a generic performance issue with no quick fix. Probably we could put it on hold to post-2.0 after all optimization Aaron mentioned checked in.&lt;br/&gt;
</comment>
                    <comment id="43358" author="dipti" created="Mon, 5 Nov 2012 21:19:55 -0600"  >Talked more with Pavel and Junyi about this. Please add guidance on where the bottleneck is if the system is not sized appropriately so that users can take the appropriate action. </comment>
                    <comment id="43393" author="junyi" created="Tue, 6 Nov 2012 10:58:06 -0600"  >Aaron, could you please address Dipti&amp;#39;s comments here? Say, when users hit this issue that compaction cannot catch up with ongoing operations, what guidelines we need to provide to them?  Thanks.&lt;br/&gt;
</comment>
                    <comment id="43402" author="aaron" created="Tue, 6 Nov 2012 13:05:29 -0600"  >The only resource compaction really competes for is I/O, and XDCR can be I/O heavy.&lt;br/&gt;
&lt;br/&gt;
Unfortunately I think the only good way around these problems is for the things contending for I/O to be managed in such a way as that they don&amp;#39;t step on each other. That&amp;#39;s why Chiyoung&amp;#39;s change that I mentioned earlier helped in plain K/V situations, as it coordinated the compaction against regular K/V persistence. It ought to help in the XDCR case too, as most of the XDCR I/O is through that path.&lt;br/&gt;
&lt;br/&gt;
The only guideline I could think of as-is if compaction can&amp;#39;t catch up with ongoing operations is do fewer of those operations.</comment>
                    <comment id="45365" author="ketaki" created="Tue, 4 Dec 2012 12:43:40 -0600"  >Since this is still an issue, moving this back to 2.0.1</comment>
                    <comment id="47532" author="farshid" created="Thu, 10 Jan 2013 13:43:00 -0600"  >Pavel,&lt;br/&gt;
&lt;br/&gt;
are there any xperf results from 2.0.1?</comment>
                    <comment id="47577" author="pavelpaulau" created="Fri, 11 Jan 2013 02:59:23 -0600"  >I have results for build 107 and it&amp;#39;s still the issues:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/eperf-graph-loop/1305/artifact/xperf-mixed-uni-2-nodes.loop_2.0.1-107-rel-enterprise_2.0.1-107-rel-enterprise_SOURCE_Dec-19-2012_17%3A54%3A34.pdf&quot;&gt;http://qa.hq.northscale.net/job/eperf-graph-loop/1305/artifact/xperf-mixed-uni-2-nodes.loop_2.0.1-107-rel-enterprise_2.0.1-107-rel-enterprise_SOURCE_Dec-19-2012_17%3A54%3A34.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/eperf-graph-loop/1307/artifact/xperf-mixed-uni-2-nodes.loop_2.0.1-107-rel-enterprise_2.0.1-107-rel-enterprise_DEST_Dec-19-2012_18%3A11%3A38.pdf&quot;&gt;http://qa.hq.northscale.net/job/eperf-graph-loop/1307/artifact/xperf-mixed-uni-2-nodes.loop_2.0.1-107-rel-enterprise_2.0.1-107-rel-enterprise_DEST_Dec-19-2012_18%3A11%3A38.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
But frankly speaking I don&amp;#39;t remember that we tried to fix that.</comment>
                    <comment id="47653" author="FilipeManana" created="Sat, 12 Jan 2013 05:18:59 -0600"  >As an aside, the retry phase of database compaction, still done in Erlang, can be made more efficient (and faster of course). Pretty much in the same way that view compaction retry phase was made much faster some time ago (it used to suffer the same issue several months ago).</comment>
                    <comment id="48295" author="jin" created="Tue, 22 Jan 2013 14:40:00 -0600"  >Jin to coordinate a meeting to discuss the scope of the issue and detailed plan of attack to it. </comment>
                    <comment id="48807" author="farshid" created="Mon, 28 Jan 2013 14:09:29 -0600"  >per bug scrub .&lt;br/&gt;
&lt;br/&gt;
Damien says there is a possibility that processes inside erlang vm are crashing</comment>
                    <comment id="48808" author="farshid" created="Mon, 28 Jan 2013 14:10:00 -0600"  >per bug scrub:&lt;br/&gt;
&lt;br/&gt;
Yaseen: rerun the test and ask if this is a capacity issue. if so we can defer this to the next release.</comment>
                    <comment id="49008" author="pavelpaulau" created="Wed, 30 Jan 2013 10:47:33 -0600"  >As issue description says the same workload works pretty well in case of single bucket. It might be helpful insight for investigation.&lt;br/&gt;
&lt;br/&gt;
I tried two extra workloads:&lt;br/&gt;
-- reduced ratio of write operations (50% -&amp;gt; 20%)&lt;br/&gt;
-- reduced total ops/sec (4K -&amp;gt; 2K)&lt;br/&gt;
&lt;br/&gt;
It didn&amp;#39;t help, disk size is growing while compaction doesn&amp;#39;t catch up.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m trying 1K ops/sec workload now.</comment>
                    <comment id="49035" author="jin" created="Wed, 30 Jan 2013 14:05:41 -0600"  >Aaron, it appears to be that &amp;quot;heavy I/O + limited resource capacity&amp;quot; might not be culprit for data compaction slowness. Please take a look at Pavel finding so far and provide your insight. This is becoming a high priority issue. Please assign it back to Pavel after you input. Thanks!&lt;br/&gt;
</comment>
                    <comment id="49046" author="junyi" created="Wed, 30 Jan 2013 16:31:25 -0600"  >Thanks Pavel. That is quite helpful. From users perspective, double replication but tune down the workload by &amp;gt;50% should not give very different performance results.&lt;br/&gt;
&lt;br/&gt;
I am not sure the resource limitation comes from. Here are two possible sources in my mind&lt;br/&gt;
&lt;br/&gt;
1. Double replicators on each node due to 2nd bucket bring a lot more overhead in Erlang.&lt;br/&gt;
2. The overhead of scheduling compaction of two buckets are much more than twice of compacting single bucket &lt;br/&gt;
&lt;br/&gt;
Pavel, one way to isolate the problem is to reduce the # of replicators from 32 to16, thus in the case of two replications, # of replicators is still 32 per node which is the same as single bucket. That will in some extent remove the impact of 1), and if the compaction cannot still catch up,  probably the culprit is 2). &lt;br/&gt;
&lt;br/&gt;
Another way is to reduce the frequency of compactions, by doubling the interval of compaction to see if there is any difference.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="49074" author="pavelpaulau" created="Wed, 30 Jan 2013 19:42:05 -0600"  >The most recent results with 1K ops/sec: disk data size grew from 11GB to 22GB in 6 hours with rather pessimistic perspectives.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/eperf-graph-loop/1396/artifact/xperf-mixed-uni-2-nodes-low-3.loop_2.0.1-145-rel-enterprise_2.0.1-145-rel-enterprise_SOURCE_Jan-30-2013_16%3A29%3A56.pdf&quot;&gt;http://qa.hq.northscale.net/job/eperf-graph-loop/1396/artifact/xperf-mixed-uni-2-nodes-low-3.loop_2.0.1-145-rel-enterprise_2.0.1-145-rel-enterprise_SOURCE_Jan-30-2013_16%3A29%3A56.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/eperf-graph-loop/1397/artifact/xperf-mixed-uni-2-nodes-low-3.loop_2.0.1-145-rel-enterprise_2.0.1-145-rel-enterprise_DEST_Jan-30-2013_16%3A49%3A21.pdf&quot;&gt;http://qa.hq.northscale.net/job/eperf-graph-loop/1397/artifact/xperf-mixed-uni-2-nodes-low-3.loop_2.0.1-145-rel-enterprise_2.0.1-145-rel-enterprise_DEST_Jan-30-2013_16%3A49%3A21.pdf&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
There are diags as well:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://qa.hq.northscale.net/job/xperf-win/43/artifact/&quot;&gt;http://qa.hq.northscale.net/job/xperf-win/43/artifact/&lt;/a&gt;</comment>
                    <comment id="49336" author="pavelpaulau" created="Thu, 31 Jan 2013 19:09:57 -0600"  >and 30 GB after 12 hours.</comment>
                    <comment id="49652" author="aaron" created="Mon, 4 Feb 2013 14:59:45 -0600"  >@Filipe I&amp;#39;m not familiar with the retry compaction thing. Does it look like this issue is more with retry compaction than initial compaction?</comment>
                    <comment id="49655" author="jin" created="Mon, 4 Feb 2013 15:22:16 -0600"  >Per bug scrubs this issue might have fixed by the recent optimization fix, &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7671&quot; title=&quot;We&amp;#39;re sometimes compacting perfectly compact vbuckets&quot;&gt;&lt;strike&gt;MB-7671&lt;/strike&gt;&lt;/a&gt;. Assign it to Alex for back-porting the fix to 2.0.1 branch and rerun the test.</comment>
                    <comment id="49656" author="jin" created="Mon, 4 Feb 2013 15:24:51 -0600"  >Hi Aliaksey, Alk mentioned that &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7671&quot; title=&quot;We&amp;#39;re sometimes compacting perfectly compact vbuckets&quot;&gt;&lt;strike&gt;MB-7671&lt;/strike&gt;&lt;/a&gt; might have fixed the issue described above. Please backport the fix to 2.0.1 branch and let Pavel know so he can verify it. This is a high priority issue for 2.0.1 release. Thanks much!</comment>
                    <comment id="49663" author="Aliaksey Artamonau" created="Mon, 4 Feb 2013 16:12:52 -0600"  >Just merged backport to 2.0.1 branch: &lt;a href=&quot;http://review.couchbase.org/#/c/24391/&quot;&gt;http://review.couchbase.org/#/c/24391/&lt;/a&gt;</comment>
                    <comment id="49734" author="jin" created="Tue, 5 Feb 2013 02:50:54 -0600"  >Pavel - Aliaksey merged his code change that optimizes data compaction. I am marking this as &amp;quot;resolved&amp;quot; for now but please make sure to validate the fix with running the test. Thanks. </comment>
                    <comment id="49735" author="jin" created="Tue, 5 Feb 2013 02:51:19 -0600"  >Please see above comments.</comment>
                    <comment id="49986" author="pavelpaulau" created="Sun, 10 Feb 2013 01:32:16 -0600"  >reproduced in 2.0.1-153.</comment>
                    <comment id="49997" author="jin" created="Mon, 11 Feb 2013 01:15:38 -0600"  >Pavel, Aaron is working on some optimizations for data compaction that target for 2.0.2 and beyond. In the mean time, do you happen to concur with doing Junyi&amp;#39;s suggestion below?&lt;br/&gt;
At least we may want to give a try with less number of replicators (from 32 - 16)?  Please advise and assign it back to Jin or Aaron for tracking this with coming optimizations.  &lt;br/&gt;
&lt;br/&gt;
=======================================================================================&lt;br/&gt;
Pavel, one way to isolate the problem is to reduce the # of replicators from 32 to16, thus in the case of two replications, &lt;br/&gt;
# of replicators is still 32 per node which is the same as single bucket. That will in some extent remove the impact of 1),&lt;br/&gt;
&amp;nbsp;and if the compaction cannot still catch up, probably the culprit is 2). &lt;br/&gt;
=======================================================================================</comment>
                    <comment id="50020" author="pavelpaulau" created="Mon, 11 Feb 2013 11:41:07 -0600"  >Sorry, I missed that comment from Junyi. Ok, I will try 16 replicators.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;d also recommend @ronnie to run KV test with 2 buckets on Windows w/o XDCR.</comment>
                    <comment id="50036" author="jin" created="Mon, 11 Feb 2013 12:28:32 -0600"  >Thanks, will forward your suggestion to Ronnie &amp;amp; performance team.</comment>
                    <comment id="50206" author="ronnie" created="Tue, 12 Feb 2013 17:25:23 -0600"  >compaction did kick in in kv testcase</comment>
                    <comment id="50207" author="pavelpaulau" created="Tue, 12 Feb 2013 17:39:39 -0600"  >@ronnie&lt;br/&gt;
Can you describe your workload and environment configuration.</comment>
                    <comment id="50209" author="ronnie" created="Tue, 12 Feb 2013 18:11:32 -0600"  >4 windows vms, 2 buckets. active resident ratio : 70% &lt;br/&gt;
&lt;br/&gt;
details&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/testrunner/blob/master/conf/perf/mixed-2suv-2buckets.conf&quot;&gt;https://github.com/couchbase/testrunner/blob/master/conf/perf/mixed-2suv-2buckets.conf&lt;/a&gt;</comment>
                    <comment id="50216" author="pavelpaulau" created="Tue, 12 Feb 2013 19:26:11 -0600"  >Ok, Ronnie&amp;#39;s workload is way more aggressive so it&amp;#39;s not just &amp;quot;windows 2 buckets&amp;quot; issue.&lt;br/&gt;
&lt;br/&gt;
16 replicators didn&amp;#39;t help. Now it makes sense to try physical environment, it will be my next step.</comment>
                    <comment id="50228" author="jin" created="Tue, 12 Feb 2013 23:04:48 -0600"  >Thanks Ronnie and Pavel for your time and help on investigating this. &lt;br/&gt;
&lt;br/&gt;
Summarize what we have found so far:&lt;br/&gt;
* Overhead from having multiple buckets doesn&amp;#39;t seem to be root cause&lt;br/&gt;
* Reducing number of replicators doesn&amp;#39;t seem to be root cause either&lt;br/&gt;
* However, this seems to be Windows + XDCR only issue -  KV only doesn&amp;#39;t manifest the same symptom&lt;br/&gt;
* easy to reproduce, so users may run into this issue fairly easily on Windwos env&lt;br/&gt;
&lt;br/&gt;
Based on the fact that it is Windows + XDCR only issue (and per bug scrubs) we move it to Windows to do list for 2.0.2.</comment>
                    <comment id="50229" author="jin" created="Tue, 12 Feb 2013 23:06:49 -0600"  >Pavel, please assign it to Sriram after your test run with physical environment. Sriram/Jin will coordinate who/how we address this issue in 2.0.2. Thanks!</comment>
                    <comment id="51678" author="dipti" created="Thu, 28 Feb 2013 12:32:45 -0600"  >We need to understand the behavior on physical hardware. Pavel to try to address this for this sprint. </comment>
                    <comment id="52215" author="thuan" created="Thu, 7 Mar 2013 02:20:19 -0600"  >Integrated in ui-testing #11 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/11/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/11/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7074&quot; title=&quot;xdcr: data compaction doesn&amp;#39;t catch up&quot;&gt;MB-7074&lt;/a&gt;: add config with 16 replicators (Revision 530e1e63f1471bfe9f0994e20888e25aa5207802)&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7074&quot; title=&quot;xdcr: data compaction doesn&amp;#39;t catch up&quot;&gt;MB-7074&lt;/a&gt;: add terra-win-xdcr config (Revision 689d09c1ba25a648e1cda909a61a8f57fecb13ed)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* conf/perf/xperf-mixed-uni-2-nodes-low-4-16.conf&lt;br/&gt;
&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* resources/perf/terra-win-xdcr.ini&lt;br/&gt;
</comment>
                    <comment id="52446" author="jin" created="Mon, 11 Mar 2013 13:45:03 -0500"  >From 2.0.2 development kickoff meeting today:&lt;br/&gt;
* NS SRV team has made some changes that should alleviate this issue in the latest 2.0.1. &lt;br/&gt;
* Before further investigation we should rerun the test with the latest 2.0.1 (or 2.0.2) and verify if the symptom still persist.&lt;br/&gt;
* If so, first please assign this to NS SRV team for their initial triage</comment>
                    <comment id="52647" author="pavelpaulau" created="Wed, 13 Mar 2013 04:30:31 -0500"  >1. The only physical machine with windows that we have occupied by system tests team and Siri.&lt;br/&gt;
2. Problem still exist in 2.0.1 release.&lt;br/&gt;
&lt;br/&gt;
What kind of input does ns_server team need for investigation?</comment>
                    <comment id="53445" author="alkondratenko" created="Mon, 25 Mar 2013 15:55:16 -0500"  >Thanks for update Pavel, but in fragmentation graph from Feb I&amp;#39;m seeing fragmentation staying below 30 versus November staying above 50.&lt;br/&gt;
&lt;br/&gt;
Please state more specifically how you concluded that problem still exists in 2.0.1? That data is all ns_server team needs as of now.</comment>
                    <comment id="53487" author="pavelpaulau" created="Tue, 26 Mar 2013 01:58:56 -0500"  >Sorry, attaching valid reports with reduced front-end workload.&lt;br/&gt;
&lt;br/&gt;
Looks like fragment was attached by mistake.</comment>
                    <comment id="53695" author="alkondratenko" created="Wed, 27 Mar 2013 18:04:21 -0500"  >Indeed. Looked at graphs and it&amp;#39;s clear that issue was not fixed. My thinking was that given previously autocompactor compacted _all_ vbuckets even if just few of them actually needed attention and given that xdcr was producing exactly that (few vbuckets fragmented others largely untouched) I was expecting our fix in autocompactor to address that. Apparently this is not the case.</comment>
                    <comment id="53957" author="maria" created="Mon, 1 Apr 2013 20:29:49 -0500"  >per bug scrub: Alk --- are there any more known optimization that can be made for 2.0.2? pls advise.</comment>
                    <comment id="53965" author="alkondratenko" created="Mon, 1 Apr 2013 20:42:54 -0500"  >Damien and Aaron were working on some plausibly looking speedup of DB compaction. I&amp;#39;m not familiar with their results. From ns_server side I have nothing in mind for helping this case.</comment>
                    <comment id="53967" author="alkondratenko" created="Mon, 1 Apr 2013 20:43:28 -0500"  >This was originally assigned on Damien and I&amp;#39;m returning it to Damien.</comment>
                    <comment id="54045" author="maria" created="Tue, 2 Apr 2013 13:27:24 -0500"  >per bug scrub: not yet supported in windows.&lt;br/&gt;
QE action item: verify this is not happening in linux. if it is, update this bug.</comment>
                    <comment id="54551" author="alkondratenko" created="Mon, 8 Apr 2013 18:44:43 -0500"  >Looks like somebody updated wrong ticket. This bug has nothing to do with windows or linux.</comment>
                    <comment id="57978" author="maria" created="Mon, 13 May 2013 00:53:43 -0500"  >Abhinav, are you seeing this compaction issue in xdcr in 2.0.2? you can close this bug if you are not seeing this issue. Thanks.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16470" name="145_disk_size.png" size="63662" author="pavelpaulau" created="Thu, 31 Jan 2013 19:09:11 -0600" />
                    <attachment id="15674" name="192.168.162.30-1112012-diag.zip" size="6710557" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15675" name="192.168.162.31-1112012-diag.zip" size="6847427" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15676" name="192.168.162.32-1112012-diag.zip" size="4790947" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15677" name="192.168.162.33-1112012-diag.zip" size="6276808" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15681" name="data_compaction_01.png" size="33311" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15680" name="data_compaction_02.png" size="33288" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="16730" name="Screen Shot 2013-02-12 at 3.22.47 PM.png" size="65402" author="ronnie" created="Tue, 12 Feb 2013 17:25:23 -0600" />
                    <attachment id="15678" name="xperf-mixed-1-uni-uni-2-nodes-ext.loop_2.0.0-1925-rel-enterprise_2.0.0-1925-rel-enterprise_DEST_Nov-01-2012_08-23-52.pdf" size="3224934" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="15679" name="xperf-mixed-1-uni-uni-2-nodes-ext.loop_2.0.0-1925-rel-enterprise_2.0.0-1925-rel-enterprise_SOURCE_Nov-01-2012_08-13-19.pdf" size="3120441" author="pavelpaulau" created="Thu, 1 Nov 2012 12:51:38 -0500" />
                    <attachment id="17007" name="xperf-mixed-uni-2-nodes-low-4.loop_2.0.1-170-rel-enterprise_2.0.1-170-rel-enterprise_DEST_Mar-12-2013_20-12-14.pdf" size="6558427" author="pavelpaulau" created="Tue, 26 Mar 2013 01:58:56 -0500" />
                    <attachment id="17008" name="xperf-mixed-uni-2-nodes-low-4.loop_2.0.1-170-rel-enterprise_2.0.1-170-rel-enterprise_SOURCE_Mar-12-2013_19-49-28.pdf" size="6382023" author="pavelpaulau" created="Tue, 26 Mar 2013 01:58:56 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 1 Nov 2012 15:43:08 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>421</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>1</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-8258] Complete Metadata ejection when item becomes non-resident</title>
                <link>http://www.couchbase.com/issues/browse/MB-8258</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Memory overhead from an item&amp;#39;s metadata would be huge in case of a very large number of items. Moving the metadata to the value blob allows us to evict the metadata with the value together and fetch it from disk on demand.</description>
                <environment></environment>
            <key id="19545">MB-8258</key>
            <summary>Complete Metadata ejection when item becomes non-resident</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="dipti">Dipti Borkar</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 4 Sep 2012 17:58:00 -0500</created>
                <updated>Mon, 13 May 2013 19:19:57 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 13 May 2013 19:19:57 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2082</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-8145] 1 read-only user for UI and REST API</title>
                <link>http://www.couchbase.com/issues/browse/MB-8145</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;a href=&quot;http://www.pivotaltracker.com/story/show/25735995&quot;&gt;http://www.pivotaltracker.com/story/show/25735995&lt;/a&gt;</description>
                <environment></environment>
            <key id="17229">MB-8145</key>
            <summary>1 read-only user for UI and REST API</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Mon, 21 May 2012 19:57:41 -0500</created>
                <updated>Mon, 13 May 2013 19:26:41 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="52157" author="dipti" created="Wed, 6 Mar 2013 15:57:56 -0600"  >basically, with this feature you will have 2 couchbase users. &lt;br/&gt;
&lt;br/&gt;
1 - admin (can do anything and everything)&lt;br/&gt;
2 - read-only user (cannot change any setting , can only see and access UI and REST API settings - no POST / PUT only GET) </comment>
                    <comment id="54233" author="alkondratenko" created="Thu, 4 Apr 2013 13:24:38 -0500"  >BTW CBD is already restricted to Membase inc.&lt;br/&gt;
&lt;br/&gt;
We&amp;#39;ve had ticket for more general user management elsewhere. Maybe. But IMHO don&amp;#39;t expect that more general stuff be done very soon. I.e. it doesn&amp;#39;t make much sense until we can comfortably handle many tens of buckets in cluster.&lt;br/&gt;
</comment>
                    <comment id="54234" author="perry" created="Thu, 4 Apr 2013 13:33:09 -0500"  >Thanks Alk.  I think the argument still stands even for less than 10 buckets.  This is really for their development environment where they may have 10 different &amp;quot;teams&amp;quot; working off the same cluster and for compliance reasons need to ensure that if one team gets compromised, they are not able to see the data for the rest of the company.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 21 Jun 2012 16:08:44 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>504</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-8012] Need a purging mechanism for Couchstore to remove deleted  / expired items </title>
                <link>http://www.couchbase.com/issues/browse/MB-8012</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>let&amp;#39;s discuss more in person. customers are hitting this already&lt;br/&gt;
&lt;br/&gt;
discussion: &lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/cbeng/Deletion+Purging&quot;&gt;http://hub.internal.couchbase.com/confluence/display/cbeng/Deletion+Purging&lt;/a&gt;</description>
                <environment></environment>
            <key id="21125">MB-8012</key>
            <summary>Need a purging mechanism for Couchstore to remove deleted  / expired items </summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="aaron">Aaron Miller</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 4 Dec 2012 14:06:28 -0600</created>
                <updated>Mon, 13 May 2013 20:58:35 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="45404" author="FilipeManana" created="Tue, 4 Dec 2012 15:50:09 -0600"  >Note: this has very serious implications for indexes, that can lead to incorrectness.&lt;br/&gt;
Possibly for xcdr as well (at least for couchdb replication it has).</comment>
                    <comment id="45411" author="aaron" created="Tue, 4 Dec 2012 17:19:55 -0600"  >+1. This is a harder problem than it sounds like, especially for XDCR, where both correctness and the eventual consistency property could break if it is not handled correctly.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve done some minor brainstorming around this w/ damien, but we hadn&amp;#39;t really come up with a solution, as whatever we do will add a good amount of complexity to XDCR and possibly views as well.</comment>
                    <comment id="45450" author="FilipeManana" created="Wed, 5 Dec 2012 07:30:41 -0600"  >To add more visibility, here&amp;#39;s what I commented in &lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/cbeng/Deletion+Purging?focusedCommentId=6784114&amp;#comment-6784114&quot;&gt;http://hub.internal.couchbase.com/confluence/display/cbeng/Deletion+Purging?focusedCommentId=6784114&amp;amp;#comment-6784114&lt;/a&gt; :&lt;br/&gt;
&lt;br/&gt;
&amp;quot;&lt;br/&gt;
This is equally concerning for indexes.&lt;br/&gt;
Basically the purging problem was never fully &amp;quot;solved&amp;quot; in CouchDB.&lt;br/&gt;
&lt;br/&gt;
In CouchDB, when a database purge is done, we store an object in the file that lists the IDs (and revisions) that were purged. The header than has a field that points to this object.&lt;br/&gt;
This is however kept only for the last purge operation.&lt;br/&gt;
&lt;br/&gt;
When index updates are triggered, they check the last purge object, and then know they have to remove all key/values previously produced for those documents listed in the purge object.&lt;br/&gt;
&lt;br/&gt;
However, if the index missed the last 2 purges, it has no way to remove some no longer valid key/value pairs.&lt;br/&gt;
Database headers in CouchDB have a purge_seq field, incremented every time a purge is performed. Indexes (CouchDB) also store the last purge_seq they saw in a database. If they see that the difference between the current database purge_seq and the last purge_seq seen by the index is greater than 1, then the index is reset - recreated from scratch, because has said before, it has no way to know which documents were purged in previous purge operations.&lt;br/&gt;
&lt;br/&gt;
To me this seems like a change with a very big impact for a minor release such as 2.0.2. Not only there are these functional issues, it would also imply changing the index file format to keep track of purge_seqs for each active/passive vbucket.&lt;br/&gt;
&amp;quot;</comment>
                    <comment id="51768" author="dipti" created="Fri, 1 Mar 2013 12:27:07 -0600"  >Damien has created the design doc here : &lt;a href=&quot;https://github.com/couchbaselabs/cbpurge/blob/master/purge_2.0.2_design.md&quot;&gt;https://github.com/couchbaselabs/cbpurge/blob/master/purge_2.0.2_design.md&lt;/a&gt; </comment>
                    <comment id="58123" author="aaron" created="Mon, 13 May 2013 20:29:39 -0500"  >Since this is promoted to blocker I should probably detail exactly what that is. &lt;br/&gt;
&lt;br/&gt;
That document does not implement a &amp;quot;correct&amp;quot; solution, but a probabilistic one. If the system is slower than expected we can incorrectly remove unprocessed deletions.&lt;br/&gt;
&lt;br/&gt;
For views that&amp;#39;s not a big problem as it&amp;#39;s not difficult to make views able to detect that this has happened (if it does happen the index must be destroyed and regenerated to ensure correctness, but we *can* ensure correctness).&lt;br/&gt;
For XDCR we cannot ensure correctness (that is, we cannot guarantee eventual consistency), as we cannot detect that we have lost track of deletions. We can fix the problem if we notice it in the field (as detailed in the design doc), but since we can&amp;#39;t automatically detect it, it follows that our users won&amp;#39;t be able to either, and if the issue does occur it will likely manifest as subtle incorrect behavior, and largely go unnoticed.</comment>
                    <comment id="58128" author="dipti" created="Mon, 13 May 2013 20:48:05 -0500"  >We should have a threshold based approach. If items have been deleted more than 30 days for example, purge them. &lt;br/&gt;
Do we persist delete timestamps now? &lt;br/&gt;
</comment>
                    <comment id="58129" author="aaron" created="Mon, 13 May 2013 20:58:35 -0500"  >This is the threshold based approach. We will persist delete timestamps as part of implementing this.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="22519">MB-8261</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 4 Dec 2012 15:50:09 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>553</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-7902] [windows] Rebalance exited with reason {detected_nodes_change, {ns_node_disco_events,</title>
                <link>http://www.couchbase.com/issues/browse/MB-7902</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;br/&gt;
The below test is failing while doing rebalance:&lt;br/&gt;
./testrunner -i win-aws.ini  -t rebalancetests.IncrementalRebalanceInTests.test_load,replica=2,delete-ratio=0.6,expiry-ratio=0.2,do-stop=True&lt;br/&gt;
&lt;br/&gt;
Logs show below error message:&lt;br/&gt;
&lt;br/&gt;
&amp;lt;0.6654.65&amp;gt;:ns_orchestrator:handle_info:319]Rebalance exited with reason {detected_nodes_change,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{ns_node_disco_events,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[&amp;#39;&lt;a href=&apos;mailto:ns_1@10.130.71.207&apos;&gt;ns_1@10.130.71.207&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;&lt;a href=&apos;mailto:ns_1@10.131.33.89&apos;&gt;ns_1@10.131.33.89&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;&lt;a href=&apos;mailto:ns_1@10.131.35.139&apos;&gt;ns_1@10.131.35.139&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;&lt;a href=&apos;mailto:ns_1@10.142.174.97&apos;&gt;ns_1@10.142.174.97&lt;/a&gt;&amp;#39;],&lt;br/&gt;
&lt;br/&gt;
The run log of testrunner is attached. Will be attaching cbcollect_info shortly.&lt;br/&gt;
</description>
                <environment>build 2.0.1-179-rel</environment>
            <key id="23196">MB-7902</key>
            <summary>[windows] Rebalance exited with reason {detected_nodes_change, {ns_node_disco_events,</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="deepkaran.salooja">Deepkaran Salooja</reporter>
                        <labels>
                        <label>2.0.1-release-notes</label>
                        <label>windows</label>
                    </labels>
                <created>Wed, 13 Mar 2013 08:12:05 -0500</created>
                <updated>Tue, 14 May 2013 16:06:44 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>8</watches>
                                                    <comments>
                    <comment id="52665" author="deepkaran.salooja" created="Wed, 13 Mar 2013 08:47:43 -0500"  >collect info:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.142.174.97.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.142.174.97.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.33.89.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.33.89.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.35.139.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.35.139.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.71.207.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7902/e9125b6b/cbcollect_info_10.131.71.207.zip&lt;/a&gt;</comment>
                    <comment id="52819" author="thuan" created="Thu, 14 Mar 2013 13:08:53 -0500"  >I got the same rebalance failure in physical servers during rebalance out.  I will add collect info file of all nodes soon</comment>
                    <comment id="52843" author="thuan" created="Thu, 14 Mar 2013 15:30:09 -0500"  >collect info of all nodes running build 2.0.1-175  &lt;br/&gt;
rebalance failed during rebalance out node 63&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201303/4win-nodes-201_175-reb-out-node-change-20130314-111111.tgz&quot;&gt;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201303/4win-nodes-201_175-reb-out-node-change-20130314-111111.tgz&lt;/a&gt;</comment>
                    <comment id="52878" author="siri" created="Fri, 15 Mar 2013 03:31:38 -0500"  >Potentially the same issue as &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7658&quot; title=&quot;[Windows] severe timeouts in windows cluster with 2 buckets and 1 ddoc per bucket causes rebalance and other failures&quot;&gt;&lt;strike&gt;MB-7658&lt;/strike&gt;&lt;/a&gt;</comment>
                    <comment id="52946" author="siri" created="Sat, 16 Mar 2013 13:20:07 -0500"  >I too ran this many times but couldn&amp;#39;t reproduce. But the bug is real, I&amp;#39;ve seen it happen here and elsewhere.</comment>
                    <comment id="53003" author="ketaki" created="Mon, 18 Mar 2013 13:23:46 -0500"  >Does rebalance eventually succeed on this test?</comment>
                    <comment id="53004" author="siri" created="Mon, 18 Mar 2013 13:29:28 -0500"  >Yes - we can restart the rebalance and it will complete. It&amp;#39;s not reproducible by running the specific test, it&amp;#39;s bit random failure.</comment>
                    <comment id="53240" author="siri" created="Thu, 21 Mar 2013 08:50:54 -0500"  >This appears to be possibly a manifestation of &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7920&quot; title=&quot;[windows] Rebalancing out the last node causes the cluster to be reinitialized&quot;&gt;&lt;strike&gt;MB-7920&lt;/strike&gt;&lt;/a&gt;. I&amp;#39;ve verified that network connectivity is never lost, and the Erlang node connectivity is itself stable over long periods by themselves. Potentially, the trigger of cluster to disconnect is the bucket deletion.</comment>
                    <comment id="53335" author="siri" created="Fri, 22 Mar 2013 12:17:40 -0500"  >MB7920 does not reproduce despite many tests, so investigating this independently.</comment>
                    <comment id="54530" author="thuan" created="Mon, 8 Apr 2013 14:33:19 -0500"  >Hit this bug again in build 2.0.1-185.  Node down during rebalance due to net_tick_timeout.  &lt;br/&gt;
Environment:&lt;br/&gt;
Create a cluster with 3 nodes&lt;br/&gt;
10.2.1.61&lt;br/&gt;
10.2.1.62&lt;br/&gt;
10.2.1.63&lt;br/&gt;
Create 2 buckets: default (14GB) and sasl (10GB)&lt;br/&gt;
No view or xdcr created&lt;br/&gt;
Load 20+ million items to both bucket until resident ratio on both bucket around 90%&lt;br/&gt;
Access cluster in 3 hours with spec in this page &lt;a href=&quot;http://hub.internal.couchbase.com/confluence/pages/viewpage.action?pageId=6785119&quot;&gt;http://hub.internal.couchbase.com/confluence/pages/viewpage.action?pageId=6785119&lt;/a&gt;&lt;br/&gt;
Add node 10.2.1.64 to cluster and rebalance. Rebalance failed &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7995&quot; title=&quot;[system test] rebalance failed due to memcached on added node crashed&quot;&gt;&lt;strike&gt;MB-7995&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
Then rebalance again, rebalance hang &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7996&quot; title=&quot;[system test] rebalance hang when add a node to cluster&quot;&gt;&lt;strike&gt;MB-7996&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
Then rebalance again.  After failed several times with errors in bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7658&quot; title=&quot;[Windows] severe timeouts in windows cluster with 2 buckets and 1 ddoc per bucket causes rebalance and other failures&quot;&gt;&lt;strike&gt;MB-7658&lt;/strike&gt;&lt;/a&gt;, &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7902&quot; title=&quot;[windows] Rebalance exited with reason {detected_nodes_change, {ns_node_disco_events,&quot;&gt;MB-7902&lt;/a&gt;, rebalance success&lt;br/&gt;
Remove node 63.  After one rebalance failed (node change error), rebalance completed&lt;br/&gt;
Swap rebalance (add node 63 back and remove node 61), rebalance failed due to node 62 and 63 down&lt;br/&gt;
&lt;br/&gt;
Link to collect info files of all nodes  &lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201304/4phy-win-201_185-reb-failed_node-down-net_tick_timeout_20130408-125052.tgz&quot;&gt;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201304/4phy-win-201_185-reb-failed_node-down-net_tick_timeout_20130408-125052.tgz&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Link to erl dump &lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/erlang/windows/erl_node_63.DMP&quot;&gt;https://s3.amazonaws.com/packages.couchbase/erlang/windows/erl_node_63.DMP&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Link to erl dump zip file  &lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/erlang/windows/erl_node_63.DMP.zip&quot;&gt;https://s3.amazonaws.com/packages.couchbase/erlang/windows/erl_node_63.DMP.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="54540" author="thuan" created="Mon, 8 Apr 2013 16:19:38 -0500"  >Promote it to blocker since I see it often when testing in windows physical machines</comment>
                    <comment id="56386" author="siri" created="Fri, 26 Apr 2013 22:46:31 -0500"  >I&amp;#39;ve attached dist_util.beam that will retry on net_tick_timeout. Can you please replace C:\Program Files\Couchbase\Server\lib\kernel-2.14.5\ebin\dist_util.beam with the attached version, and rerun the test and see if it does anything to the issue.</comment>
                    <comment id="56453" author="maria" created="Mon, 29 Apr 2013 13:42:44 -0500"  >siri still debugging this issue. probl still reproducible.</comment>
                    <comment id="58276" author="ray" created="Tue, 14 May 2013 16:06:44 -0500"  >The 4 machines have been moved to another desk near alk.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="22224">MB-7658</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23245">MB-7920</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="22224">MB-7658</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23319">MB-7949</issuekey>
        </issuelink>
                    </outwardlinks>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="23112">MB-7891</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23311">MB-7946</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="17204" name="dist_util.beam" size="21484" author="siri" created="Fri, 26 Apr 2013 22:46:31 -0500" />
                    <attachment id="16937" name="nohup.out.multi-nodes-2.0.x-windows-64-rebalance-kv" size="1145385" author="deepkaran.salooja" created="Wed, 13 Mar 2013 08:12:05 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 14 Mar 2013 13:08:53 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9434</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8299] remote_cluster_info module should return remote memcached access info</title>
                <link>http://www.couchbase.com/issues/browse/MB-8299</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>In 2.1, XDCR will provide an option to replicate to remote memcached instead of CAPI. &lt;br/&gt;
&lt;br/&gt;
This requires XDCR core infrastructure to understand how to access memcached at remote cluster. &lt;br/&gt;
&lt;br/&gt;
For example, in order to replicate remote bucket &amp;quot;default&amp;quot;, vbucket 123, XDCR need to know &lt;br/&gt;
&lt;br/&gt;
1) node (ip address) for this vbucket at remote cluster; &lt;br/&gt;
2) memcached port of the node where the vbucket lives; &lt;br/&gt;
3) credentials to access the memcached at that node &lt;br/&gt;
&lt;br/&gt;
Module remote_cluster_info is a natural home for such information. &lt;br/&gt;
&lt;br/&gt;
Today 1) has been already encoded in the vbucketmap maintained by remote_cluster_info, but 2) and 3) are not available. This task will expand remote_cluster_info module to include 2) and 3). &lt;br/&gt;
&lt;br/&gt;
In particular, XDCR need an API to return 1), 2), 3) above, e.g., &lt;br/&gt;
&lt;br/&gt;
remote_cluster_info:fetch_remote_memcached_info(RemoteClusterId, Bucket, VBucket) &lt;br/&gt;
&lt;br/&gt;
returns &lt;br/&gt;
{&amp;quot;10.3.114.2&amp;quot;, 11998, &amp;quot;_admin&amp;quot;, &amp;quot;_password&amp;quot;} </description>
                <environment></environment>
            <key id="24310">MB-8299</key>
            <summary>remote_cluster_info module should return remote memcached access info</summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="22518">MB-7960</parent>
                        <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="Aliaksey Artamonau">Aliaksey Artamonau</assignee>
                                <reporter username="junyi">Junyi Xie</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Thu, 16 May 2013 16:10:42 -0500</created>
                <updated>Thu, 16 May 2013 16:10:42 -0500</updated>
                                    <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11268</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8213] Implement batch getMeta and setMeta/delMeta operations in ep_engine </title>
                <link>http://www.couchbase.com/issues/browse/MB-8213</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>In 2.1, XDCR will be able to replicate documents to remote memcached directly.  &lt;br/&gt;
&lt;br/&gt;
In order to allow batch replication, we need at least two new memcached operations, get_meta_batch, and update_meta_batch. &lt;br/&gt;
&lt;br/&gt;
1. get_meta_batch: by this new command ep_engine should receive a list of keys and return a list of metadata for these keys. &lt;br/&gt;
&lt;br/&gt;
2. update_meta_batch: this new command will take a list of (ops, key, metadata) as input and execute them in the same order as the keys ordered in the list.  The ops can be either &amp;quot;deleteWithMeta&amp;quot; or &amp;quot;setWithMeta&amp;quot;. &lt;br/&gt;
&lt;br/&gt;
For these two new operations, we need to design new protocol (request and response) for ep_engine.&lt;br/&gt;
&lt;br/&gt;
On the ns_server side, we also need to create memcached API for these two new operations. This will be tracked separately. &lt;br/&gt;
&lt;br/&gt;
The first step is to determine the protocol  so xdcr and ep_engine team can work in parallel.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="24108">MB-8213</key>
            <summary>Implement batch getMeta and setMeta/delMeta operations in ep_engine </summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="22518">MB-7960</parent>
                        <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="junyi">Junyi Xie</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 7 May 2013 19:50:50 -0500</created>
                <updated>Thu, 16 May 2013 16:19:04 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="57489" author="junyi" created="Tue, 7 May 2013 19:51:19 -0500"  >assign to Mike per discussion.</comment>
                    <comment id="58093" author="dipti" created="Mon, 13 May 2013 18:55:02 -0500"  >Moved &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8226&quot; title=&quot;Implement ns_server side memcached API for new get_meta_batch and update_meta_batch&quot;&gt;&lt;strike&gt;MB-8226&lt;/strike&gt;&lt;/a&gt; as a sub-task for this improvement&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 13 May 2013 18:55:02 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11058</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8300] Implement ns_server side memcached API for new get_meta_batch and update_meta_batch</title>
                <link>http://www.couchbase.com/issues/browse/MB-8300</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>In &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8213&quot; title=&quot;Implement batch getMeta and setMeta/delMeta operations in ep_engine &quot;&gt;MB-8213&lt;/a&gt;, ep_engine team will create two new batch operations, get_meta_batch and update_meta_batch, which will be built on new protocol. From ns_server side, we need to implement new memcached APIs correspondingly. </description>
                <environment></environment>
            <key id="24311">MB-8300</key>
            <summary>Implement ns_server side memcached API for new get_meta_batch and update_meta_batch</summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="22518">MB-7960</parent>
                        <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="junyi">Junyi Xie</assignee>
                                <reporter username="junyi">Junyi Xie</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Thu, 16 May 2013 16:13:31 -0500</created>
                <updated>Thu, 16 May 2013 16:16:42 -0500</updated>
                                    <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="58543" author="junyi" created="Thu, 16 May 2013 16:16:42 -0500"  >waiting for the new protocol design spec from ep_engine team.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11269</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8301] XDCR core infrastructure change to enable replicate to remote memcached</title>
                <link>http://www.couchbase.com/issues/browse/MB-8301</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Core XDCR code change to enable to replicate remote memached. </description>
                <environment></environment>
            <key id="24312">MB-8301</key>
            <summary>XDCR core infrastructure change to enable replicate to remote memcached</summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="22518">MB-7960</parent>
                        <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="junyi">Junyi Xie</assignee>
                                <reporter username="junyi">Junyi Xie</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Thu, 16 May 2013 16:20:59 -0500</created>
                <updated>Thu, 16 May 2013 16:24:57 -0500</updated>
                                    <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="58546" author="junyi" created="Thu, 16 May 2013 16:24:12 -0500"  >Prototype done, pass limited functional test. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Need other building blocks (subtask 1, 2, 3) to complete it.&lt;br/&gt;
&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11270</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8221] Updates to Upgrade Process for 2.0.2</title>
                <link>http://www.couchbase.com/issues/browse/MB-8221</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Review session on 2.0.2 upgrade process: see what overhaul required to existing chapter.</description>
                <environment></environment>
            <key id="24138">MB-8221</key>
            <summary>Updates to Upgrade Process for 2.0.2</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="kzeller">Karen Zeller</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                        <label>info-request</label>
                    </labels>
                <created>Wed, 8 May 2013 13:31:50 -0500</created>
                <updated>Thu, 16 May 2013 17:21:57 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>documentation</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="57725" author="kzeller" created="Thu, 9 May 2013 15:23:12 -0500"  >Consolidating &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8128&quot;&gt;http://www.couchbase.com/issues/browse/MB-8128&lt;/a&gt;</comment>
                    <comment id="57733" author="rmayuram" created="Thu, 9 May 2013 15:48:22 -0500"  >I see that the README file even in the latest build (793 in MAC at least) still has the old product version number.&lt;br/&gt;
(&amp;quot;Couchbase Server Community Edition 2.0.1&amp;quot;). Pls include this in your updates.</comment>
                    <comment id="57734" author="kzeller" created="Thu, 9 May 2013 15:51:43 -0500"  >Maria, can you get me this README to edit and return to you guys to include in the installer?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks!&lt;br/&gt;
&lt;br/&gt;
Assign back to me for larger updates.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Need to incorporate: &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7621&quot;&gt;http://www.couchbase.com/issues/browse/MB-7621&lt;/a&gt;</comment>
                    <comment id="58501" author="kzeller" created="Thu, 16 May 2013 13:00:26 -0500"  >Questions and todos from review with Thuan:&lt;br/&gt;
&lt;br/&gt;
We have some questions we need PM confirmation on:&lt;br/&gt;
&lt;br/&gt;
Right now we say: Ubuntu Linux 13.04 may work, but is unsupported. Do we actually officially support it? If so is it developer only?&lt;br/&gt;
Do we officially support Centos 6?&lt;br/&gt;
For pre 2.0, we said the minimum storage was 256MB, Tony is suggesting 1GB for 2.0+&lt;br/&gt;
We need confirmation if Mac MUST be in the Applications folder? &lt;br/&gt;
&lt;br/&gt;
Tony- TODO: sPlease end me the updated Ubunto post-install messages.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58558" author="kzeller" created="Thu, 16 May 2013 16:56:56 -0500"  >Send to Anil and Dipti:&lt;br/&gt;
&lt;br/&gt;
Hi,&lt;br/&gt;
&lt;br/&gt;
I am working with Tony on overhauling the upgrade section. We need this information from PM:&lt;br/&gt;
&lt;br/&gt;
-What major and minor version upgrades are supported?&lt;br/&gt;
&lt;br/&gt;
-Can you go from 1.8.0 to 2.0? from 1.8.0 to 2.0.1? from 1.8.0 to 2.0.2?&lt;br/&gt;
&lt;br/&gt;
-What is our official support for upgrading from pre-1.8.0 to 2.0.x?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Karen&lt;br/&gt;
</comment>
                    <comment id="58564" author="kzeller" created="Thu, 16 May 2013 17:21:57 -0500"  >From Anil:&lt;br/&gt;
&lt;br/&gt;
Can you refer to &amp;#39;Upgrade Matrix 2.0.2&amp;#39; here &lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/PM/PLAN+Couchbase+Server+2.0.2&quot;&gt;http://hub.internal.couchbase.com/confluence/display/PM/PLAN+Couchbase+Server+2.0.2&lt;/a&gt;.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 9 May 2013 15:48:22 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>48</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7250] Mac OS X App should be signed by a valid developer key</title>
                <link>http://www.couchbase.com/issues/browse/MB-7250</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Currently launching the Mac OS X version tells you it&amp;#39;s from an unidentified developer. You have to right click to launch the app. We can fix this.</description>
                <environment></environment>
            <key id="20910">MB-7250</key>
            <summary>Mac OS X App should be signed by a valid developer key</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="plabee">Phil Labee</assignee>
                                <reporter username="jchrisa">J Chris Anderson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Nov 2012 08:57:59 -0600</created>
                <updated>Thu, 16 May 2013 18:12:06 -0500</updated>
                                    <version>2.0-beta-2</version>
                <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>build</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="44669" author="farshid" created="Thu, 22 Nov 2012 09:10:32 -0600"  >Chris,&lt;br/&gt;
&lt;br/&gt;
do you know what needs to change on the build machine to embed our developer key ?</comment>
                    <comment id="44672" author="jchrisa" created="Thu, 22 Nov 2012 09:34:42 -0600"  >I have no idea. I could start researching how to get a key from Apple but maybe after the weekend. :)</comment>
                    <comment id="44674" author="farshid" created="Thu, 22 Nov 2012 09:41:04 -0600"  >we can discuss this next week : ) . Thanks for reporting the issue Chris.&lt;br/&gt;
</comment>
                    <comment id="44749" author="steve" created="Mon, 26 Nov 2012 13:25:54 -0600"  >we&amp;#39;ll want separate, related bugs (tasks) for other platforms, too (windows, linux)</comment>
                    <comment id="45101" author="jens" created="Fri, 30 Nov 2012 15:21:14 -0600"  >We need to get a developer ID from Apple; this will give us some kind of cert, and a local private key for signing.&lt;br/&gt;
Then we need to figure out how to get that key and cert onto the build machine, in the Keychain of the account that runs the buildbot.</comment>
                    <comment id="46894" author="farshid" created="Wed, 2 Jan 2013 13:33:16 -0600"  >the instructions to build is available here :&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/couchdbx-app&quot;&gt;https://github.com/couchbase/couchdbx-app&lt;/a&gt;&lt;br/&gt;
we need to add codesign as a build step there</comment>
                    <comment id="48292" author="farshid" created="Tue, 22 Jan 2013 14:29:26 -0600"  >Phil,&lt;br/&gt;
&lt;br/&gt;
do you have any update on this ticket. ?&lt;br/&gt;
</comment>
                    <comment id="48334" author="plabee" created="Tue, 22 Jan 2013 20:31:30 -0600"  >I have signing cert installed on 10.17.21.150 (MacBuild).&lt;br/&gt;
&lt;br/&gt;
Change to Makefile: &lt;a href=&quot;http://review.couchbase.org/#/c/24149/&quot;&gt;http://review.couchbase.org/#/c/24149/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="48437" author="plabee" created="Wed, 23 Jan 2013 19:20:51 -0600"  >need to change master.cfg and pass env.var. to package-mac</comment>
                    <comment id="48931" author="plabee" created="Tue, 29 Jan 2013 12:54:52 -0600"  >disregard previous.  Have added signing to Xcode projects.&lt;br/&gt;
&lt;br/&gt;
see &lt;a href=&quot;http://review.couchbase.org/#/c/24273/&quot;&gt;http://review.couchbase.org/#/c/24273/&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="49171" author="plabee" created="Thu, 31 Jan 2013 09:39:24 -0600"  >To test this go to System Preferences / Security &amp;amp; Privacy, and on the General tab set &amp;quot;Allow applications downloaded from&amp;quot; to &amp;quot;Mac App Store and Identified Developers&amp;quot;.  Set this before running Couchbase Server.app the first time.  Once an app has been allowed to run this setting is no longer checked for that app, and there doesn&amp;#39;t seem to be a way to reset that.&lt;br/&gt;
&lt;br/&gt;
What is odd is that on my system, I allowed one unsigned build to run before restricting the app run setting, and then no other unsigned builds would be checked (and would all be allowed to run).  Either there is a flaw in my testing methodology, or a serious weakness in this security setting:  Just because one app called Couchbase Server was allowed to run should confer this privilege to other apps with the same name.  A common malware tactic is to modify a trusted app and distribute it as update, and if the security setting keys off the app name it will do nothing to prevent that.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m approving this change without having satisfactorily tested it.</comment>
                    <comment id="49185" author="jens" created="Thu, 31 Jan 2013 11:42:59 -0600"  >Strictly speaking it&amp;#39;s not the app name but its bundle ID, i.e. &amp;quot;com.couchbase.CouchbaseServer&amp;quot; or whatever we use.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; I allowed one unsigned build to run before restricting the app run setting, and then no other unsigned builds would be checked&lt;br/&gt;
&lt;br/&gt;
By OK&amp;#39;ing an unsigned app you&amp;#39;re basically agreeing to toss security out the window, at least for that app. This feature is really just a workaround for older apps. By OK&amp;#39;ing the app you&amp;#39;re not really saying &amp;quot;yes, I trust this build of this app&amp;quot; so much as &amp;quot;yes, I agree to run this app even though I don&amp;#39;t trust it&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; A common malware tactic is to modify a trusted app and distribute it as update&lt;br/&gt;
&lt;br/&gt;
If it&amp;#39;s a trusted app it&amp;#39;s hopefully been signed, so the user wouldn&amp;#39;t have had to waive signature checking for it.</comment>
                    <comment id="49188" author="jens" created="Thu, 31 Jan 2013 11:45:30 -0600"  >Further thought: It might be a good idea to change the bundle ID in the new signed version of the app, because users of 2.0 with strict security settings have presumably already bypassed security on the unsigned version.</comment>
                    <comment id="49654" author="jin" created="Mon, 4 Feb 2013 15:16:48 -0600"  >Per bug scrubs, keep this a blocker since customers ran into this issues (and originally reported it).</comment>
                    <comment id="49910" author="plabee" created="Wed, 6 Feb 2013 18:19:01 -0600"  >revert the change so that builds can complete.  App is currently not being signed.</comment>
                    <comment id="50034" author="farshid" created="Mon, 11 Feb 2013 12:25:33 -0600"  >i suggest for 2.0.1 release we do this build manually.</comment>
                    <comment id="50077" author="jin" created="Mon, 11 Feb 2013 14:35:14 -0600"  >As one-off fix, add the signature manually and automate the required steps later in 2.0.2 or beyond. </comment>
                    <comment id="50328" author="jin" created="Wed, 13 Feb 2013 16:09:34 -0600"  >Please move this bug to 2.0.2 after populating the required signature manually. I am lowing the severity to critical for it isn&amp;#39;t no longer a blocking issue.</comment>
                    <comment id="50608" author="farshid" created="Fri, 15 Feb 2013 17:18:21 -0600"  >Phil to upload the binary to latestbuilds , ( 2.0.1-101-rel.zip )</comment>
                    <comment id="50615" author="plabee" created="Fri, 15 Feb 2013 18:03:53 -0600"  >Please verify:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="50616" author="plabee" created="Fri, 15 Feb 2013 18:06:47 -0600"  >uploaded:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I can rename it when uploading for release.</comment>
                    <comment id="50649" author="farshid" created="Sun, 17 Feb 2013 23:17:34 -0600"  >i still do get the error that it is from an identified developer.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="50679" author="plabee" created="Mon, 18 Feb 2013 11:19:12 -0600"  >operator error.&lt;br/&gt;
&lt;br/&gt;
I rebuilt the app, this time verifying that the codesign step occurred.&lt;br/&gt;
&lt;br/&gt;
Uploaded now file to same location:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-160-rel-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="51482" author="plabee" created="Tue, 26 Feb 2013 18:54:25 -0600"  >still need to perform manual workaround</comment>
                    <comment id="51942" author="plabee" created="Mon, 4 Mar 2013 15:06:12 -0600"  >release candidate has been uploaded to:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="54166" author="wayne" created="Wed, 3 Apr 2013 13:55:11 -0500"  >Phil, looks like version 172/185 is still getting the error. My Mac version is 10.8.2</comment>
                    <comment id="54169" author="thuan" created="Wed, 3 Apr 2013 15:07:56 -0500"  >Install couchbase server (build 2.0.1-172 community version) in my mac osx 10.7.4  , I only see the warning message</comment>
                    <comment id="54204" author="wayne" created="Wed, 3 Apr 2013 19:58:07 -0500"  >Latest version (04.03.13) : &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.zip&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.zip&lt;/a&gt;</comment>
                    <comment id="54207" author="maria" created="Wed, 3 Apr 2013 20:22:36 -0500"  >works in 10.7 but not in 10.8.&lt;br/&gt;
if we can get the fix for 10.8 by tomorrow, end of day, QE is willing to test for release on tuesday, april 9.  </comment>
                    <comment id="54222" author="plabee" created="Thu, 4 Apr 2013 11:34:32 -0500"  >The mac builds are not being automatically signed, so build 185 is not signed.  The original 172 is also not signed.  &lt;br/&gt;
&lt;br/&gt;
Did you try&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-172-signed.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
to see if that was signed correctly?&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="54236" author="wayne" created="Thu, 4 Apr 2013 14:02:07 -0500"  >Phil,&lt;br/&gt;
Yes, we did try the 172-signed version.  It works on 10.7 but not 10.8.  Can you take a look?</comment>
                    <comment id="54243" author="plabee" created="Thu, 4 Apr 2013 16:09:00 -0500"  >I rebuilt 2.0.1-185 and uploaded a signed app to:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.SIGNED.zip&quot;&gt;http://packages.northscale.com/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.SIGNED.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Test on a machine that has never had Couchbase Server installed, and has the security setting to only allow Appstore or signed apps.&lt;br/&gt;
&lt;br/&gt;
If you get the  &amp;quot;Couchbase Server.app was downloaded from the internet&amp;quot;  warning and you can click OK and install it, then this bug is fixed.  The quarantining of files downloaded by a browser is part of the operating system and is not controlled by signing.</comment>
                    <comment id="54246" author="wayne" created="Thu, 4 Apr 2013 18:08:52 -0500"  >Tried the 185-signed version (see attached screen shot).  Same error message.</comment>
                    <comment id="54247" author="plabee" created="Thu, 4 Apr 2013 19:20:44 -0500"  >This is not an error message related to this bug.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58207" author="maria" created="Tue, 14 May 2013 13:18:30 -0500"  >per bug triage, we need to have mac 10.8 osx working since it is a supported platform (published in the website).</comment>
                </comments>
                    <attachments>
                    <attachment id="16763" name="Screen Shot 2013-02-17 at 9.17.16 PM.png" size="40212" author="farshid" created="Sun, 17 Feb 2013 23:17:52 -0600" />
                    <attachment id="17078" name="Screen Shot 2013-04-04 at 3.57.41 PM.png" size="52242" author="wayne" created="Thu, 4 Apr 2013 18:08:52 -0500" />
                    <attachment id="17070" name="ss_2013-04-03_at_1.06.39 PM.png" size="31155" author="thuan" created="Wed, 3 Apr 2013 15:07:56 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 22 Nov 2012 09:10:32 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>91</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>15</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10050" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Sprint Priority</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5.0</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7852] [2.0.2 RN + Doc] Complete productization of Replica Read API</title>
                <link>http://www.couchbase.com/issues/browse/MB-7852</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Replica Read API implementation is ready but testing and related documentation have not completed up to the product-feature ready state.   </description>
                <environment></environment>
            <key id="22975">MB-7852</key>
            <summary>[2.0.2 RN + Doc] Complete productization of Replica Read API</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="kzeller">Karen Zeller</assignee>
                                <reporter username="jin">Jin Lim</reporter>
                        <labels>
                        <label>2.0.2-release-notes</label>
                    </labels>
                <created>Fri, 1 Mar 2013 17:54:33 -0600</created>
                <updated>Thu, 16 May 2013 18:10:02 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>documentation</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="53290" author="maria" created="Thu, 21 Mar 2013 16:07:35 -0500"  >JIn LIm to confirm with PM that this feature is needed for 2.0.2 release.</comment>
                    <comment id="53292" author="maria" created="Thu, 21 Mar 2013 16:11:43 -0500"  >anil to update business justification for this feature.</comment>
                    <comment id="53425" author="maria" created="Mon, 25 Mar 2013 13:46:25 -0500"  >ready for qe testing. now in 2.0.2 build.</comment>
                    <comment id="53568" author="maria" created="Wed, 27 Mar 2013 01:35:36 -0500"  >Iryna,&lt;br/&gt;
&lt;br/&gt;
pls update with your test progress.&lt;br/&gt;
Thanks.</comment>
                    <comment id="53588" author="Iryna" created="Wed, 27 Mar 2013 11:48:27 -0500"  >CBQE-1107 opened to track progress</comment>
                    <comment id="54341" author="maria" created="Fri, 5 Apr 2013 12:41:43 -0500"  >Iryna, pls provide test progress to this feature. thanks.</comment>
                    <comment id="55128" author="Iryna" created="Tue, 16 Apr 2013 04:09:22 -0500"  >tested cases P0 for centos 64 bit and 32 bit, windows 64 bit, ubuntu 64 and 32 bit. tests passed</comment>
                    <comment id="55453" author="maria" created="Thu, 18 Apr 2013 00:40:01 -0500"  >testing done. &lt;br/&gt;
iryna --- pls do another round of testing when we get the RC build, end of April. Thanks.</comment>
                    <comment id="56406" author="Iryna" created="Mon, 29 Apr 2013 00:38:34 -0500"  >build 2.0.2-772-rel tested</comment>
                    <comment id="57583" author="anil" created="Wed, 8 May 2013 13:16:06 -0500"  >Please follow up with Jin and Matt for server and client documentation.</comment>
                    <comment id="57607" author="jin" created="Wed, 8 May 2013 14:09:06 -0500"  >Please review following information&lt;br/&gt;
============================&lt;br/&gt;
&lt;br/&gt;
Replica Read&lt;br/&gt;
Binary opcode: CMD_GET_REPLICA - 0x83&lt;br/&gt;
&lt;br/&gt;
Description: A new ep_engine specific binary retrieval command that retrieves data correspond to a given key. The command behaves exactly like the existing binary get command, except it returns data for a vbucket that is in replica state (vs active state in case of the normal get state)&lt;br/&gt;
&lt;br/&gt;
Request &amp;amp; Response:&lt;br/&gt;
* Both Response and Request header structures for this command is identical to tho ones of the regular get.&lt;br/&gt;
* Request example: Replica Get(&amp;quot;Hello&amp;quot;) &lt;br/&gt;
&amp;nbsp;&amp;nbsp;Field  (offset) (value)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Magic  (0)    : 0x80&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opcode   (1)    : 0x83&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key length   (2,3)  : 0x0005&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extra length (4)    : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Data type (5)    : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;VBucket  (6,7)  : 0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Total body   (8-11) : 0x00000005&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opaque  (12-15): 0x00000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;CAS  (16-23): 0x0000000000000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extras  : None&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key  (24-29): The textual string: &amp;quot;Hello&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Value   : None&lt;br/&gt;
&lt;br/&gt;
* Response example: Replica Get(&amp;quot;Hello&amp;quot;) response ex.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Field  (offset) (value)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Magic  (0) : 0x81&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opcode   (1) : 0x83&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key length   (2,3)  : 0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extra length (4) : 0x04&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Data type (5)  : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Status (6,7) :0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Total body   (8-11) : 0x00000009&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opaque  (12-15): 0x00000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;CAS  (16-23): 0x0000000000000001&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key  (24-29): The textual string: &amp;quot;Hello&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Value   : The textual string: &amp;quot;World&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Response Status:&lt;br/&gt;
* ENGINE_NOT_MY_VBUCKET = 0x0c&lt;br/&gt;
&amp;nbsp;&amp;nbsp;cannot find vbucket with key or&lt;br/&gt;
&amp;nbsp;&amp;nbsp;vbucket is not in replica state&lt;br/&gt;
&lt;br/&gt;
* ENGINE_EWOULDBLOCK = 0x07&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;EP Engine would block - vbucket is in pending operation&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;Unit Tests:&lt;br/&gt;
* test_get_replica - returns data for a vbucket that is in replica state&lt;br/&gt;
* test_get_replica_active_state - returns error for a vbucket that is in active state   (ENGINE_NOT_MY_VBUCKET)&lt;br/&gt;
* test_get_replica_pending_state - returns error for a vbucket that that is in pending state (ENGINE_EWOULDBLOCK)&lt;br/&gt;
* test_get_replica_dead_state - returns error for a vbucket that is in dead state (ENGINE_NOT_MY_VBUCKET)</comment>
                    <comment id="58282" author="kzeller" created="Tue, 14 May 2013 16:16:22 -0500"  >Sent to support:&lt;br/&gt;
&lt;br/&gt;
Hi,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m tasked with documenting the newly &amp;quot;productized&amp;quot; replica read API. The current and only information to document is below. I am meeting with Jin Thursday this week so I can get additional information that people need to know about this.&lt;br/&gt;
&lt;br/&gt;
Please let me know if there are specific things a developer wants to know that is not already provided by him. I will get it from him.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks&lt;br/&gt;
&lt;br/&gt;
Karen</comment>
                    <comment id="58299" author="kzeller" created="Tue, 14 May 2013 18:25:12 -0500"  >Questions from Tim:&lt;br/&gt;
&lt;br/&gt;
Karen,&lt;br/&gt;
&lt;br/&gt;
One thing to document explicitly, although I assume it is the only&lt;br/&gt;
logical way for this to be implemented: a replica read for an item&lt;br/&gt;
that is not resident in the caching layer will cause it to be fetched&lt;br/&gt;
from disk and its value cached. So the resident % for replica vbuckets&lt;br/&gt;
can have a significant impact on replica read performance.&lt;br/&gt;
&lt;br/&gt;
Question for Jin: &lt;br/&gt;
is there a stat to track cache miss ratio for&lt;br/&gt;
replica reads?&lt;br/&gt;
&lt;br/&gt;
Answer from Jin: ep_bg_fetch is the closest thing, which tells you the total number of background fetches. The one thing you can check is the change pre-replica-reads compared to replica-read scenario for the same data set.&lt;br/&gt;
No distinction in underlying ep engine whether it is fetching active or replica.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;bg_fetch for replica reads vs. active reads, or are&lt;br/&gt;
those combined in a single stat? &lt;br/&gt;
&lt;br/&gt;
Answer: see above. a single stat for both active and replica reads.&lt;br/&gt;
&lt;br/&gt;
Any other stats that are exposed to&lt;br/&gt;
understand performance of replica reads?&lt;br/&gt;
&lt;br/&gt;
Answer: No &lt;br/&gt;
&lt;br/&gt;
I think the most important information for developers depends on the&lt;br/&gt;
client SDK, which I guess Matt will have to answer. For example, if&lt;br/&gt;
the bucket is configured with more than one replica copy, which&lt;br/&gt;
replica server will be queried?&lt;br/&gt;
&lt;br/&gt;
Answer: All true&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;If the first attempt at a replica read&lt;br/&gt;
fails, will it try a 2nd (and 3rd) before returning an error? How can&lt;br/&gt;
that behavior be configured?&lt;br/&gt;
&lt;br/&gt;
Answer: All depends on client.....&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58309" author="kzeller" created="Tue, 14 May 2013 19:40:42 -0500"  >From Frank:&lt;br/&gt;
&lt;br/&gt;
I think key for developers will be to talk about the potential staleness of the data and be explicit when to use it (active node is unreachable and your app is okay with stale data [maybe mentioning observe for replication to counter is a consideration, though performance impact I believe is quite meaningful]) and when not (to try and spread read load, as you often do with other databases).&lt;br/&gt;
&lt;br/&gt;
Input from Jin: The best use case for replica read from server perspective is when, during the 30 seconds of...&lt;br/&gt;
&lt;br/&gt;
takes 30 seconds for server to detect a node is unavailable and initiate auto-failover, if avaiable. During that time, clients may experience get fails, in which case, clients attempt replica. E.g. if 5 get attempts fail, try the replica read....  &lt;br/&gt;
&lt;br/&gt;
imagine mutation has not yet replicated to other node and you do a replica node. You may get the data that last replicated to that node, the current set on the active node. May not the version that was on the active node.&lt;br/&gt;
&lt;br/&gt;
should recommend to user that they can use the CAS operation to determine integrity of replicated data. Basically do a  set with CAS  and compare cas number from active node with your replica read CAS......Basically for each set, keep the cas and compare it with CAS from replica read.....&lt;br/&gt;
&lt;br/&gt;
Still in case of multiple concurrent sets and gets from multiple clients, there will always be some risk that data is &amp;quot;stale&amp;quot;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58364" author="kzeller" created="Wed, 15 May 2013 12:04:56 -0500"  >From Perry:&lt;br/&gt;
&lt;br/&gt;
Agree that the most critical information will be around how, when and when not to use this feature. &lt;br/&gt;
&lt;br/&gt;
-When: you need data and multiple gets continuously fail, then attempt this scenario. If you have SLA by certain time.&lt;br/&gt;
-When not: if you cannot afford to return stale data, do not use, or definitely use CAS to mitigate staleness. If you don&amp;#39;t care about availability of data, e.g. user profile.&lt;br/&gt;
-how: see binary....&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;We will also have to bring in both how this is different from a failover (which turns a replica vbucket into an active one)&lt;br/&gt;
-Failover: application will continue doing a get because the replicated data becomes available and client will still get it. Functioning nodes with replicated data can still server it. Clients will also automatically know to go to the healthy nodes too.&lt;br/&gt;
&lt;br/&gt;
-Replica read really for scenario that applications cannot function without 30 seconds of downtime and must get data within that timeframe.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;and what happens to this functionality after a failover happens.&lt;br/&gt;
&lt;br/&gt;
-if you attempt a replica read on a node that is promoted to &amp;#39;active&amp;#39; server will send a failure message (because the replica no longer a replica): ENGINE_NOT_MY_VBUCKET.......up to SDKs on how they handle this error.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Point on SDKs: how they handle errors if replica no longer replica and if they reroute request......Up to SDKs&lt;br/&gt;
</comment>
                    <comment id="58574" author="kzeller" created="Thu, 16 May 2013 18:07:39 -0500"  >Send this over a &lt;br/&gt;
&lt;br/&gt;
Request &amp;amp; Response:&lt;br/&gt;
* Both Response and Request header structures for this command is identical to tho ones of the regular get.&lt;br/&gt;
* Request example: Replica Get(&amp;quot;Hello&amp;quot;) &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Field (offset) (value)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Magic (0) : 0x80&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opcode (1) : 0x83&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key length (2,3) : 0x0005&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extra length (4) : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Data type (5) : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;VBucket (6,7) : 0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Total body (8-11) : 0x00000005&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opaque (12-15): 0x00000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;CAS (16-23): 0x0000000000000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extras : None&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key (24-29): The textual string: &amp;quot;Hello&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Value : None&lt;br/&gt;
&lt;br/&gt;
Everything in the request is same as a binary protocol get request except the Opcode which must 0x83....&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
* Response example: Replica Get(&amp;quot;Hello&amp;quot;) response ex.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Field (offset) (value)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Magic (0) : 0x81&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opcode (1) : 0x83&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key length (2,3) : 0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Extra length (4) : 0x04&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Data type (5) : 0x00&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Status (6,7) :0x0000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Total body (8-11) : 0x00000009&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Opaque (12-15): 0x00000000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;CAS (16-23): 0x0000000000000001&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Key (24-29): The textual string: &amp;quot;Hello&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;Value : The textual string: &amp;quot;World&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Get the same type of return value as you have with GET(). no flag, etc. indicate this is replica read get&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Response Status:&lt;br/&gt;
* ENGINE_NOT_MY_VBUCKET = 0x0c&lt;br/&gt;
&amp;nbsp;&amp;nbsp;cannot find vbucket with key or&lt;br/&gt;
&amp;nbsp;&amp;nbsp;vbucket is not in replica state&lt;br/&gt;
&lt;br/&gt;
occurs if replica node elevated to active.....&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
* ENGINE_EWOULDBLOCK = 0x07&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;EP Engine would block - vbucket is in pending operation&lt;br/&gt;
&lt;br/&gt;
can happen if node undergoing rebalance.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;Unit Tests:&lt;br/&gt;
&lt;br/&gt;
(internal: informational for support)&lt;br/&gt;
&lt;br/&gt;
* test_get_replica - returns data for a vbucket that is in replica state&lt;br/&gt;
* test_get_replica_active_state - returns error for a vbucket that is in active state (ENGINE_NOT_MY_VBUCKET)&lt;br/&gt;
* test_get_replica_pending_state - returns error for a vbucket that that is in pending state (ENGINE_EWOULDBLOCK)&lt;br/&gt;
* test_get_replica_dead_state - returns error for a vbucket that is in dead state (ENGINE_NOT_MY_VBUCKET)</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 21 Mar 2013 16:07:35 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>47</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7960] Replace XDCR CAPI protocol on the destination with memcached protocol</title>
                <link>http://www.couchbase.com/issues/browse/MB-7960</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="22518">MB-7960</key>
            <summary>Replace XDCR CAPI protocol on the destination with memcached protocol</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="junyi">Junyi Xie</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 5 Feb 2013 03:15:11 -0600</created>
                <updated>Thu, 16 May 2013 16:22:22 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                                                  <comments>
                    <comment id="54920" author="jin" created="Thu, 11 Apr 2013 17:27:30 -0500"  >Prototype in Erlang is under test.</comment>
                    <comment id="54929" author="dipti" created="Thu, 11 Apr 2013 19:03:13 -0500"  >Great ! &lt;br/&gt;
</comment>
                    <comment id="57490" author="junyi" created="Tue, 7 May 2013 19:56:46 -0500"  >subtask&lt;br/&gt;
&lt;br/&gt;
1) implement batch getMeta and setMeta in ep_engine: &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8213&quot; title=&quot;Implement batch getMeta and setMeta/delMeta operations in ep_engine &quot;&gt;MB-8213&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
owner: Mike&lt;br/&gt;
&lt;br/&gt;
2) expand remote_cluster_info: &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8299&quot; title=&quot;remote_cluster_info module should return remote memcached access info&quot;&gt;MB-8299&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
owner: Aliaskey A.&lt;br/&gt;
&lt;br/&gt;
3) ns_server new memcahced API for batch getMeta and setMeta:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8300&quot; title=&quot;Implement ns_server side memcached API for new get_meta_batch and update_meta_batch&quot;&gt;MB-8300&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
owner: Junyi&lt;br/&gt;
&lt;br/&gt;
0) core XDCR code change&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8301&quot; title=&quot;XDCR core infrastructure change to enable replicate to remote memcached&quot;&gt;MB-8301&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
owner: Junyi&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
            <subtask id="24108">MB-8213</subtask>
            <subtask id="24310">MB-8299</subtask>
            <subtask id="24311">MB-8300</subtask>
            <subtask id="24312">MB-8301</subtask>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 11 Apr 2013 17:27:30 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>74</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8259] Disk not flush on xdcr dest node</title>
                <link>http://www.couchbase.com/issues/browse/MB-8259</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>On the ec2 cluster I used for cbrecovery, the disk write queue didn&amp;#39;t flush for a very long time. (this symptom was observed twice)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;It&amp;#39;s an xdcr dest cluster, no other ops rather than xdcr incoming traffic. &lt;br/&gt;
&lt;br/&gt;
Fired as blocker, since it blocks the cbrecovery testing. The clusters are left intact as they are for developer to diagnose, please email back to me when the problem got resolved then I could continue the test. Thanks!&lt;br/&gt;
&lt;br/&gt;
Ronnie&lt;br/&gt;
&lt;br/&gt;
Destination:&lt;br/&gt;
&lt;a href=&quot;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091&quot;&gt;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
And the source:&lt;br/&gt;
&lt;a href=&quot;http://ec2-23-21-15-103.compute-1.amazonaws.com:8091&quot;&gt;http://ec2-23-21-15-103.compute-1.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
User: Administrator&lt;br/&gt;
Passwd: password&lt;br/&gt;
&lt;br/&gt;
SSH:&lt;br/&gt;
user: root&lt;br/&gt;
passwd: couchbase&lt;br/&gt;
&lt;br/&gt;
Now attach the original email thread with diagnosis from Jin and Junyi:&lt;br/&gt;
&lt;br/&gt;
This should be a bug. There are a lot of crash in ns_server/baby_sitter and couchdb/writer process. Couchdb is unable to spawn writer process for some reasons. &lt;br/&gt;
&lt;br/&gt;
I am not 100% sure which caused which but It should be unrelated to XDCR. &lt;br/&gt;
&lt;br/&gt;
Please file a 2.0.2 bug and assign to Filipe to take first look.  Thanks.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Junyi&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
On May 13, 2013, at 10:56 AM, Jin Lim wrote:&lt;br/&gt;
&lt;br/&gt;
Logs from the ec2-184-169-190-197.us-west-1.compute.amazonaws.com. I see following error. After the error I see couch_db/updater kept crashing. I will wait until Junyi&amp;#39;s quick looking at it from the xdcr side then figure out what is next.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Jin&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
[ns_server:info,2013-05-10T18:00:22.665,&lt;a href=&apos;mailto:ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&apos;&gt;ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&lt;/a&gt;:ns_config_log&amp;lt;0.562.0&amp;gt;:ns_config_log:handle_info:57]config change: rest_creds -&amp;gt; ********&lt;br/&gt;
[user:info,2013-05-10T18:00:22.718,&lt;a href=&apos;mailto:ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&apos;&gt;ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&lt;/a&gt;:&amp;lt;0.570.0&amp;gt;:ns_log:crash_consumption_loop:64]Port server moxi on node &amp;#39;&lt;a href=&apos;mailto:babysitter_of_ns_1@127.0.0.1&apos;&gt;babysitter_of_ns_1@127.0.0.1&lt;/a&gt;&amp;#39; exited with status 0. Restarting. Messages: WARNING: curl error: transfer closed with outstanding read data remaining from: &lt;a href=&quot;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&quot;&gt;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&lt;/a&gt;&lt;br/&gt;
WARNING: curl error: couldn&amp;#39;t connect to host from: &lt;a href=&quot;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&quot;&gt;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&lt;/a&gt;&lt;br/&gt;
ERROR: could not contact REST server(s): &lt;a href=&quot;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&quot;&gt;http://127.0.0.1:8091/pools/default/saslBucketsStreaming&lt;/a&gt;&lt;br/&gt;
EOL on stdin.  Exiting&lt;br/&gt;
[user:info,2013-05-10T18:00:32.169,&lt;a href=&apos;mailto:ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&apos;&gt;ns_1@ec2-184-169-190-197.us-west-1.compute.amazonaws.com&lt;/a&gt;:&amp;lt;0.570.0&amp;gt;:ns_log:crash_consumption_loop:64]Port server moxi on node &amp;#39;&lt;a href=&apos;mailto:babysitter_of_ns_1@127.0.0.1&apos;&gt;babysitter_of_ns_1@127.0.0.1&lt;/a&gt;&amp;#39; exited with status 0. Restarting. Messages: 2013-05-10 18:00:22: (cproxy_config.c.317) env: MOXI_SASL_PLAIN_USR (13)&lt;br/&gt;
2013-05-10 18:00:22: (cproxy_config.c.326) env: MOXI_SASL_PLAIN_PWD (8)&lt;br/&gt;
&lt;br/&gt;
On May 13, 2013, at 10:41 AM, Ronnie Sun wrote:&lt;br/&gt;
&lt;br/&gt;
Hi Jin, Junyi&lt;br/&gt;
&lt;br/&gt;
On the ec2 cluster I used for cbrecovery, the disk write queue didn&amp;#39;t flush for a very long time. (this symptom was observed twice)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;It&amp;#39;s an xdcr dest cluster, no other ops rather than xdcr incoming traffic. &lt;br/&gt;
&lt;br/&gt;
Everything looks normal, not sure if it&amp;#39;s related to the recent reb regression.  Would you please take a look at it, thanks!&lt;br/&gt;
&lt;br/&gt;
Ronnie&lt;br/&gt;
&lt;br/&gt;
Destination:&lt;br/&gt;
&lt;a href=&quot;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091&quot;&gt;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
And the source:&lt;br/&gt;
&lt;a href=&quot;http://ec2-23-21-15-103.compute-1.amazonaws.com:8091&quot;&gt;http://ec2-23-21-15-103.compute-1.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
User: Administrator&lt;br/&gt;
Passwd: password&lt;br/&gt;
&lt;br/&gt;
SSH:&lt;br/&gt;
user: root&lt;br/&gt;
passwd: couchbase</description>
                <environment>linux</environment>
            <key id="24228">MB-8259</key>
            <summary>Disk not flush on xdcr dest node</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="jin">Jin Lim</assignee>
                                <reporter username="ronnie">Ronnie Sun</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 May 2013 18:55:06 -0500</created>
                <updated>Fri, 17 May 2013 13:39:20 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>7</watches>
                                                    <comments>
                    <comment id="58194" author="ronnie" created="Tue, 14 May 2013 12:01:17 -0500"  >BTW: Please let me know when you are done investigation with the clusters, then I can use it for other tasks (cbrecovery), or save some ec2 $:)&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="58271" author="maria" created="Tue, 14 May 2013 15:53:31 -0500"  >per bug triage, junyi to diagnose/debug issue.</comment>
                    <comment id="58311" author="jin" created="Tue, 14 May 2013 19:56:01 -0500"  >There was a deadlock issue from ep engine, which might have caused this disk not flush issue. Please wait for a build that includes &lt;a href=&quot;http://review.couchbase.org/#/c/26300/&quot;&gt;http://review.couchbase.org/#/c/26300/&lt;/a&gt;. Thanks.</comment>
                    <comment id="58314" author="jin" created="Tue, 14 May 2013 20:17:13 -0500"  >Per Junyi, provide more detailed description about the deadlock here:&lt;br/&gt;
* When persistent write completes ep engine broadcasts a header update notification via mccouch connection&lt;br/&gt;
* For a whatever reason, network glitch or heavy load over the single port, mccouch causes ep engine to reset the connection&lt;br/&gt;
* The deadlock issue was introduced with the recent code code changes in the above resetting connection path&lt;br/&gt;
* Unfortunately once ep engine get into this deadlock, a flusher task that belongs to the deadlocked thread won&amp;#39;t flush any mutation over infinite time&lt;br/&gt;
&lt;br/&gt;
* the fix has merged and Perf team may want to pick up tomorrow&amp;#39;s build and rerun this test&lt;br/&gt;
* again, this deadlock fix may or may not address the xdcr issue here but worth a try ;) </comment>
                    <comment id="58315" author="junyi" created="Tue, 14 May 2013 20:17:17 -0500"  >Ronnie,&lt;br/&gt;
&lt;br/&gt;
I will keep investigating. At the meantime, since ep-engine has already fixed the deadlock issue,  can you please rerun the test with latest build with Jin&amp;#39;s fix?  Thanks.</comment>
                    <comment id="58316" author="ronnie" created="Tue, 14 May 2013 20:22:52 -0500"  >sure, will rerun as it gets thru the build system.&lt;br/&gt;
&lt;br/&gt;
Ronnie</comment>
                    <comment id="58423" author="junyi" created="Wed, 15 May 2013 17:01:10 -0500"  >Problem reproduced with build 803 with Jin&amp;#39;s commit.&lt;br/&gt;
&lt;br/&gt;
By some investigation with Damien, at the time flusher got stuck,  the CouchDB is in good shape and we do not see file descriptors used up (via lsof on that node) by Erlang beam process.&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@ip-10-196-8-158&apos;&gt;root@ip-10-196-8-158&lt;/a&gt; bin]# lsof -u couchbase | wc -l&lt;br/&gt;
439&lt;br/&gt;
&lt;br/&gt;
This is verified by that  the ep_engine process is idling at the time of stuck, The flusher is not waken up at all. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Talked to Jin, there are two possibilities, 1) the stat disk_write_queue size itself is fooling us, or 2) there are bugs introduced by recent ep_engine changes that block the flusher forever. &lt;br/&gt;
To verify, Ronnie will rerun the test with very small number of items. &lt;br/&gt;
&lt;br/&gt;
From XDCR perspective, this is a simple test case which we ran many times before but never saw this issue. In this test,  XDCR has successfully replicated all 200M items to the memory of destination cluster, thus IMHO it is unlikely caused by the core XDCR code. Seems to me some recent underlying enhancement (ep_engine, storage, etc) may modify the flusher behavior incorrectly (this is just my guess which could be wrong). &lt;br/&gt;
&lt;br/&gt;
Jin, can you please take a look into ep_engine to see why the flusher is not waken up?  Thanks.</comment>
                    <comment id="58425" author="jin" created="Wed, 15 May 2013 17:14:25 -0500"  >Sure, thanks. Will wait Ronnie&amp;#39;s test result first.&lt;br/&gt;
&lt;br/&gt;
If this is in deed a bug in flusher not waking up - we probably had to hit the issue very earlier on as well. So this is very mysterious, scandalous bug ;(</comment>
                    <comment id="58429" author="junyi" created="Wed, 15 May 2013 17:36:41 -0500"  >Ronnie&amp;#39;s small test (1000 item only) does not see this issue.</comment>
                    <comment id="58466" author="jin" created="Thu, 16 May 2013 01:17:13 -0500"  >* If this is a truly ep engine + MRW feature induced bug, we should have run into the similar bug constantly regardless of i/o load&lt;br/&gt;
* Nonetheless the latest MRW feature might have caused a previously circumvented issue into a real issue&lt;br/&gt;
* Plan for debugging this issue will be:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;1) Jin to build a special toy build instrumenting more logs + stats&lt;br/&gt;
&amp;nbsp;&amp;nbsp;2) Jin to add per dispatcher (write thread) monitoring stats to pin-point where/what/when stop flushing these items&lt;br/&gt;
&amp;nbsp;&amp;nbsp;3) Perf (Ronnie) to run the toy build and try to reproduce the same symptom</comment>
                    <comment id="58502" author="junyi" created="Thu, 16 May 2013 13:08:35 -0500"  >Thanks so much, Jin. &lt;br/&gt;
&lt;br/&gt;
Once Ronnie is done with your toybuild, we could work together to figure out what happened. </comment>
                    <comment id="58522" author="maria" created="Thu, 16 May 2013 14:01:52 -0500"  >per bug triage, ronnie is running right now with 100million items and will update this bug. he will re-assign back to jin.</comment>
                    <comment id="58548" author="ronnie" created="Thu, 16 May 2013 16:30:50 -0500"  >100M with 200 bytes avg value size, problem reproduced,&lt;br/&gt;
&lt;br/&gt;
screenshot and diag attached.&lt;br/&gt;
&lt;br/&gt;
cluster is left intact on &lt;br/&gt;
&lt;a href=&quot;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091/&quot;&gt;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091/&lt;/a&gt;</comment>
                    <comment id="58549" author="ronnie" created="Thu, 16 May 2013 16:32:23 -0500"  >Hi Jin, &lt;br/&gt;
&lt;br/&gt;
Would you please take a look and advise next steps, Thanks!&lt;br/&gt;
&lt;br/&gt;
Ronnie</comment>
                    <comment id="58601" author="jin" created="Thu, 16 May 2013 23:04:28 -0500"  >A toy build is available to re-run the test.&lt;br/&gt;
2.0.0-XDCR001-toy at &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-couchstore-x86_64_2.0.0-XDCR001-toy.rpm&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-couchstore-x86_64_2.0.0-XDCR001-toy.rpm&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="58602" author="maria" created="Thu, 16 May 2013 23:19:07 -0500"  >Assigning bk to ronnie.</comment>
                    <comment id="58603" author="jin" created="Thu, 16 May 2013 23:26:11 -0500"  >For further detail about this toy build: this build is to determine whether the issue here is an incorrect stat  or flusher not running (leading to possible inconsistent state btw memory and storage)</comment>
                    <comment id="58626" author="ronnie" created="Fri, 17 May 2013 12:13:06 -0500"  >still have the issue:&lt;br/&gt;
&lt;br/&gt;
assign back to Jin.&lt;br/&gt;
&lt;br/&gt;
cluster on:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091/&quot;&gt;http://ec2-184-169-190-197.us-west-1.compute.amazonaws.com:8091/&lt;/a&gt;</comment>
                    <comment id="58637" author="jin" created="Fri, 17 May 2013 13:39:20 -0500"  >It appears to be not the case of incorrect stat but relatively very small number of pending mutation on a replica vbucket aren&amp;#39;t flushing. Continuing debugging the issue as the highest priority now.</comment>
                </comments>
                    <attachments>
                    <attachment id="17316" name="ns-diag-20130513235834.txt.zip" size="15664694" author="ronnie" created="Mon, 13 May 2013 19:53:57 -0500" />
                    <attachment id="17313" name="Screen Shot 2013-05-13 at 4.58.24 PM.png" size="68344" author="ronnie" created="Mon, 13 May 2013 18:59:01 -0500" />
                    <attachment id="17359" name="Screen Shot 2013-05-16 at 2.29.11 PM.png" size="33592" author="ronnie" created="Thu, 16 May 2013 16:31:15 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 14 May 2013 15:53:31 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11194</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8009] Couchbase Logo update on UI</title>
                <link>http://www.couchbase.com/issues/browse/MB-8009</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="23498">MB-8009</key>
            <summary>Couchbase Logo update on UI</summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="22838">MB-7804</parent>
                        <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="pavel">Pavel Blagodov</assignee>
                                <reporter username="anil">Anil Kumar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Apr 2013 12:01:05 -0500</created>
                <updated>Fri, 17 May 2013 13:04:18 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>UI</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="54831" author="anil" created="Wed, 10 Apr 2013 17:11:16 -0500"  >Can you take look at the Spec and logo assets and let me know if you&amp;#39;ve what you need to make the changes.</comment>
                    <comment id="55029" author="pavel" created="Sat, 13 Apr 2013 03:47:54 -0500"  >Updated &lt;a href=&quot;http://review.couchbase.org/25647&quot;&gt;http://review.couchbase.org/25647&lt;/a&gt;</comment>
                    <comment id="55123" author="pavel" created="Tue, 16 Apr 2013 03:32:02 -0500"  >&lt;a href=&quot;http://review.couchbase.org/25697&quot;&gt;http://review.couchbase.org/25697&lt;/a&gt;</comment>
                    <comment id="56293" author="maria" created="Fri, 26 Apr 2013 01:21:43 -0500"  >tony, merged/fixed. can u verify/close. Thanks.  </comment>
                    <comment id="56324" author="anil" created="Fri, 26 Apr 2013 11:24:43 -0500"  >minor correction to logo images we will fix resolve this bug.</comment>
                    <comment id="56644" author="steve" created="Tue, 30 Apr 2013 12:37:31 -0500"  >fyi that assets are needed for both windows and mac (but none are needed for linux (which has no U/I for its installer or desktop/menubar widgets)).&lt;br/&gt;
&lt;br/&gt;
Please attach here when they&amp;#39;re ready (not in Dropbox, as we don&amp;#39;t all have Dropbox access).  Thanks.</comment>
                    <comment id="56957" author="anil" created="Thu, 2 May 2013 12:46:16 -0500"  >Attached the images</comment>
                    <comment id="57221" author="pavel" created="Mon, 6 May 2013 08:37:42 -0500"  >&lt;a href=&quot;http://review.couchbase.org/26117&quot;&gt;http://review.couchbase.org/26117&lt;/a&gt;</comment>
                    <comment id="58196" author="anil" created="Tue, 14 May 2013 12:16:53 -0500"  >Pavel, can you merge the changes and resolve the bug to QE for verifying it. thanks!</comment>
                    <comment id="58199" author="maria" created="Tue, 14 May 2013 12:42:08 -0500"  >tony, pls verify/ close.</comment>
                    <comment id="58586" author="thuan" created="Thu, 16 May 2013 19:51:09 -0500"  >Logo in couchbase server web console is not consistent with the one in couchbase.com web site&lt;br/&gt;
&lt;br/&gt;
Here is the example&lt;br/&gt;
couchbase server web console&lt;br/&gt;
&lt;a href=&quot;http://10.3.2.46:8091/images/couchbase_small_2.0.2.png&quot;&gt;http://10.3.2.46:8091/images/couchbase_small_2.0.2.png&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
couchbase.com web site&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/sites/all/themes/nosql/logo.png&quot;&gt;http://www.couchbase.com/sites/all/themes/nosql/logo.png&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
we need to fix the logo in couchbase server web console match with the one in couchbase.com web site.  There is a gap between couchbase and the red u shape as you see the logo in couchbase.com </comment>
                    <comment id="58635" author="pavel" created="Fri, 17 May 2013 13:04:18 -0500"  >&lt;a href=&quot;http://review.couchbase.org/26381&quot;&gt;http://review.couchbase.org/26381&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="17248" name="couchbase-setupscreen.png" size="10877" author="anil" created="Thu, 2 May 2013 12:46:16 -0500" />
                    <attachment id="17249" name="favicon.ico" size="1406" author="anil" created="Thu, 2 May 2013 12:46:16 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Sat, 13 Apr 2013 03:47:54 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10331</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>5</customfieldvalue>
    <customfieldvalue>7</customfieldvalue>
    <customfieldvalue>9</customfieldvalue>
    <customfieldvalue>11</customfieldvalue>
    <customfieldvalue>14</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7972] Sever performance dip during rebalancing observed in demo environment</title>
                <link>http://www.couchbase.com/issues/browse/MB-7972</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Environment:&lt;br/&gt;
-memcache-test running through client-side Moxi.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-memcache-test workload: /root/mctest/Users/ingenthr/tmp/memcachetest-centos_x86 -h localhost -i 1000 -t 4 -K test -M 10 -F -S -l&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Moxi config: CLI: /opt/moxi/bin/moxi -u nobody -Z usr=Administrator,pwd=password &lt;a href=&quot;http://10.197.1.147:8091/pools/default/bucketsStreaming/beer-sample&quot;&gt;http://10.197.1.147:8091/pools/default/bucketsStreaming/beer-sample&lt;/a&gt; -vv -O /var/log/moxi, &lt;br/&gt;
config: &lt;br/&gt;
port_listen=11211,&lt;br/&gt;
default_bucket_name=default,&lt;br/&gt;
downstream_max=1024,&lt;br/&gt;
downstream_conn_max=4,&lt;br/&gt;
downstream_conn_queue_timeout=200,&lt;br/&gt;
downstream_timeout=5000,&lt;br/&gt;
wait_queue_timeout=200,&lt;br/&gt;
connect_max_errors=5,&lt;br/&gt;
connect_retry_interval=30000,&lt;br/&gt;
connect_timeout=400,&lt;br/&gt;
auth_timeout=100,&lt;br/&gt;
cycle=200&lt;br/&gt;
&lt;br/&gt;
-4 nodes of Couchbase Server 2.0.1.  c1.medium EC2 instances, beer-sample database bucket&lt;br/&gt;
-2 nodes of same config added to cluster and rebalanced&lt;br/&gt;
&lt;br/&gt;
Observation:&lt;br/&gt;
-Workload very steady around 8k ops/sec before rebalance&lt;br/&gt;
-Workload drops to around 4k ops/sec during rebalance.  Both gets and sets affected, compaction not running when load initially drops (kicks in eventually).  Workload very choppy during rebalance.&lt;br/&gt;
-Workload returns to 8k ops/sec after rebalance&lt;br/&gt;
&lt;br/&gt;
Client memcachetest and moxi logs:&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/client1.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/client1.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/client2.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/client2.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Cluster logs:&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node1.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node1.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node2.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node2.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node3.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node3.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node4.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node4.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node5.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node5.zip&lt;/a&gt; (aded to first 4)&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node6.zip&quot;&gt;https://s3.amazonaws.com/customers.couchbase.com/demo_performance/node6.zip&lt;/a&gt; (added to first 4)</description>
                <environment></environment>
            <key id="23391">MB-7972</key>
            <summary>Sever performance dip during rebalancing observed in demo environment</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                        <label>performance</label>
                    </labels>
                <created>Tue, 26 Mar 2013 09:48:51 -0500</created>
                <updated>Fri, 17 May 2013 16:19:28 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>couchbase-bucket</component>
                <component>moxi</component>
                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>10</watches>
                                                    <comments>
                    <comment id="53582" author="pavelpaulau" created="Wed, 27 Mar 2013 07:28:28 -0500"  >c1.medium has 1.7 GB RAM. Are you sure? Pretty much enough for beer samples but generally it&amp;#39;s very strange setup.</comment>
                    <comment id="53583" author="pavelpaulau" created="Wed, 27 Mar 2013 08:55:01 -0500"  >Ok, I reproduced that. Will try to investigate.</comment>
                    <comment id="53755" author="sharon" created="Thu, 28 Mar 2013 11:51:38 -0500"  >related bug is &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7971&quot; title=&quot;performance on non-IO related requests seems to drop during IO&quot;&gt;&lt;strike&gt;MB-7971&lt;/strike&gt;&lt;/a&gt;. could be same underline issue</comment>
                    <comment id="54736" author="pavelpaulau" created="Wed, 10 Apr 2013 09:49:29 -0500"  >I tried physical environment with SSD. Instead of memcachetest and moxi I used YCSB which is based on Java SDK.&lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s non-DGM rebalance from 3 to 4 nodes, just 5M items.&lt;br/&gt;
&lt;br/&gt;
However there is a noticeable drop in throughput (ycsb_01.png) in my case as well. Performance improves shortly after that but throughput is still choppy (ycsb_02.png).</comment>
                    <comment id="54873" author="pavelpaulau" created="Thu, 11 Apr 2013 03:26:03 -0500"  >Answering Jin&amp;#39;s question:&lt;br/&gt;
&lt;br/&gt;
&amp;quot;Was the performance regression comparison to the same test running on memcachetest and moxi or existing baseline? EP Engine tweaks priorities among I/Os from rebalancing vbuckets and front loads, which might have caused choppy throughput for front loads. However, everything should have gone back to normal after the rebalancing. Did you see different behavior on your latest test?&amp;quot;&lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s not necessarily regression. At least I haven&amp;#39;t tried 2.0 yet (and I&amp;#39;m going to do that). Perry reported the issue so there is no baseline so far.&lt;br/&gt;
&lt;br/&gt;
Both me and Perry observed that everything becomes normal once rebalance finishes.</comment>
                    <comment id="54883" author="pavelpaulau" created="Thu, 11 Apr 2013 08:57:12 -0500"  >Well, 2.0 looks perfect, no dip, no choppy throughput.</comment>
                    <comment id="54891" author="anil" created="Thu, 11 Apr 2013 12:25:51 -0500"  >Assigning this to Jin. We need resolution from EP-Engine team.&lt;br/&gt;
</comment>
                    <comment id="54951" author="perry" created="Fri, 12 Apr 2013 07:10:49 -0500"  >Pavel, I had reproduced this behavior on both 2.0 and 2.0.1...is it possible something changed with your test?</comment>
                    <comment id="55962" author="chiyoung" created="Tue, 23 Apr 2013 16:53:09 -0500"  >I tried to reproduce this issue, but didn&amp;#39;t see the performance drop in the following scenario:&lt;br/&gt;
&lt;br/&gt;
1) Set up the two node cluster and loaded 1M items with a mixed load&lt;br/&gt;
2) Add two new nodes to the cluster with the constant mixed load (50% SET and 50% GET)&lt;br/&gt;
&lt;br/&gt;
I saw that the performance dropped in the beginning of the rebalance, but came back after a few seconds. Let me continue to debug this issue with different scenarios.</comment>
                    <comment id="55970" author="chiyoung" created="Tue, 23 Apr 2013 17:59:44 -0500"  >Pavel,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;d like the perf team to measure the throughput and latency during rebalance in a large scale through our perf test framework.&lt;br/&gt;
&lt;br/&gt;
I didn&amp;#39;t see this issue in my simple scenarios.&lt;br/&gt;
&lt;br/&gt;
Thanks</comment>
                    <comment id="56198" author="pavelpaulau" created="Thu, 25 Apr 2013 06:02:47 -0500"  >Chiyoung,&lt;br/&gt;
&lt;br/&gt;
Performance testing framework uses moxi and I&amp;#39;d not rely on it in this case.&lt;br/&gt;
&lt;br/&gt;
How do you simulate workload?</comment>
                    <comment id="56211" author="chiyoung" created="Thu, 25 Apr 2013 11:09:25 -0500"  >Pavel,&lt;br/&gt;
&lt;br/&gt;
I just used mcsoda with the moxi and mixed load, and didn&amp;#39;t see this issue.&lt;br/&gt;
&lt;br/&gt;
As you know, we&amp;#39;ve measured latency and throughput during rebalance as part of performance tests for 2.0 GA release, but didn&amp;#39;t see this issue. Ronnie showed me lots of graphs in the past. I just want to make sure whether we newly have this performance issue from 2.0.1 or 2.0.2.&lt;br/&gt;
&lt;br/&gt;
Thanks</comment>
                    <comment id="56307" author="perry" created="Fri, 26 Apr 2013 05:07:30 -0500"  >I just reproduced this myself again on the latest 2.0.2 (build 778).&lt;br/&gt;
&lt;br/&gt;
See the attached screenshot showing performance drop from a very steady 8k ops/sec down to 4k and then it stays very low and choppy for many minutes until the rebalance completes and it immediately picks back up (see second screenshot).&lt;br/&gt;
&lt;br/&gt;
All of the details of the environment and workload are above, what else do you need in order to reproduce and/or diagnose this?</comment>
                    <comment id="56435" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500"  >I tried two different java workload generators: wrath from AOL and RoadRunner from Michael Nitschinger.&lt;br/&gt;
&lt;br/&gt;
Both demonstrate certain issues during rebalance. However there is a huge difference between 2.0.0 and 2.0.1/2.0.2 throughput patterns. See attached screenshot for details.</comment>
                    <comment id="56436" author="pavelpaulau" created="Mon, 29 Apr 2013 11:42:04 -0500"  >Attached packages and sample config file for wrath:&lt;br/&gt;
&lt;br/&gt;
$ java -jar wrath.jar&lt;br/&gt;
&lt;br/&gt;
$ java -jar RoadRunner-0.3-jar-with-dependencies.jar -c 16 -d 10000000 -n 172.23.96.15,172.23.96.16,172.23.96.17 -s 1 S 2048 --ratio 0&lt;br/&gt;
</comment>
                    <comment id="56581" author="chiyoung" created="Mon, 29 Apr 2013 23:04:53 -0500"  >Thanks Pavel.&lt;br/&gt;
&lt;br/&gt;
I saw the same issue in my tests too when I rebalance in 3 -&amp;gt; 4 with 2.0.2 build.&lt;br/&gt;
&lt;br/&gt;
One of the interesting things was that the erlang beam.smp CPU usage on a couple of nodes spiked to more than 200% frequently and stayed for a while during rebalance. The memcached CPU usage usually remains between 50% - 100%. Each node has four cores. &lt;br/&gt;
&lt;br/&gt;
I think we need to run this test through our performance framework to monitor and get the CPU usage of both beam.smp and memcached processes on each node before / during / after rebalance.&lt;br/&gt;
&lt;br/&gt;
Please let me know if you have any other suggestions.&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="56586" author="pavelpaulau" created="Tue, 30 Apr 2013 01:44:07 -0500"  >It makes sense to me.&lt;br/&gt;
&lt;br/&gt;
By the way, do you observe the same issue with 2.0.1?</comment>
                    <comment id="56588" author="chiyoung" created="Tue, 30 Apr 2013 02:04:47 -0500"  >Pavel,&lt;br/&gt;
&lt;br/&gt;
Yes, I also saw the same issue with 2.0.1.</comment>
                    <comment id="56963" author="wayne" created="Thu, 2 May 2013 13:01:14 -0500"  >Hi Pavel, do you have an update on this?  Thanks.</comment>
                    <comment id="57229" author="pavelpaulau" created="Mon, 6 May 2013 11:07:57 -0500"  >cpu stats for memcached and beam.smp.&lt;br/&gt;
&lt;br/&gt;
Total cpu utilization is collected via ns_server so maximum is 100%, otherwise it&amp;#39;s 2400% (I have 24 cores).</comment>
                    <comment id="57354" author="chiyoung" created="Mon, 6 May 2013 19:59:05 -0500"  >Thanks Pavel. Obviously, this isn&amp;#39;t the CPU bound. In your tests, ops / sec dropped by 15 - 20% during rebalance and came back afterwards.&lt;br/&gt;
&lt;br/&gt;
Btw, I also ran the full backup client against a single node cluster to see if the frontend ops / sec drops while the backup is performed through TAP, but didn&amp;#39;t see any performance drop although the memcached CPU usage is increased by 30 - 60% during the backup period. The reason why I ran this additional test is to see if TAP-based streaming can affect the frontend performance significantly or not.&lt;br/&gt;
&lt;br/&gt;
Let me continue to work on this issue. </comment>
                    <comment id="57435" author="chiyoung" created="Tue, 7 May 2013 13:22:12 -0500"  >I even saw the ops / sec drop in 2.0.0 and 1.8.1 during rebalance.</comment>
                    <comment id="57466" author="chiyoung" created="Tue, 7 May 2013 16:38:40 -0500"  >We saw a fair number of &amp;quot;not_my_vbucket&amp;quot; errors when rebalanced in from 3 to 4:&lt;br/&gt;
&lt;br/&gt;
Chiyoung-MacBook:ep-engine chiyoung$ ./management/cbstats 10.5.2.35:11211 all | grep not&lt;br/&gt;
&amp;nbsp;ep_num_not_my_vbuckets:             1018&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
The rebalance took 3 minutes, which means that there are approximately five &amp;quot;not_my_vbucket&amp;quot; errors per second. I ran the mcsoda load generator with 8 threads and saw 20% ~ 40% of the performance drop during the rebalance.&lt;br/&gt;
&lt;br/&gt;
I need to discuss how we can handle these not_my_vbucket errors in a better way with Steve (moxi inventor). My understanding is that if a moxi receives &amp;quot;not_my_vbucket&amp;quot; error from a given downstream node, it will simply try each of the other nodes at a time.&lt;br/&gt;
</comment>
                    <comment id="57710" author="chiyoung" created="Thu, 9 May 2013 13:38:10 -0500"  >To debug this issue furthermore, I implemented the simple python client that intentionally sends some of GET / SET requests to their replica vbuckets, so that it gets &amp;quot;NOT_MY_VBUCKET&amp;quot; responses from the nodes and then sends them to their corresponding active nodes. When the ratio of incorrect GET / SET requests is under 10%, I didn&amp;#39;t see significant impact on ops / sec.&lt;br/&gt;
&lt;br/&gt;
Obviously, NOT_MY_VBUCKET&amp;quot; responses during rebalance is much lower than 10%.&lt;br/&gt;
&lt;br/&gt;
However, in my tests, I assume that the new partition map is immediately available when the client resends GET / SET requests to their current active nodes.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="57724" author="chiyoung" created="Thu, 9 May 2013 15:18:06 -0500"  >Here is the summary of my findings so far:&lt;br/&gt;
&lt;br/&gt;
1) When the number of threads in the client load generator &amp;lt;= 8, I saw the ops / sec drop by 20% - 40% range during rebalance.&lt;br/&gt;
&lt;br/&gt;
2) If the number of threads &amp;gt; 8 (I tried 16 and 32 threads), the ops sec didn&amp;#39;t drop too much (less than 5%) during rebalance.&lt;br/&gt;
&lt;br/&gt;
3) When ops / sec starts to drop, I observed that the number of &amp;quot;NOT_MY_VBUCKET&amp;quot; errors increased suddely.&lt;br/&gt;
&lt;br/&gt;
I used mcsoda and client-side moxi and did 3-&amp;gt;4 rebalance-in or 4-&amp;gt;3 rebalance-out operations in my tests.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m actually running out of ideas, but don&amp;#39;t think this issue is a blocker as long as we don&amp;#39;t see much drop in case of more threads in a client load generator. As you know, most of our customers have much more than 8 threads in their applications.&lt;br/&gt;
&lt;br/&gt;
Here are my suggestions:&lt;br/&gt;
&lt;br/&gt;
1) We may need to ask the perf team to increase the number of threads in the client load generator to see if they observe the same behavior as my tests.&lt;br/&gt;
&lt;br/&gt;
2) We need to measure the ops / sec during rebalance in a large cluster (at least 10 nodes). In our tests, we simply use 3 or 4 nodes, which is a micro test case.&lt;br/&gt;
&lt;br/&gt;
3) I also suggest the perf team to monitor &amp;quot;NOT_MY_VBUCKET&amp;quot; errors during rebalance in order to match &amp;quot;NOT_MY_VBUCKET&amp;quot; errors with the performance drop over the time.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="57797" author="pavelpaulau" created="Fri, 10 May 2013 07:11:01 -0500"  >1. From my perspective I can confirm that adding more working threads does help a lot.&lt;br/&gt;
&lt;br/&gt;
2. At this point I can hardly help with &amp;gt; 10 nodes cluster since I don&amp;#39;t have such resources.&lt;br/&gt;
&lt;br/&gt;
3. Will check that.</comment>
                    <comment id="57979" author="maria" created="Mon, 13 May 2013 00:57:24 -0500"  >assigning to wayne to identify resources for item 2 (see pavel&amp;#39;s). if no resources, can we do this in ec2? or it should be physical hw?</comment>
                    <comment id="57994" author="perry" created="Mon, 13 May 2013 03:36:49 -0500"  >Team, &lt;br/&gt;
&lt;br/&gt;
We&amp;#39;re still missing something here.  I just tried again with 16 threads...no difference.  &lt;br/&gt;
&lt;br/&gt;
The main point in my situation that is not being addressed is the fact that the performance drop is on a bucket that is _NOT_ being rebalanced at first.&lt;br/&gt;
&lt;br/&gt;
Here is my setup (as I have detailed above):&lt;br/&gt;
-4 node cluster&lt;br/&gt;
-2 buckets, beer-sample and gamesim-sample&lt;br/&gt;
-memcachetest through Moxi to beer-sample&lt;br/&gt;
-Add 2 nodes and rebalance&lt;br/&gt;
-You can see that gamesim-sample starts moving its vbuckets first, but the performance drop is on beer-sample immediately&lt;br/&gt;
-I see no &amp;quot;not_my_vbuckets&amp;quot; reported on this bucket during the performance drop, and only a few hundred reported by the end of the second bucket&amp;#39;s rebalance&lt;br/&gt;
&lt;br/&gt;
Can we please confirm that we see the same behavior in the exact same environment?  I will happily hand over a RightScale environment that can reproduce this 100% and it is a major problem for the sales team and their demos.  It may very well be a problem with Moxi but I don&amp;#39;t have a load generator that I can try out that works with rebalance (&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7991&quot; title=&quot;Need generic workload generator&quot;&gt;MB-7991&lt;/a&gt;) and I&amp;#39;m surprised that no one has seen this before.</comment>
                    <comment id="58002" author="pavelpaulau" created="Mon, 13 May 2013 07:26:13 -0500"  >I can confirm the performance drop when running test against bucket that is not being rebalanced. I used Java and Python based workload generators, both avoid moxi.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/daschl/RoadRunner&quot;&gt;https://github.com/daschl/RoadRunner&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/pavel-paulau/spring&quot;&gt;https://github.com/pavel-paulau/spring&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="58030" author="maria" created="Mon, 13 May 2013 13:57:47 -0500"  >chiyoung, assigning back to you. can you repro per perry&amp;#39;s comment?</comment>
                    <comment id="58218" author="chiyoung" created="Tue, 14 May 2013 13:39:19 -0500"  >Maria,&lt;br/&gt;
&lt;br/&gt;
I observed the same issue, but don&amp;#39;t know how that can happen. As mentioned, I debugged this issue in the engine side, but couldn&amp;#39;t find anything suspicious. I&amp;#39;m running out of idea. Please assign it to the other engineers for the second investigation.</comment>
                    <comment id="58268" author="maria" created="Tue, 14 May 2013 15:37:59 -0500"  >per bug triage, mike to take a look at and will reach out to trond if needed.&lt;br/&gt;
</comment>
                    <comment id="58517" author="maria" created="Thu, 16 May 2013 13:47:22 -0500"  >per bug triage, put in jin&amp;#39;s queue. when we get a stable 2.0.2 build with rebalance scheduling mods, this will need to be re-tested by Pavel. Jin will assign to him as soon as it is ready for Pavel.</comment>
                </comments>
                    <attachments>
                    <attachment id="17207" name="aot_wrath_200_beginning.png" size="565832" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17208" name="aot_wrath_200_end.png" size="539968" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17209" name="aot_wrath_200_middle.png" size="612199" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17210" name="aot_wrath_201_beginning.png" size="533125" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17211" name="aot_wrath_201_end.png" size="509846" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17212" name="aot_wrath_201_middle.png" size="569518" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17213" name="aot_wrath_202_beginning.png" size="514078" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17214" name="aot_wrath_202_end.png" size="482052" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17215" name="aot_wrath_202_middle.png" size="510931" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17224" name="Couchbase2Test.properties" size="1209" author="pavelpaulau" created="Mon, 29 Apr 2013 11:42:04 -0500" />
                    <attachment id="17223" name="RoadRunner-0.3-jar-with-dependencies.jar" size="5176929" author="pavelpaulau" created="Mon, 29 Apr 2013 11:42:04 -0500" />
                    <attachment id="17216" name="roadrunner_200_beginning.png" size="596164" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17217" name="roadrunner_200_end.png" size="554880" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17218" name="roadrunner_200_midlle.png" size="619210" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17219" name="roadrunner_201_beginning.png" size="588081" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17220" name="roadrunner_201_end.png" size="552620" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17221" name="roadrunner_201_midlle.png" size="621567" author="pavelpaulau" created="Mon, 29 Apr 2013 11:36:46 -0500" />
                    <attachment id="17200" name="Screen Shot 2013-04-26 at 11.59.39 AM.png" size="42481" author="perry" created="Fri, 26 Apr 2013 05:07:55 -0500" />
                    <attachment id="17201" name="Screen Shot 2013-04-26 at 12.02.08 PM.png" size="42567" author="perry" created="Fri, 26 Apr 2013 05:07:55 -0500" />
                    <attachment id="17262" name="stats.tar" size="230912" author="pavelpaulau" created="Mon, 6 May 2013 11:07:57 -0500" />
                    <attachment id="17222" name="wrath.jar" size="4508358" author="pavelpaulau" created="Mon, 29 Apr 2013 11:42:04 -0500" />
                    <attachment id="17103" name="ycsb_01.png" size="589883" author="pavelpaulau" created="Wed, 10 Apr 2013 09:49:29 -0500" />
                    <attachment id="17104" name="ycsb_02.png" size="586702" author="pavelpaulau" created="Wed, 10 Apr 2013 09:49:29 -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, 27 Mar 2013 07:28:28 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>291</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>5</customfieldvalue>
    <customfieldvalue>7</customfieldvalue>
    <customfieldvalue>9</customfieldvalue>
    <customfieldvalue>11</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7735] Memcached crash on a node on the destination cluster </title>
                <link>http://www.couchbase.com/issues/browse/MB-7735</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Live clusters:&lt;br/&gt;
Source: &lt;a href=&quot;http://10.6.2.37:8091/&quot;&gt;http://10.6.2.37:8091/&lt;/a&gt;&lt;br/&gt;
Destination: &lt;a href=&quot;http://10.6.2.89:8091/&quot;&gt;http://10.6.2.89:8091/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
On Source:&lt;br/&gt;
default: ~&amp;gt;70% Resident ratio&lt;br/&gt;
saslbucket: ~&amp;gt;40% Resident ratio&lt;br/&gt;
&lt;br/&gt;
System uptime: &amp;gt;36 hours&lt;br/&gt;
&lt;br/&gt;
On Destination:&lt;br/&gt;
2 nodes went down: 10.6.2.68, 10.6.2.69&lt;br/&gt;
&lt;br/&gt;
- &amp;quot;ip seems to have changed&amp;quot; seen for both the nodes&lt;br/&gt;
- &lt;a href=&apos;mailto:ns_1@10.6.2.68&apos;&gt;ns_1@10.6.2.68&lt;/a&gt;&lt;br/&gt;
Server error during processing: [&amp;quot;web request failed&amp;quot;,&lt;br/&gt;
{path,&amp;quot;/pools/default&amp;quot;},&lt;br/&gt;
{type,exit},&lt;br/&gt;
{what,&lt;br/&gt;
{timeout,&lt;br/&gt;
{gen_server,call,&lt;br/&gt;
[ns_node_disco,nodes_wanted]}}},&lt;br/&gt;
{trace,&lt;br/&gt;
[{gen_server,call,2},&lt;br/&gt;
{ns_orchestrator,needs_rebalance,0},&lt;br/&gt;
{ns_cluster_membership,is_balanced,0},&lt;br/&gt;
{menelaus_web,build_pool_info,4},&lt;br/&gt;
{menelaus_web,handle_pool_info,2},&lt;br/&gt;
{menelaus_web,loop,3},&lt;br/&gt;
{mochiweb_http,headers,5},&lt;br/&gt;
{proc_lib,init_p_do_apply,3}]}] (repeated 15 times)&lt;br/&gt;
&lt;br/&gt;
- &lt;a href=&apos;mailto:ns_1@10.6.2.69&apos;&gt;ns_1@10.6.2.69&lt;/a&gt;&lt;br/&gt;
Server error during processing: [&amp;quot;web request failed&amp;quot;,&lt;br/&gt;
{path,&amp;quot;/pools/default&amp;quot;},&lt;br/&gt;
{type,exit},&lt;br/&gt;
{what,&lt;br/&gt;
{{timeout,&lt;br/&gt;
{gen_server,call,&lt;br/&gt;
[{&amp;#39;stats_reader-default&amp;#39;,&lt;br/&gt;
&amp;#39;&lt;a href=&apos;mailto:ns_1@10.6.2.69&apos;&gt;ns_1@10.6.2.69&lt;/a&gt;&amp;#39;},&lt;br/&gt;
{latest,minute,1}]}},&lt;br/&gt;
{gen_server,call,&lt;br/&gt;
[menelaus_web_alerts_srv,fetch_alert]}}},&lt;br/&gt;
{trace,&lt;br/&gt;
[{gen_server,call,2},&lt;br/&gt;
{diag_handler,diagnosing_timeouts,1},&lt;br/&gt;
{menelaus_web,build_pool_info,4},&lt;br/&gt;
{menelaus_web,handle_pool_info,2},&lt;br/&gt;
{menelaus_web,loop,3},&lt;br/&gt;
{mochiweb_http,headers,5},&lt;br/&gt;
{proc_lib,init_p_do_apply,3}]}]&lt;br/&gt;
&lt;br/&gt;
- Memcached core on 10.6.2.68&lt;br/&gt;
&lt;br/&gt;
The Back trace:&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@pine-11803&apos;&gt;root@pine-11803&lt;/a&gt; data]# gdb /opt/couchbase/bin/memcached core.memcached.17636&lt;br/&gt;
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)&lt;br/&gt;
Copyright (C) 2010 Free Software Foundation, Inc.&lt;br/&gt;
License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;a href=&quot;http://gnu.org/licenses/gpl.html&quot;&gt;http://gnu.org/licenses/gpl.html&lt;/a&gt;&amp;gt;&lt;br/&gt;
This is free software: you are free to change and redistribute it.&lt;br/&gt;
There is NO WARRANTY, to the extent permitted by law.  Type &amp;quot;show copying&amp;quot;&lt;br/&gt;
and &amp;quot;show warranty&amp;quot; for details.&lt;br/&gt;
This GDB was configured as &amp;quot;x86_64-redhat-linux-gnu&amp;quot;.&lt;br/&gt;
For bug reporting instructions, please see:&lt;br/&gt;
&amp;lt;&lt;a href=&quot;http://www.gnu.org/software/gdb/bugs/&quot;&gt;http://www.gnu.org/software/gdb/bugs/&lt;/a&gt;&amp;gt;...&lt;br/&gt;
Reading symbols from /opt/couchbase/bin/memcached...done.&lt;br/&gt;
[New Thread 17656]&lt;br/&gt;
[New Thread 17645]&lt;br/&gt;
[New Thread 17654]&lt;br/&gt;
[New Thread 17646]&lt;br/&gt;
[New Thread 17652]&lt;br/&gt;
[New Thread 17653]&lt;br/&gt;
[New Thread 17655]&lt;br/&gt;
[New Thread 17636]&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/memcached/libmemcached_utilities.so.0...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/memcached/libmemcached_utilities.so.0&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/libevent-2.0.so.5...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/libevent-2.0.so.5&lt;br/&gt;
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/libdl.so.2&lt;br/&gt;
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/libm.so.6&lt;br/&gt;
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/librt.so.1&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/libtcmalloc_minimal.so.4...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/libtcmalloc_minimal.so.4&lt;br/&gt;
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.&lt;br/&gt;
[Thread debugging using libthread_db enabled]&lt;br/&gt;
Loaded symbols for /lib64/libpthread.so.0&lt;br/&gt;
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/libc.so.6&lt;br/&gt;
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/ld-linux-x86-64.so.2&lt;br/&gt;
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /usr/lib64/libstdc++.so.6&lt;br/&gt;
Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/libgcc_s.so.1&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/memcached/stdin_term_handler.so...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/memcached/stdin_term_handler.so&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/memcached/file_logger.so...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/memcached/file_logger.so&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/memcached/bucket_engine.so...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/memcached/bucket_engine.so&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/memcached/ep.so...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/memcached/ep.so&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/libcouchstore.so.1...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/libcouchstore.so.1&lt;br/&gt;
Reading symbols from /opt/couchbase/lib/libsnappy.so.1...done.&lt;br/&gt;
Loaded symbols for /opt/couchbase/lib/libsnappy.so.1&lt;br/&gt;
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.&lt;br/&gt;
Loaded symbols for /lib64/libnss_files.so.2&lt;br/&gt;
Core was generated by `/opt/couchbase/bin/memcached -X /opt/couchbase/lib/memcached/stdin_term_handler&amp;#39;.&lt;br/&gt;
Program terminated with signal 6, Aborted.&lt;br/&gt;
#0  0x00007fc8afec28a5 in raise () from /lib64/libc.so.6&lt;br/&gt;
Missing separate debuginfos, use: debuginfo-install couchbase-server-2.0.1-153.x86_64&lt;br/&gt;
(gdb) t a a bt&lt;br/&gt;
&lt;br/&gt;
Thread 8 (Thread 0x7fc8b1376720 (LWP 17636)):&lt;br/&gt;
#0  0x00007fc8aff6a43d in write () from /lib64/libc.so.6&lt;br/&gt;
#1  0x00007fc8aff01033 in _IO_new_file_write () from /lib64/libc.so.6&lt;br/&gt;
#2  0x00007fc8aff00efa in _IO_new_file_xsputn () from /lib64/libc.so.6&lt;br/&gt;
#3  0x00007fc8afef692c in fputs () from /lib64/libc.so.6&lt;br/&gt;
#4  0x00007fc8aeb61143 in logger_log (severity=EXTENSION_LOG_WARNING, client_cookie=&amp;lt;value optimized out&amp;gt;, fmt=0x7fc8aab1bebb &amp;quot;Schedule cleanup of \&amp;quot;%s\&amp;quot;&amp;quot;) at extensions/loggers/file_logger.c:275&lt;br/&gt;
#5  0x00007fc8aaad06a4 in TapConnMap::shutdownAllTapConnections (this=0x636e240) at src/tapconnmap.cc:366&lt;br/&gt;
#6  0x00007fc8aaa989d1 in EventuallyPersistentEngine::destroy (this=0x6374000, force=&amp;lt;value optimized out&amp;gt;) at src/ep_engine.cc:1401&lt;br/&gt;
#7  0x00007fc8aaa98ace in EvpDestroy (handle=&amp;lt;value optimized out&amp;gt;, force=false) at src/ep_engine.cc:130&lt;br/&gt;
#8  0x00007fc8adf52bb5 in bucket_shutdown_engine (key=&amp;lt;value optimized out&amp;gt;, nkey=&amp;lt;value optimized out&amp;gt;, val=0x63262a0, nval=&amp;lt;value optimized out&amp;gt;, args=&amp;lt;value optimized out&amp;gt;) at bucket_engine.c:1290&lt;br/&gt;
#9  0x00007fc8adf5966c in genhash_iter (h=0x632a000, iterfunc=0x7fc8adf52b80 &amp;lt;bucket_shutdown_engine&amp;gt;, arg=0x0) at genhash.c:275&lt;br/&gt;
#10 0x00007fc8adf53f46 in bucket_destroy (handle=0x7fc8ae15c640, force=&amp;lt;value optimized out&amp;gt;) at bucket_engine.c:1327&lt;br/&gt;
#11 0x0000000000409777 in main (argc=&amp;lt;value optimized out&amp;gt;, argv=&amp;lt;value optimized out&amp;gt;) at daemon/memcached.c:7927&lt;br/&gt;
&lt;br/&gt;
Thread 7 (Thread 0x7fc8a8627700 (LWP 17655)):&lt;br/&gt;
#0  0x00007fc8b022d7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0&lt;br/&gt;
#1  0x00007fc8aaa76f28 in wait (this=0x63a22d0, d=...) at src/syncobject.hh:58&lt;br/&gt;
#2  IdleTask::run (this=0x63a22d0, d=...) at src/dispatcher.cc:336&lt;br/&gt;
#3  0x00007fc8aaa795ea in Dispatcher::run (this=0x636b880) at src/dispatcher.cc:173&lt;br/&gt;
#4  0x00007fc8aaa79eeb in launch_dispatcher_thread (arg=0x636b880) at src/dispatcher.cc:28&lt;br/&gt;
#5  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#6  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
&lt;br/&gt;
Thread 6 (Thread 0x7fc8a9a29700 (LWP 17653)):&lt;br/&gt;
#0  0x00007fc8b022d7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0&lt;br/&gt;
#1  0x00007fc8aaa76f28 in wait (this=0x63a2120, d=...) at src/syncobject.hh:58&lt;br/&gt;
#2  IdleTask::run (this=0x63a2120, d=...) at src/dispatcher.cc:336&lt;br/&gt;
#3  0x00007fc8aaa795ea in Dispatcher::run (this=0x636ac40) at src/dispatcher.cc:173&lt;br/&gt;
#4  0x00007fc8aaa79eeb in launch_dispatcher_thread (arg=0x636ac40) at src/dispatcher.cc:28&lt;br/&gt;
#5  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#6  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
&lt;br/&gt;
Thread 5 (Thread 0x7fc8aa638700 (LWP 17652)):&lt;br/&gt;
#0  0x00007fc8aff3b97d in nanosleep () from /lib64/libc.so.6&lt;br/&gt;
#1  0x00007fc8aff70b34 in usleep () from /lib64/libc.so.6&lt;br/&gt;
#2  0x00007fc8aaab67f5 in updateStatsThread (arg=0x1ab44c0) at src/memory_tracker.cc:31&lt;br/&gt;
#3  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#4  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
&lt;br/&gt;
Thread 4 (Thread 0x7fc8aeb5d700 (LWP 17646)):&lt;br/&gt;
#0  0x00007fc8b022d7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0&lt;br/&gt;
#1  0x00007fc8aeb614d6 in logger_thead_main (arg=0x1ab4040) at extensions/loggers/file_logger.c:368&lt;br/&gt;
#2  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#3  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
&lt;br/&gt;
Thread 3 (Thread 0x7fc8a9028700 (LWP 17654)):&lt;br/&gt;
#0  0x00007fc8b022d7bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0&lt;br/&gt;
#1  0x00007fc8aaa76f28 in wait (this=0x63a2090, d=...) at src/syncobject.hh:58&lt;br/&gt;
#2  IdleTask::run (this=0x63a2090, d=...) at src/dispatcher.cc:336&lt;br/&gt;
#3  0x00007fc8aaa795ea in Dispatcher::run (this=0x636aa80) at src/dispatcher.cc:173&lt;br/&gt;
#4  0x00007fc8aaa79eeb in launch_dispatcher_thread (arg=0x636aa80) at src/dispatcher.cc:28&lt;br/&gt;
#5  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#6  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
&lt;br/&gt;
Thread 2 (Thread 0x7fc8af772700 (LWP 17645)):&lt;br/&gt;
#0  0x00007fc8aff6a3dd in read () from /lib64/libc.so.6&lt;br/&gt;
#1  0x00007fc8aff01248 in _IO_new_file_underflow () from /lib64/libc.so.6&lt;br/&gt;
#2  0x00007fc8aff02d4e in _IO_default_uflow_internal () from /lib64/libc.so.6&lt;br/&gt;
#3  0x00007fc8afef753a in _IO_getline_info_internal () from /lib64/libc.so.6&lt;br/&gt;
#4  0x00007fc8afef6399 in fgets () from /lib64/libc.so.6&lt;br/&gt;
#5  0x00007fc8af773939 in check_stdin_thread (arg=&amp;lt;value optimized out&amp;gt;) at extensions/daemon/stdin_check.c:37&lt;br/&gt;
#6  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#7  0x00007fc8aff776dd in clone () from /lib64/libc.so.6&lt;br/&gt;
---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br/&gt;
&lt;br/&gt;
Thread 1 (Thread 0x7fc8a7c26700 (LWP 17656)):&lt;br/&gt;
#0  0x00007fc8afec28a5 in raise () from /lib64/libc.so.6&lt;br/&gt;
#1  0x00007fc8afec4085 in abort () from /lib64/libc.so.6&lt;br/&gt;
#2  0x0000000000404315 in release_cookie (cookie=&amp;lt;value optimized out&amp;gt;) at daemon/memcached.c:6707&lt;br/&gt;
#3  0x00007fc8adf55009 in bucket_engine_release_cookie (cookie=0x62c3b80) at bucket_engine.c:2565&lt;br/&gt;
#4  0x00007fc8aaa9461a in EventuallyPersistentEngine::releaseCookie (this=0x6374000, cookie=0x62c3b80) at src/ep_engine.cc:1230&lt;br/&gt;
#5  0x00007fc8aaabf376 in TapConnection::releaseReference (this=0x638a000, force=&amp;lt;value optimized out&amp;gt;) at src/tapconnection.cc:110&lt;br/&gt;
#6  0x00007fc8aaad2aeb in TapConnectionReaperCallback::callback(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /opt/couchbase/lib/memcached/ep.so&lt;br/&gt;
#7  0x00007fc8aaa795ea in Dispatcher::run (this=0x636b6c0) at src/dispatcher.cc:173&lt;br/&gt;
#8  0x00007fc8aaa79eeb in launch_dispatcher_thread (arg=0x636b6c0) at src/dispatcher.cc:28&lt;br/&gt;
#9  0x00007fc8b0229851 in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#10 0x00007fc8aff776dd in clone () from /lib64/libc.so.6</description>
                <environment>&lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.1-153-rel.deb.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.1-153-rel.deb.manifest.xml&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
source : destination :: 7 : 5 &lt;br/&gt;
default, saslbucket ( both unidirectional)&lt;br/&gt;
2 views for each bucket on each cluster&lt;br/&gt;
&lt;br/&gt;
4 core SSDs 30GB CentOS</environment>
            <key id="22678">MB-7735</key>
            <summary>Memcached crash on a node on the destination cluster </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="abhinav">Abhinav Dangeti</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Feb 2013 13:51:09 -0600</created>
                <updated>Fri, 17 May 2013 17:17:34 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>14</watches>
                                                    <comments>
                    <comment id="50314" author="junyi" created="Wed, 13 Feb 2013 14:04:19 -0600"  >memcached crashed after 36 hours test. From source, XDCR just tried to replicate as expected but suddenly at a timepoint, destination node is not accessible due to memcached crash. And the web UI at destination is also not accessible at this time&lt;br/&gt;
&lt;br/&gt;
ep_engine team,  can you please take  a first look? Thanks.</comment>
                    <comment id="50316" author="abhinav" created="Wed, 13 Feb 2013 14:17:13 -0600"  >Very high erlang and memcached usage on the nodes with inbound XDCR and multiple views.&lt;br/&gt;
&lt;br/&gt;
&amp;#39;top&amp;#39; results:&lt;br/&gt;
&lt;br/&gt;
10.6.2.68:&lt;br/&gt;
&amp;nbsp;7851 couchbas  20   0 4069m 2.4g  40m S 61.9  7.8   1636:56 beam.smp                                                                                                                                                                       &lt;br/&gt;
&amp;nbsp;1963 couchbas  20   0 15.0g  14g 2684 S 21.5 47.3  89:04.92 memcached &lt;br/&gt;
&lt;br/&gt;
10.6.2.45:&lt;br/&gt;
10617 couchbas  20   0 6853m 4.3g  40m S 134.4 14.0   2363:19 beam.smp                                                                                                                                                                                                                                                                                                                                                &lt;br/&gt;
10783 couchbas  20   0 16.6g  11g 2600 S  1.0 37.0 573:37.54 memcached &lt;br/&gt;
&lt;br/&gt;
10.6.2.66:&lt;br/&gt;
30917 couchbas  20   0 7418m 4.9g  40m S 110.4 16.6   2128:11 beam.smp                                                                                                                                                                      &lt;br/&gt;
&amp;nbsp;6793 couchbas  20   0 15.0g  14g 2552 S  1.8 50.0  12:47.97 memcached  &lt;br/&gt;
&lt;br/&gt;
10.6.2.69:&lt;br/&gt;
29428 couchbas  20   0 8233m 5.7g  40m S 95.9 18.4   1845:56 beam.smp                                                                                                                                                                       &lt;br/&gt;
&amp;nbsp;&amp;nbsp;879 couchbas  20   0 15.1g  13g 2572 S  5.2 44.9 434:52.01 memcached</comment>
                    <comment id="50317" author="junyi" created="Wed, 13 Feb 2013 14:24:29 -0600"  >Abhinav,&lt;br/&gt;
&lt;br/&gt;
The destination seems not accessible to me. Can you please upload the diag or log of dest cluster? </comment>
                    <comment id="50319" author="abhinav" created="Wed, 13 Feb 2013 14:28:37 -0600"  >sure, could you try &lt;a href=&quot;http://10.6.2.89:8091/&quot;&gt;http://10.6.2.89:8091/&lt;/a&gt; , the other 4 nodes seem unaccessible.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/MB-7735/ns-diag-20130213122639.txt.zip&quot;&gt;https://s3.amazonaws.com/bugdb/MB-7735/ns-diag-20130213122639.txt.zip&lt;/a&gt;</comment>
                    <comment id="50479" author="abhinav" created="Thu, 14 Feb 2013 17:15:09 -0600"  >Based on a recent  conversation with Chiyoung mentioned that this is a known issue that happens sometimes when there is a heavy load on the cluster (indexing + compaction of views running on destination cluster: 2 views per bucket, 2 buckets, 2 inbound replication streams from source for the 2 buckets) and that there is an other duplicate bug with a similar memcached crash (possibly occurred during the tap connections in the destination cluster).&lt;br/&gt;
Also Junyi had to say that XDCR does backoff based on the how the destination is doing (if disk write queue on destination is very high and increasing); We could try and reduce and load on the destination (by reducing the number of views or by reducing the number of vbucket replicators) and see how the destination does; Still need to figure out why the other 3 nodes went into pending state with core generated on just the one node.</comment>
                    <comment id="50481" author="jin" created="Thu, 14 Feb 2013 17:23:02 -0600"  >Chiyoung/Abhinav - maybe this is the similar bug you are referring to? &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7601&quot;&gt;http://www.couchbase.com/issues/browse/MB-7601&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I guess if the crash turns out to be the same issue as &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7601&quot; title=&quot;memcached crashed in notifyIOComplete (TapConnMap::notifyPausedConnection_UNLOCKED ) when rebalancing a mixed 1.8.1/2.0.1 cluster after  2.0.1 node warms up&quot;&gt;&lt;strike&gt;MB-7601&lt;/strike&gt;&lt;/a&gt; we may defer it to 2.0.2 with pending workarounds (reduced # of replicators or reduced # of views). Please update the bug after confirming suggested workarounds.</comment>
                    <comment id="50614" author="jin" created="Fri, 15 Feb 2013 17:57:22 -0600"  >Per bug scrubs, any memcached crash is to be treated as blockers for 2.0.1. Thanks.</comment>
                    <comment id="50620" author="chiyoung" created="Fri, 15 Feb 2013 19:02:24 -0600"  >Mike,&lt;br/&gt;
&lt;br/&gt;
Please take a second eye into this issue.</comment>
                    <comment id="50830" author="mikew" created="Tue, 19 Feb 2013 13:09:30 -0600"  >Abhinav,&lt;br/&gt;
&lt;br/&gt;
Please re-run this test and let me know if you can get a core dump for this crash so I can investigate it further. If you cannot reproduce it then let&amp;#39;s close the issue for now.</comment>
                    <comment id="50835" author="mikew" created="Tue, 19 Feb 2013 13:13:23 -0600"  >See &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7601&quot; title=&quot;memcached crashed in notifyIOComplete (TapConnMap::notifyPausedConnection_UNLOCKED ) when rebalancing a mixed 1.8.1/2.0.1 cluster after  2.0.1 node warms up&quot;&gt;&lt;strike&gt;MB-7601&lt;/strike&gt;&lt;/a&gt; for a similar stack trace.</comment>
                    <comment id="50908" author="ketaki" created="Tue, 19 Feb 2013 22:31:29 -0600"  >We are running views independent of xdcr for the current sprint.&lt;br/&gt;
&lt;br/&gt;
Will resume the xdcr+views from the next sprint onwards.</comment>
                    <comment id="50914" author="jin" created="Wed, 20 Feb 2013 00:09:17 -0600"  >Deferring this to 2.0.2 as is a duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7601&quot; title=&quot;memcached crashed in notifyIOComplete (TapConnMap::notifyPausedConnection_UNLOCKED ) when rebalancing a mixed 1.8.1/2.0.1 cluster after  2.0.1 node warms up&quot;&gt;&lt;strike&gt;MB-7601&lt;/strike&gt;&lt;/a&gt;, QE will reopen if currently running tests run into the same issue.</comment>
                    <comment id="51137" author="mikew" created="Thu, 21 Feb 2013 15:43:29 -0600"  >Please assign back to me if you find a core dump. Otherwise I&amp;#39;m not sure what else I can do here.</comment>
                    <comment id="52022" author="jin" created="Tue, 5 Mar 2013 02:47:08 -0600"  >core file is in the specified location above but no cbcollect info</comment>
                    <comment id="52057" author="mikew" created="Tue, 5 Mar 2013 13:22:37 -0600"  >This thread crashed in memcached because the thread in the connection is null.&lt;br/&gt;
&lt;br/&gt;
Thread 1 (Thread 0x47718940 (LWP 17718)):&lt;br/&gt;
#0  add_conn_to_pending_io_list (cookie=0x164c7340, status=ENGINE_SUCCESS) at daemon/thread.c:722&lt;br/&gt;
#1  notify_io_complete (cookie=0x164c7340, status=ENGINE_SUCCESS) at daemon/thread.c:488&lt;br/&gt;
#2  0x00002aaaaaf4a4fd in notifyIOComplete (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/ep_engine.h:439&lt;br/&gt;
#3  TapConnMap::notifyPausedConnection_UNLOCKED (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/tapconnmap.cc:347&lt;br/&gt;
#4  0x00002aaaaaee4901 in performTapOp&amp;lt;void*&amp;gt; (this=0x173d3f80, d=&amp;lt;value optimized out&amp;gt;, t=&amp;lt;value optimized out&amp;gt;) at src/tapconnmap.hh:119&lt;br/&gt;
#5  BackfillDiskLoad::callback (this=0x173d3f80, d=&amp;lt;value optimized out&amp;gt;, t=&amp;lt;value optimized out&amp;gt;) at src/backfill.cc:78&lt;br/&gt;
#6  0x00002aaaaaef473a in Dispatcher::run (this=0x16583880) at src/dispatcher.cc:173&lt;br/&gt;
#7  0x00002aaaaaef503b in launch_dispatcher_thread (arg=0x16583880) at src/dispatcher.cc:28&lt;br/&gt;
#8  0x00002b9d8d23a77d in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#9  0x00002b9d8d52225d in clone () from /lib64/libc.so.6&lt;br/&gt;
(gdb) &lt;br/&gt;
(gdb) frame&lt;br/&gt;
#0  add_conn_to_pending_io_list (cookie=0x164c7340, status=ENGINE_SUCCESS) at daemon/thread.c:722&lt;br/&gt;
722	in daemon/thread.c&lt;br/&gt;
(gdb) info locals&lt;br/&gt;
notify = 0&lt;br/&gt;
(gdb) info args&lt;br/&gt;
c = 0x164c7340&lt;br/&gt;
(gdb) print c&lt;br/&gt;
$1 = (conn *) 0x164c7340&lt;br/&gt;
(gdb) print *c&lt;br/&gt;
$2 = {sfd = -1, nevents = 1, sasl_conn = 0x0, state = 0x405c80 &amp;lt;conn_immediate_close&amp;gt;, substate = bin_reading_packet, registered_in_libevent = false, event = {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ev_active_next = {tqe_next = 0x11ce1a08, tqe_prev = 0x11cdc080}, ev_next = {tqe_next = 0x0, tqe_prev = 0x164c78f0}, ev_timeout_pos = {ev_next_with_common_timeout = {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tqe_next = 0xffffffff, tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 71, ev_base = 0x16546280, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0x1e413e20}, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ev_timeout = {tv_sec = 0, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0x1e413e20}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 22, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ev_res = 0, ev_flags = 128, ev_pri = 0 &amp;#39;\000&amp;#39;, ev_closure = 2 &amp;#39;\002&amp;#39;, ev_timeout = {tv_sec = 0, tv_usec = 0}, ev_callback = 0x405d60 &amp;lt;event_handler&amp;gt;, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ev_arg = 0x164c7340}, ev_flags = 22, which = 2, rbuf = 0x1652f800 &amp;quot;&amp;quot;, rcurr = 0x1eec0000 &amp;quot;&amp;quot;, rsize = 2048, rbytes = 0, wbuf = 0x164c8000 &amp;quot;\200A&amp;quot;, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;wcurr = 0x164c8000 &amp;quot;\200A&amp;quot;, wsize = 2048, wbytes = 284795, write_and_go = 0x413960 &amp;lt;conn_ship_log&amp;gt;, write_and_free = 0x0, ritem = 0x1eec0810 &amp;quot;\201A&amp;quot;, rlbytes = 0, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;item = 0x0, store_op = 0, sbytes = 0, iov = 0x164d2800, iovsize = 400, iovused = 0, msglist = 0x164c4fc0, msgsize = 10, msgused = 1, msgcurr = 0, msgbytes = 0, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;ilist = 0x164b2000, isize = 200, icurr = 0x164b2000, ileft = 0, suffixlist = 0x164700a0, suffixsize = 20, suffixcurr = 0x164700a0, suffixleft = 0, protocol = binary_prot, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;transport = tcp_transport, request_id = 0, request_addr = {ss_family = 0, __ss_align = 0, __ss_padding = &amp;#39;\000&amp;#39; &amp;lt;repeats 111 times&amp;gt;}, request_addr_size = 0, hdrbuf = 0x0, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;hdrsize = 0, noreply = false, refcount = 1 &amp;#39;\001&amp;#39;, dynamic_buffer = {buffer = 0x0, size = 2048, offset = 32}, engine_storage = 0x0, ascii_cmd = 0x0, binary_header = {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;request = {magic = 129 &amp;#39;\201&amp;#39;, opcode = 65 &amp;#39;A&amp;#39;, keylen = 0, extlen = 0 &amp;#39;\000&amp;#39;, datatype = 0 &amp;#39;\000&amp;#39;, vbucket = 0, bodylen = 0, opaque = 1082130944, cas = 0}, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bytes = &amp;quot;\201A&amp;quot;, &amp;#39;\000&amp;#39; &amp;lt;repeats 11 times&amp;gt;, &amp;quot;\002\200@\000\000\000\000\000\000\000&amp;quot;}, cas = 0, cmd = 65, opaque = 1082130944, keylen = 0, list_state = 0, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;next = 0x164a38c0, thread = 0x0, aiostat = ENGINE_SUCCESS, ewouldblock = true, tap_iterator = 0, parent_port = 11209}&lt;br/&gt;
(gdb) </comment>
                    <comment id="52058" author="mikew" created="Tue, 5 Mar 2013 13:23:18 -0600"  >Trond,&lt;br/&gt;
&lt;br/&gt;
Please see my comments above. The core file is also still available if you need to dig any further.</comment>
                    <comment id="52067" author="trond" created="Tue, 5 Mar 2013 14:35:25 -0600"  >The code calls release_cookie on a cookie that is already closed. Could there be code paths where release_cookie is called _twice_, or that reserve_cookie isn&amp;#39;t called? &lt;br/&gt;
&lt;br/&gt;
All operations that happens &amp;quot;async&amp;quot; in connections thats running duplex needs to call reserve_cookie if they are doing stuff with a cookie in the background. WIthout that you might get a disconnect from the frontend and memcached don&amp;#39;t think the cookie is in use so it will close the connection immediately.</comment>
                    <comment id="52261" author="mikew" created="Thu, 7 Mar 2013 13:45:09 -0600"  >See &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7855&quot; title=&quot;mixed cluster(1.8.1, 2.0.1) : memcached crashed during rebalance: Port server memcached on node A exited with status 139&quot;&gt;&lt;strike&gt;MB-7855&lt;/strike&gt;&lt;/a&gt; for another stack trace related to this issue.</comment>
                    <comment id="52265" author="thuan" created="Thu, 7 Mar 2013 14:28:09 -0600"  >memcached coredump from online upgrade from 1.8.1-945 to 2.0.1-170  &lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7735/core.memcached-7735-2.0.1-6895.gz&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7735/core.memcached-7735-2.0.1-6895.gz&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
memcached crashed during swap rebalance as I updated in bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7855&quot; title=&quot;mixed cluster(1.8.1, 2.0.1) : memcached crashed during rebalance: Port server memcached on node A exited with status 139&quot;&gt;&lt;strike&gt;MB-7855&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="52267" author="thuan" created="Thu, 7 Mar 2013 14:35:17 -0600"  >Links to diags, collect info &lt;a href=&quot;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201303/6nodes-diags-colinfo-ec2-online-upgrade-181_945-201_170-memcached_crashed-20130307.tgz&quot;&gt;https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_1/201303/6nodes-diags-colinfo-ec2-online-upgrade-181_945-201_170-memcached_crashed-20130307.tgz&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Link to stack trace  &lt;a href=&quot;https://friendpaste.com/7QRfJfkG2r9w7roPLyRdMJ&quot;&gt;https://friendpaste.com/7QRfJfkG2r9w7roPLyRdMJ&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="52475" author="mikew" created="Mon, 11 Mar 2013 19:13:17 -0500"  >(gdb) bt&lt;br/&gt;
#0  add_conn_to_pending_io_list (cookie=0x164c7340, status=ENGINE_SUCCESS) at daemon/thread.c:722&lt;br/&gt;
#1  notify_io_complete (cookie=0x164c7340, status=ENGINE_SUCCESS) at daemon/thread.c:488&lt;br/&gt;
#2  0x00002aaaaaf4a4fd in notifyIOComplete (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/ep_engine.h:439&lt;br/&gt;
#3  TapConnMap::notifyPausedConnection_UNLOCKED (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/tapconnmap.cc:347&lt;br/&gt;
#4  0x00002aaaaaee4901 in performTapOp&amp;lt;void*&amp;gt; (this=0x173d3f80, d=&amp;lt;value optimized out&amp;gt;, t=&amp;lt;value optimized out&amp;gt;) at src/tapconnmap.hh:119&lt;br/&gt;
#5  BackfillDiskLoad::callback (this=0x173d3f80, d=&amp;lt;value optimized out&amp;gt;, t=&amp;lt;value optimized out&amp;gt;) at src/backfill.cc:78&lt;br/&gt;
#6  0x00002aaaaaef473a in Dispatcher::run (this=0x16583880) at src/dispatcher.cc:173&lt;br/&gt;
#7  0x00002aaaaaef503b in launch_dispatcher_thread (arg=0x16583880) at src/dispatcher.cc:28&lt;br/&gt;
#8  0x00002b9d8d23a77d in start_thread () from /lib64/libpthread.so.0&lt;br/&gt;
#9  0x00002b9d8d52225d in clone () from /lib64/libc.so.6&lt;br/&gt;
(gdb) frame 3&lt;br/&gt;
#3  TapConnMap::notifyPausedConnection_UNLOCKED (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/tapconnmap.cc:347&lt;br/&gt;
347	src/tapconnmap.cc: No such file or directory.&lt;br/&gt;
	in src/tapconnmap.cc&lt;br/&gt;
(gdb) p *((TapConnection*)tc)&lt;br/&gt;
$1 = {_vptr.TapConnection = 0x2aaaab1c4590, static tapCounter = {value = 408}, engine = @0x16542000, cookie = 0x164c6840, name = &amp;quot;eq_tapq:&lt;a href=&apos;mailto:replication_ns_1@10.3.3.94&apos;&gt;replication_ns_1@10.3.3.94&lt;/a&gt;&amp;quot;, created = 460, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;connToken = 8109446884534031, expiryTime = 4294967295, connected = true, disconnect = false, numDisconnects = {value = 14}, supportAck = true, supportCheckpointSync = true, reserved = {value = true}, stats = @0x165422e0, logString = &amp;quot;TAP (Producer) eq_tapq:&lt;a href=&apos;mailto:replication_ns_1@10.3.3.94&apos;&gt;replication_ns_1@10.3.3.94&lt;/a&gt; -&amp;quot;}&lt;br/&gt;
(gdb) frame 2&lt;br/&gt;
#2  0x00002aaaaaf4a4fd in notifyIOComplete (this=&amp;lt;value optimized out&amp;gt;, tc=0x16d13400) at src/ep_engine.h:439&lt;br/&gt;
439	src/ep_engine.h: No such file or directory.&lt;br/&gt;
	in src/ep_engine.h&lt;br/&gt;
(gdb) info args&lt;br/&gt;
status = ENGINE_SUCCESS&lt;br/&gt;
cookie = 0x164c7340&lt;br/&gt;
this = 0x16542000&lt;br/&gt;
&lt;br/&gt;
Notice how in the 3rd frame when I inspect the cookie on the tap connection it has address 0x164c6840, but then in the next function when I look at the cookie passed to it the cookie has address 0x164c7340. All that happens to get this cookie from the tap connection is a call to tp-&amp;gt;getCookie() which simply return the tap connections cookie. It is also not possible to change the cookie between these calls since the only place you can change the cookie requires the same lock as the one we are currently holding. Below is the code for the 2 functions I mentioned.&lt;br/&gt;
&lt;br/&gt;
void TapConnMap::notifyPausedConnection_UNLOCKED(TapProducer *tc) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (tc &amp;amp;&amp;amp; tc-&amp;gt;paused) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;engine.notifyIOComplete(tc-&amp;gt;getCookie(), ENGINE_SUCCESS);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tc-&amp;gt;notifySent.set(true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
void notifyIOComplete(const void *cookie, ENGINE_ERROR_CODE status) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (cookie == NULL) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LOG(EXTENSION_LOG_WARNING, &amp;quot;Tried to signal a NULL cookie!&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BlockTimer bt(&amp;amp;stats.notifyIOHisto);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EventuallyPersistentEngine *epe = ObjectRegistry::onSwitchThread(NULL, true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;serverApi-&amp;gt;cookie-&amp;gt;notify_io_complete(cookie, status);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ObjectRegistry::onSwitchThread(epe);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
}</comment>
                    <comment id="52832" author="xiaoqin" created="Thu, 14 Mar 2013 14:41:18 -0500"  >When we calling notifyPausedConnection_UNLOCKED(tp), we don&amp;#39;t hold any lock, I am not sure we do it purposely or it is a potential bug:&lt;br/&gt;
&lt;br/&gt;
bool performTapOp(const std::string &amp;amp;name, TapOperation&amp;lt;V&amp;gt; &amp;amp;tapop, V arg) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bool ret(true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LockHolder lh(notifySync);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TapConnection *tc = findByName_UNLOCKED(name);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (tc) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TapProducer *tp = dynamic_cast&amp;lt;TapProducer*&amp;gt;(tc);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;assert(tp != NULL);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tapop.perform(tp, arg);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lh.unlock();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;notifyPausedConnection_UNLOCKED(tp);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ret = false;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return ret;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}</comment>
                    <comment id="52837" author="mikew" created="Thu, 14 Mar 2013 15:22:16 -0500"  >Xiaoqin,&lt;br/&gt;
&lt;br/&gt;
We grab the notifySync lock in the performTapOp function so we don&amp;#39;t need to grab the lock when in notifyPausedConnection_UNLOCKED. In ep_engine calling any function with _UNLOCKED appended to the end means that the calling function should grab the lock before calling and unlocked function.</comment>
                    <comment id="52842" author="xiaoqin" created="Thu, 14 Mar 2013 15:29:27 -0500"  >See the code, right before calling notifyPausedConnection, we release the lock. </comment>
                    <comment id="52849" author="mikew" created="Thu, 14 Mar 2013 15:58:10 -0500"  >I missed that. Thanks for pointing that out and that might fix the problem. I will upload a code review, but I would also like to get Chiyoung&amp;#39;s opinion on this since he introduced the code that released the lock there.</comment>
                    <comment id="53410" author="maria" created="Mon, 25 Mar 2013 13:11:24 -0500"  >bug scrub: chiyoung -- have you taken a look at this? pls update. thanks.&lt;br/&gt;
</comment>
                    <comment id="53416" author="jin" created="Mon, 25 Mar 2013 13:25:24 -0500"  >EP Engine team (MV) has been working on this with possible fixes. Please assign this to Mike so he can reassign to the right engineer. Thanks. </comment>
                    <comment id="53435" author="mikew" created="Mon, 25 Mar 2013 14:04:29 -0500"  >Chiyoung is the right engineer to look at this. I would like to get his perspective. I will also take another look sometime this week.</comment>
                    <comment id="54673" author="mikew" created="Tue, 9 Apr 2013 14:25:37 -0500"  >Abhinav,&lt;br/&gt;
&lt;br/&gt;
Please verify that you no longer see this crash in the toy build below. It is a 2.0.2 build with an ep-engine patch.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-17-toy-mikewied.rpm&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-17-toy-mikewied.rpm&lt;/a&gt;</comment>
                    <comment id="55151" author="maria" created="Tue, 16 Apr 2013 10:21:53 -0500"  >abhinav will repro in toy build by tomorrow (end of this week at the latest). looking for hw resource.</comment>
                    <comment id="55174" author="mikew" created="Tue, 16 Apr 2013 12:21:50 -0500"  >I need to make a new toy build and will assign this back to Abhinav when I am done.</comment>
                    <comment id="55255" author="mikew" created="Tue, 16 Apr 2013 19:30:43 -0500"  >&lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-19-toy-mikewied.rpm&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-19-toy-mikewied.rpm&lt;/a&gt;</comment>
                    <comment id="55761" author="maria" created="Mon, 22 Apr 2013 12:45:29 -0500"  >abhinav, pls update with your test result using the toy build from mike. thanks.</comment>
                    <comment id="55777" author="Chisheng" created="Mon, 22 Apr 2013 13:53:43 -0500"  >With Mike&amp;#39;s toy build 2.0.0 mikewied edition (build-19), I set up 4 node cluster (10.6.2.66) as xdcr source and 3 node cluster (10.6.2.43) as xdcr destination. For both clusters, create 2 buckets, 12.7G memory quota for default bucket and 7 G memory quota for saslbucket and create 1 ddoc with 2 views  for each bucket. On source cluster, load around 40M items (512 Byte for each item) to make these 2 buckets dgm state. 70% for default and 40% for saslbucket. During the initial loading, create uni-directional xdcr from source to destination.&lt;br/&gt;
&lt;br/&gt;
After initial indexing and xdcr replication for initial load between 2 clusters finished, start the data access phase on Saturday morning, April 20. During this phase, workload ratio is set:5,update:5,get:80,delete:5,expire:5 with ops per second 8K for 4 node cluster on source and query is 120 view reads per second. No workload was running on destination.&lt;br/&gt;
&lt;br/&gt;
The observation is that after the workload was running for around 12 hours, core.memcached.xxxx began to be generated. All the nodes on source are all in pending state now after the workload rans for 2 days. The source cluster is unresponsive.&lt;br/&gt;
</comment>
                    <comment id="55781" author="Chisheng" created="Mon, 22 Apr 2013 15:07:57 -0500"  >Hi Mike if you want me or Abhinav to do some other test, assign this ticket back.</comment>
                    <comment id="56551" author="maria" created="Mon, 29 Apr 2013 19:50:22 -0500"  >per mike this morning&amp;#39;s scrub, he will be fixing this for 2.0.2.</comment>
                    <comment id="57095" author="wayne" created="Fri, 3 May 2013 16:22:19 -0500"  >@Mike, slso see comments from ChiYoung in tickets &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8192&quot; title=&quot;[system test] memcached crash when load items to bucket&quot;&gt;&lt;strike&gt;MB-8192&lt;/strike&gt;&lt;/a&gt;/&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8193&quot; title=&quot;[system test] Memcached segfault during rebalance with workload running causes rebalance failure&quot;&gt;&lt;strike&gt;MB-8193&lt;/strike&gt;&lt;/a&gt;.  BTW, do you have any update?  Thanks.</comment>
                    <comment id="57494" author="maria" created="Tue, 7 May 2013 20:24:37 -0500"  >we got a toy build from mike today: &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-19-toy-mikewied.rpm&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_toy-mikewied-x86_64_2.0.0-19-toy-mikewied.rpm&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
chisheng/abhinav will re-run this test as soon as hw is free&amp;#39;d up.</comment>
                    <comment id="57657" author="maria" created="Wed, 8 May 2013 20:01:09 -0500"  >mike to drop a new toy build to chisheng with mrw code in it.&lt;br/&gt;
he&amp;#39;ll also try to loan 4 vms to QE for this test run...&lt;br/&gt;
thanks, mike.</comment>
                    <comment id="57735" author="maria" created="Thu, 9 May 2013 15:58:02 -0500"  >mike delivered a toy build an hour ago. chisheng is running the test. he will update this bug with his test result.</comment>
                    <comment id="58298" author="maria" created="Tue, 14 May 2013 18:16:29 -0500"  >per mike, he has to give chisheng another toy build.</comment>
                    <comment id="58519" author="maria" created="Thu, 16 May 2013 13:51:50 -0500"  >per mike, wait until build is stable. he will issue another toybuild today --- QE has to let him know as soon as the build is stable. Maria will update this bug in the next few hours.</comment>
                    <comment id="58679" author="wayne" created="Fri, 17 May 2013 17:17:34 -0500"  >Mike to give a build to QE by Monday 05.20.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Feb 2013 14:04:19 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>507</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10050" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Sprint Priority</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1.0</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8238] NO menu bar to access menu commands after installation and click the Couchbase icon on MAC</title>
                <link>http://www.couchbase.com/issues/browse/MB-8238</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>1. Intall Couchbase server on MAC Lion OS&lt;br/&gt;
2. Click Couchbase Icon no access menu poped out&lt;br/&gt;
&lt;br/&gt;
For previous build like 755, we have this access menu. The screen shot is from 755</description>
                <environment>build-2.0.2-793</environment>
            <key id="24175">MB-8238</key>
            <summary>NO menu bar to access menu commands after installation and click the Couchbase icon on MAC</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="traun">Traun Leyden</assignee>
                                <reporter username="Chisheng">Chisheng Hong</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 20:56:04 -0500</created>
                <updated>Fri, 17 May 2013 18:03:39 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="57819" author="maria" created="Fri, 10 May 2013 13:51:04 -0500"  >assigning to bin. has nothing to do with ns_server.</comment>
                    <comment id="58018" author="rmayuram" created="Mon, 13 May 2013 12:22:08 -0500"  >Chisheng, the image shows the menu ... can you clarify the issue and show it to Tarun L?&lt;br/&gt;
&lt;br/&gt;
thanks,&lt;br/&gt;
ravi&lt;br/&gt;
</comment>
                    <comment id="58039" author="Chisheng" created="Mon, 13 May 2013 14:19:00 -0500"  >There should be a couchbase icon on menu bar for Mac after you open couchbase app and when you click it you can see some option like &amp;quot;about couchbase server&amp;quot;, &amp;quot;open admin console&amp;quot;. But for build 793, I did not see this anymore. The screen shot shows how the couchbase menu icon looks like in previous build. It&amp;#39;s in the upper right part of the screen shot.</comment>
                    <comment id="58553" author="maria" created="Thu, 16 May 2013 16:39:15 -0500"  >per bug triage, promoting to blocker since there&amp;#39;s no way to access the Couchbase Server from the MAC without this icon.</comment>
                    <comment id="58595" author="traun" created="Thu, 16 May 2013 20:37:28 -0500"  >I&amp;#39;m installing VMWare Fusion with a Mountain Lion OSX guest OS, so I can do repeatable experiments and have control over the environment (and not mess with my released version of the Couchbase server running on my macbook)&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m currently waiting for a 4.4 GB download to finish.  (it&amp;#39;s crawling)</comment>
                    <comment id="58629" author="traun" created="Fri, 17 May 2013 12:24:32 -0500"  >I have installed this build:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://builder.hq.couchbase.com/get/couchbase-server-community_x86_64_2.0.2-806-rel.zip&quot;&gt;http://builder.hq.couchbase.com/get/couchbase-server-community_x86_64_2.0.2-806-rel.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
to a virtual machine running a clean install of Mountain Lion.&lt;br/&gt;
&lt;br/&gt;
What I see is that it&amp;#39;s actually in the menu bar, but the icon is just a small &amp;quot;dot&amp;quot; rather than the couch icon.   (see CouchbaseMenubar attachment)&lt;br/&gt;
&lt;br/&gt;
@Chisheng is this what you are seeing too?  Or in your case, is there not even a &amp;quot;dot&amp;quot; icon?&lt;br/&gt;
</comment>
                    <comment id="58630" author="rmayuram" created="Fri, 17 May 2013 12:30:40 -0500"  >Now that you mention it, I see that as well (just a period)  - which is build 793, so Chisheng must see that as well.</comment>
                    <comment id="58664" author="traun" created="Fri, 17 May 2013 15:36:56 -0500"  >Don&amp;#39;t have a fix yet, but found a workaround which sheds some light on the issue.  &lt;br/&gt;
&lt;br/&gt;
If I resize the Couchbase-Status-bw.png icon on the file system from 16x16 -&amp;gt; 116x116, it appears at closer to the normal size.  (see attached screenshot Couchbase-Menubar-Resized.png)</comment>
                    <comment id="58688" author="traun" created="Fri, 17 May 2013 18:03:31 -0500"  >I modified the image to have 72 DPI (was: 499 DPI), left the size the same, and it fixed the issue.  Screenshot attached: CouchbaseMenubar-Fixed.png&lt;br/&gt;
&lt;br/&gt;
Have submitted to Gerrit for code review: &lt;a href=&quot;http://review.couchbase.org/#/c/26392/&quot;&gt;http://review.couchbase.org/#/c/26392/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="17383" name="CouchbaseMenubar-Fixed.png" size="75068" author="traun" created="Fri, 17 May 2013 18:03:31 -0500" />
                    <attachment id="17375" name="Couchbase-Menubar.png" size="867676" author="traun" created="Fri, 17 May 2013 12:24:32 -0500" />
                    <attachment id="17379" name="Couchbase-Menubar-Resized.png" size="24341" author="traun" created="Fri, 17 May 2013 15:36:56 -0500" />
                    <attachment id="17293" name="ns-diag-20130509185236.txt.zip" size="797164" author="Chisheng" created="Thu, 9 May 2013 20:56:04 -0500" />
                    <attachment id="17294" name="Screen Shot 2013-05-09 at 6.53.45 PM.png" size="435612" author="Chisheng" created="Thu, 9 May 2013 20:56:04 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 10 May 2013 13:51:04 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Operating System</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10026"><![CDATA[MacOSX 64-bit]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11146</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8266] erlang crashed with error: &quot;no match of right hand side value {error, closed}...</title>
                <link>http://www.couchbase.com/issues/browse/MB-8266</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Environment:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;4 windows vm with 4 core, 4GB RAM each&lt;br/&gt;
&lt;br/&gt;
Couchbase server version 2.0.2-798&lt;br/&gt;
&lt;br/&gt;
Run sanity test with rebalance is part of the test.&lt;br/&gt;
See erlang crash in log&lt;br/&gt;
Check to see if there is an erlang crash dump in cluster =&amp;gt; no core dump.&lt;br/&gt;
&lt;br/&gt;
Error in diags&lt;br/&gt;
&lt;br/&gt;
=========================CRASH REPORT=========================&lt;br/&gt;
&amp;nbsp;&amp;nbsp;crasher:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;initial call: erlang:apply/2&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pid: &amp;lt;0.13944.1&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exception error: no match of right hand side value {error,closed}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in function  mc_binary:quick_stats_recv/3&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in call from mc_binary:quick_stats_loop/5&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in call from mc_binary:quick_stats/5&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in call from ns_memcached:do_handle_call/3&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;in call from ns_memcached:worker_loop/3&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ancestors: [&amp;#39;ns_memcached-default&amp;#39;,&amp;#39;single_bucket_sup-default&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;0.13913.1&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;messages: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;links: [&amp;lt;0.13929.1&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dictionary: []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trap_exit: false&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status: running&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;heap_size: 17711&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stack_size: 24&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reductions: 8661&lt;br/&gt;
&amp;nbsp;&amp;nbsp;neighbours:&lt;br/&gt;
&lt;br/&gt;
Link to manifest file of this build &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.2-798-rel.setup.exe.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.2-798-rel.setup.exe.manifest.xml&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>windows 2008 R2 64bit</environment>
            <key id="24234">MB-8266</key>
            <summary>erlang crashed with error: &quot;no match of right hand side value {error, closed}...</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="thuan">Thuan Nguyen</assignee>
                                <reporter username="thuan">Thuan Nguyen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 May 2013 20:05:39 -0500</created>
                <updated>Fri, 17 May 2013 19:39:43 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="58235" author="maria" created="Tue, 14 May 2013 14:16:21 -0500"  >per bug triage, bumping up to blocker.</comment>
                    <comment id="58684" author="wayne" created="Fri, 17 May 2013 17:28:50 -0500"  >QE to try with a stable build (next week) to see if this issue is reproducible.</comment>
                </comments>
                    <attachments>
                    <attachment id="17317" name="4nodes-202-798_reb-failed_memcached-crash_20130513-174918.tgz" size="21879165" author="thuan" created="Mon, 13 May 2013 20:05:39 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 14 May 2013 14:16:21 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Operating System</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10024"><![CDATA[Windows 64-bit]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11200</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7149] cbbackup loops infinitely</title>
                <link>http://www.couchbase.com/issues/browse/MB-7149</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I&amp;#39;m trying to backup my cluster via cbbackup. I start the backup via&lt;br/&gt;
/opt/couchbase/bin/cbbackup &lt;a href=&quot;couchbase://Administrator:&quot;&gt;couchbase://Administrator:&lt;/a&gt;&lt;a href=&apos;mailto:password@mymachine&apos;&gt;password@mymachine&lt;/a&gt;:8091 /backups/couchbase_backup_test&lt;br/&gt;
The backup appears to work fine and a progress bar appears, but then exceeds 100% progress and never stops! Example:&lt;br/&gt;
^Cinterrupted.###############################] 210.8% (26141950/12403784 msgs)&lt;br/&gt;
(I ctrl-C&amp;#39;d to kill it after 200% because it seems that this can&amp;#39;t possibly work. Note that both the percent and the number of messages are off). I only have ~12 million items in the bucket, but it went right past that limit when backing up.&lt;br/&gt;
Help?</description>
                <environment>Linux</environment>
            <key id="20673">MB-7149</key>
            <summary>cbbackup loops infinitely</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="bcui">Bin Cui</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                        <label>2.0-release-notes</label>
                    </labels>
                <created>Sat, 10 Nov 2012 13:53:40 -0600</created>
                <updated>Sat, 18 May 2013 05:59:48 -0500</updated>
                                    <version>2.0-beta-2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>tools</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="43826" author="steve" created="Mon, 12 Nov 2012 15:00:53 -0600"  >There&amp;#39;s a couple things going on here that probably need documentation...&lt;br/&gt;
&lt;br/&gt;
- cbbackup first contacts the server to get the # of items.  But, if the cluster is changing (there are item mutations), that # of items will just be an estimate.&lt;br/&gt;
&lt;br/&gt;
- then, cbbackup uses the TAP protocol to perform the backup.  But, under some conditions (not all item values are resident in memory), the TAP protocol might actually send duplicate messages.  That&amp;#39;s why cbbackup reports &amp;quot;msgs&amp;quot; for progress instead of &amp;quot;items&amp;quot; in its numerator, but uses &amp;quot;items&amp;quot; in its denominator.  That can lead to &amp;gt;100% in some cases.&lt;br/&gt;
&lt;br/&gt;
Whether it leads to &amp;gt;200% is somewhat unexpected, but it depends on the situation and what couchbase server is doing in generating the TAP stream.&lt;br/&gt;
</comment>
                    <comment id="43827" author="steve" created="Mon, 12 Nov 2012 15:02:21 -0600"  >The 2.0.2 filter isn&amp;#39;t correct at the moment.  Putting this into 2.0.1 for the moment as it&amp;#39;ll be revisited again.</comment>
                    <comment id="44850" author="MichaelL" created="Tue, 27 Nov 2012 13:13:30 -0600"  >(I am the original poster)&lt;br/&gt;
&lt;br/&gt;
Changing the line above to use an IP address rather than hostname seems to have fixed the problem. My backups now run to 100% and then complete as expected.&lt;br/&gt;
&lt;br/&gt;
As for the root cause: I don&amp;#39;t believe it has anything to do with the cluster changing, since I first encountered this when trying to backup an essentially idle cluster.</comment>
                    <comment id="45576" author="bcui" created="Thu, 6 Dec 2012 12:07:12 -0600"  >Verified on a multi-node cluster that cbtransfer get the total item number correctly. And fail to reproduce the bug on the idle cluster.</comment>
                    <comment id="45582" author="mikew" created="Thu, 6 Dec 2012 12:53:55 -0600"  >I asked the user on the forums for more information to reproduce this issue. I will post the information here if and when he responds.</comment>
                    <comment id="45722" author="farshid" created="Mon, 10 Dec 2012 11:30:20 -0600"  >deferring to 2.1 per bug scrub meeting ( Dipti &amp;amp; Farshid -December 7th )</comment>
                    <comment id="47054" author="pauluswaulus" created="Fri, 4 Jan 2013 02:24:39 -0600"  >I have the same problem.&lt;br/&gt;
Observed progress over 32000%.&lt;br/&gt;
The expected msgs to save is far less than the actual msgs saved.&lt;br/&gt;
Restore will load the same number of msgs as were actually saved.&lt;br/&gt;
This will impact backup and restore time.&lt;br/&gt;
This will impact diskspace.</comment>
                    <comment id="47056" author="pauluswaulus" created="Fri, 4 Jan 2013 02:33:14 -0600"  >Version info: 2.0.0 community edition (build-1723)&lt;br/&gt;
</comment>
                    <comment id="47058" author="pauluswaulus" created="Fri, 4 Jan 2013 02:45:56 -0600"  >Using ip-address (local,external) or hostname (localhost) does not make any difference, issue remains.</comment>
                    <comment id="53411" author="maria" created="Mon, 25 Mar 2013 13:12:00 -0500"  >bug scrub: Bin -- have you had a chance to take a look? pls update.&lt;br/&gt;
thanks.</comment>
                    <comment id="53413" author="bcui" created="Mon, 25 Mar 2013 13:15:32 -0500"  >Cannot reproduce it in house.</comment>
                    <comment id="53902" author="maria" created="Mon, 1 Apr 2013 17:23:10 -0500"  >per bug scrub: abhinav -- can you please repro in latest 2.0.2 build? thanks.</comment>
                    <comment id="53946" author="abhinav" created="Mon, 1 Apr 2013 18:50:56 -0500"  >Cannot reproduce on 2.0.2-749-rel.&lt;br/&gt;
- 3 nodes, 2 buckets&lt;br/&gt;
[&lt;a href=&apos;mailto:root@orange-11601&apos;&gt;root@orange-11601&lt;/a&gt; ~]# /opt/couchbase/bin/cbbackup &lt;a href=&quot;couchbase://Administrator:&quot;&gt;couchbase://Administrator:&lt;/a&gt;&lt;a href=&apos;mailto:password@localhost&apos;&gt;password@localhost&lt;/a&gt;:8091 ~/backup&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[####################] 100.0% (8557766/8558766 msgs)&lt;br/&gt;
bucket: default, msgs transferred...&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:                total |       last |    per sec&lt;br/&gt;
&amp;nbsp;batch :                10657 |      10657 |       14.7&lt;br/&gt;
&amp;nbsp;byte  :           1131794345 | 1131794345 |  1562011.5&lt;br/&gt;
&amp;nbsp;msg   :              8558766 |    8558766 |    11812.1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[####################] 100.0% (2024739/2024739 msgs)&lt;br/&gt;
bucket: saslbucket, msgs transferred...&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:                total |       last |    per sec&lt;br/&gt;
&amp;nbsp;batch :                14775 |      14775 |       86.0&lt;br/&gt;
&amp;nbsp;byte  :           1367390279 | 1367390279 |  7955075.3&lt;br/&gt;
&amp;nbsp;msg   :             10583505 |   10583505 |    61571.7&lt;br/&gt;
done&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="54684" author="maria" created="Tue, 9 Apr 2013 19:54:06 -0500"  >not reproducible.</comment>
                    <comment id="58670" author="bcui" created="Fri, 17 May 2013 16:18:47 -0500"  >First, the error itself is harmless. The tool tried to transfer design docs and the source cluster doesn&amp;#39;t contain any. Since 2.0.2, customer can specify --data-only option for cbtransfer/cbback/cbrestore tool.&lt;br/&gt;
&lt;br/&gt;
But we still dont know the root cause why there is such a big difference between the initial msgs to be sent and the final msgs that are transferred.</comment>
                    <comment id="58673" author="bcui" created="Fri, 17 May 2013 16:36:35 -0500"  >One possible explanation about the deviant number:&lt;br/&gt;
&lt;br/&gt;
1. the estimate number is the total active item number&lt;br/&gt;
2. the actual msg tranferred = total(tap_mutations + tap_delete)&lt;br/&gt;
&lt;br/&gt;
For the above customer case where they have 2 million item deleted, we will not only the current active items, but also any deleted items.&lt;br/&gt;
At again, there will more msgs transferred if any key will have repeated set/deletions.</comment>
                    <comment id="58709" author="perry" created="Sat, 18 May 2013 05:59:48 -0500"  >Reopening for visibility.  Whether the tool is doing the &amp;quot;right&amp;quot; thing or not, there is still a major impact to the user both in terms of disk space being taken up, time being taken and perception of confidence, etc in the backup.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 12 Nov 2012 15:00:53 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>321</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>7</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-8309] online_upgrade_swap_rebalance 1.8.1-&gt;2.0.2: Rebalance exited with reason {{change_filter_failed,{&apos;EXIT&apos;,{{unexpected_reason,killed}</title>
                <link>http://www.couchbase.com/issues/browse/MB-8309</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;a href=&quot;http://qa.hq.northscale.net/job/centos-32-2.0-upgrade-P1/4/consoleFull&quot;&gt;http://qa.hq.northscale.net/job/centos-32-2.0-upgrade-P1/4/consoleFull&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
./testrunner -i /tmp/centos-32-2.0-upgrade.ini upgrade_version=2.0.2-805-rel,get-cbcollect-info=True,GROUP=P1 -t newupgradetests.MultiNodesUpgradeTests.online_upgrade_swap_rebalance,initial_version=1.8.1-942-rel,standard_buckets=1,items=500000,max_verify=1000,GROUP=1_8;ONLINE;WINDOWS;P1&lt;br/&gt;
&lt;br/&gt;
steps:&lt;br/&gt;
1)10.3.3.151, 10.3.3.152 with 1.8.1 build&lt;br/&gt;
10.3.3.153 with 2.0.2-805-rel&lt;br/&gt;
&lt;br/&gt;
2)[2013-05-17 01:11:42,198] - [rest_client:925] INFO - rebalance params : password=password&amp;amp;ejectedNodes=ns_1%4010.3.3.151&amp;amp;user=Administrator&amp;amp;knownNodes=ns_1%4010.3.3.152%2Cns_1%4010.3.3.151%2Cns_1%4010.3.3.153&lt;br/&gt;
...&lt;br/&gt;
[2013-05-17 01:26:15,908] - [task:340] INFO - rebalancing was completed with progress: 100.0% in 873.699863911 sec&lt;br/&gt;
&lt;br/&gt;
3)[2013-05-17 01:26:37,009] - [rest_client:925] INFO - rebalance params : password=password&amp;amp;ejectedNodes=ns_1%4010.3.3.152&amp;amp;user=Administrator&amp;amp;knownNodes=ns_1%4010.3.3.152%2Cns_1%4010.3.3.153&lt;br/&gt;
...&lt;br/&gt;
&lt;br/&gt;
[2013-05-17 01:31:07,549] - [rest_client:1014] ERROR - {u&amp;#39;status&amp;#39;: u&amp;#39;none&amp;#39;, u&amp;#39;errorMessage&amp;#39;: u&amp;#39;Rebalance failed. See logs for detailed reason. You can try rebalance again.&amp;#39;} - rebalance failed&lt;br/&gt;
[2013-05-17 01:31:07,550] - [rest_client:1015] INFO - Latest logs from UI:&lt;br/&gt;
[2013-05-17 01:31:07,601] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 2, u&amp;#39;text&amp;#39;: u&amp;quot;Rebalance exited with reason {{change_filter_failed,\n                               {&amp;#39;EXIT&amp;#39;,\n                                {{unexpected_reason,killed},\n                                 [{misc,executing_on_new_process,1},\n                                  {ns_vbm_sup,local_change_vbucket_filter,4},\n                                  {rpc,local_call,3},\n                                  {ns_vbm_sup,change_vbucket_filter,4},\n                                  {ns_vbm_sup,&amp;#39;-set_replicas/3-fun-2-&amp;#39;,5},\n                                  {lists,foldl,3},\n                                  {ns_vbm_sup,set_replicas,3},\n                                  {ns_vbm_sup,\n                                   &amp;#39;-set_replicas_on_nodes/3-fun-1-&amp;#39;,3}]}}},\n                              [{ns_vbm_sup,change_vbucket_filter,4},\n                               {ns_vbm_sup,&amp;#39;-set_replicas/3-fun-2-&amp;#39;,5},\n                               {lists,foldl,3},\n                               {ns_vbm_sup,set_replicas,3},\n                               {ns_vbm_sup,&amp;#39;-set_replicas_on_nodes/3-fun-1-&amp;#39;,\n                                3},\n                               {lists,foreach,2},\n                               {janitor_agent,\n                                do_bulk_set_vbucket_state_old_style,4},\n                               {ns_vbucket_mover,\n                                update_replication_post_move,3}]}\n&amp;quot;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ns_orchestrator&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779444497.0, u&amp;#39;type&amp;#39;: u&amp;#39;info&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,602] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts (repeated 43 times)&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779418787.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,603] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779358861.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,603] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts (repeated 179 times)&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779358787.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,604] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779299138.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,604] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts (repeated 154 times)&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779298786.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,605] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779238798.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,605] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts (repeated 132 times)&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779238787.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,605] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Failed to get tap stats after 5 attempts&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ebucketmigrator_srv&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779184396.0, u&amp;#39;type&amp;#39;: u&amp;#39;critical&amp;#39;}&lt;br/&gt;
[2013-05-17 01:31:07,605] - [rest_client:1016] ERROR - {u&amp;#39;node&amp;#39;: u&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.153&apos;&gt;ns_1@10.3.3.153&lt;/a&gt;&amp;#39;, u&amp;#39;code&amp;#39;: 0, u&amp;#39;text&amp;#39;: u&amp;#39;Bucket &amp;quot;standard_bucket0&amp;quot; rebalance does not seem to be swap rebalance&amp;#39;, u&amp;#39;shortText&amp;#39;: u&amp;#39;message&amp;#39;, u&amp;#39;module&amp;#39;: u&amp;#39;ns_vbucket_mover&amp;#39;, u&amp;#39;tstamp&amp;#39;: 1368779184144.0, u&amp;#39;type&amp;#39;: u&amp;#39;info&amp;#39;}</description>
                <environment>centos 32, 2.0.2-805-rel</environment>
            <key id="24322">MB-8309</key>
            <summary>online_upgrade_swap_rebalance 1.8.1-&gt;2.0.2: Rebalance exited with reason {{change_filter_failed,{&apos;EXIT&apos;,{{unexpected_reason,killed}</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="andreibaranouski">Andrei Baranouski</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 May 2013 06:11:23 -0500</created>
                <updated>Fri, 17 May 2013 17:30:13 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="58611" author="andreibaranouski" created="Fri, 17 May 2013 06:16:16 -0500"  >&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.151-5172013-131-diag.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.151-5172013-131-diag.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.152-5172013-131-diag.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.152-5172013-131-diag.zip&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.153-5172013-132-diag.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-8309/kjd32sf/10.3.3.153-5172013-132-diag.zip&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11279</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8214] bgfetcher performance regression</title>
                <link>http://www.couchbase.com/issues/browse/MB-8214</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>* bgfetcher condition variable for woken task is not getting correctly (hasWokenTask).&lt;br/&gt;
* also need to immediately move any woken task to readyQueue instead of re-pushing to futureQueue</description>
                <environment></environment>
            <key id="24116">MB-8214</key>
            <summary>bgfetcher performance regression</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="jin">Jin Lim</assignee>
                                <reporter username="jin">Jin Lim</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 May 2013 02:21:49 -0500</created>
                <updated>Sun, 19 May 2013 00:10:40 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="57616" author="maria" created="Wed, 8 May 2013 15:10:52 -0500"  >per bug triage, upgrading to blocker.</comment>
                    <comment id="57791" author="jin" created="Fri, 10 May 2013 03:24:36 -0500"  >* Two toy builds, MRW28 &amp;amp; MRW30, have shown bgfetcher performance regression is now fixed.&lt;br/&gt;
&lt;br/&gt;
* Both implemented the two fixes mentioned in the above description + different ways of binding working threads to incoming data access requests. &lt;br/&gt;
&lt;br/&gt;
* QE (Abhinav) already started the 18 hours longevity litmus test&lt;br/&gt;
&lt;br/&gt;
* Jin to drop MRW30 to Perf (Ronnie) for the full cycle of performance test&lt;br/&gt;
&lt;br/&gt;
* Will mark this as fixed after QE and Perf validation  </comment>
                    <comment id="57830" author="maria" created="Fri, 10 May 2013 14:09:52 -0500"  >abhinav, pls provide test result of the toy build. </comment>
                    <comment id="57840" author="maria" created="Fri, 10 May 2013 15:29:43 -0500"  >Jin, &lt;br/&gt;
&lt;br/&gt;
abhinav will update this bug (with his test result) tonight when the run completes (~8pm onwards).&lt;br/&gt;
if all looks good, you can merge the fix (as agreed in today&amp;#39;s bug mtg) then he can launch a new run with the official build this weekend.</comment>
                    <comment id="57932" author="abhinav" created="Sat, 11 May 2013 13:28:54 -0500"  >Litmus run for 2.0.1-170 vs MRW28-toy (4 readers + 1 writer):&lt;br/&gt;
Mixed-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/178/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/178/&lt;/a&gt;&lt;br/&gt;
Mixed-dgm-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/179/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/179/&lt;/a&gt;&lt;br/&gt;
Read-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/180/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/180/&lt;/a&gt;&lt;br/&gt;
Write-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/181/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/181/&lt;/a&gt;&lt;br/&gt;
Reb-in-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/182/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/182/&lt;/a&gt;     -- Reb-in-time: 673s vs 845s&lt;br/&gt;
Reb-out-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/183/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/183/&lt;/a&gt;    -- Reb-out-time: 663s vs 1091s&lt;br/&gt;
Reb-swap-litmus: &lt;a href=&quot;http://qa.hq.northscale.net/job/litmuses-graph-loop/184/&quot;&gt;http://qa.hq.northscale.net/job/litmuses-graph-loop/184/&lt;/a&gt;    -- Reb-swap-time: 453s vs 640s&lt;br/&gt;
&lt;br/&gt;
*Times for rebalance longer&lt;br/&gt;
*Set-get latencies regressed a a little on the other runs.&lt;br/&gt;
&lt;br/&gt;
Wait for results of 2.0.1-170 vs MRW30-toy (4 readers + 2 writers) from Ronnie.</comment>
                    <comment id="58022" author="maria" created="Mon, 13 May 2013 12:48:22 -0500"  >Wayne to post results from Ronnie&amp;#39;s run.</comment>
                    <comment id="58024" author="wayne" created="Mon, 13 May 2013 12:58:34 -0500"  >Performance tests numbers (2.0.1-170 vs MRW30-toy)&lt;br/&gt;
Reb-large-2 (Reb-in): 1299s vs 4865s (-275%)&lt;br/&gt;
Reb-large-2-out (Reb-out) : 971s vs 5728s (-490%)</comment>
                    <comment id="58035" author="jin" created="Mon, 13 May 2013 14:14:38 -0500"  >This is due to the same regression from rebalance. We will update from that end.</comment>
                    <comment id="58044" author="jin" created="Mon, 13 May 2013 14:27:13 -0500"  >&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8231&quot; title=&quot;Rebalance hangs with progress zero percent &quot;&gt;&lt;strike&gt;MB-8231&lt;/strike&gt;&lt;/a&gt; tracking the rebalance regression. Unless if this bug is still needed otherwise please mark as duplicate or resolved.</comment>
                    <comment id="58266" author="maria" created="Tue, 14 May 2013 15:34:06 -0500"  >per bug triage, keeping this bug opened since it is more about read i/o starvation.</comment>
                    <comment id="58359" author="jin" created="Wed, 15 May 2013 11:56:00 -0500"  >After QE&amp;#39;s validation on the build 803 and give us a GO, will have the perf team  resume the performance test. Thanks.</comment>
                    <comment id="58589" author="maria" created="Thu, 16 May 2013 19:54:05 -0500"  >abhinav will post the test result tonight. test is still running.</comment>
                    <comment id="58707" author="abhinav" created="Sat, 18 May 2013 03:51:59 -0500"  >Test1&amp;#39;s results from the following spreadsheet:&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0Ap_3tfZFLHzcdE16WnFyb09ZcE1CckZQMnN1eWRldFE#gid=0&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0Ap_3tfZFLHzcdE16WnFyb09ZcE1CckZQMnN1eWRldFE#gid=0&lt;/a&gt;&lt;br/&gt;
Status: green</comment>
                    <comment id="58712" author="maria" created="Sun, 19 May 2013 00:10:40 -0500"  >assigning back to Jin --- QE is giving you a GO. result is good -- see link above for result.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 8 May 2013 15:10:52 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11077</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7943] Memcached drops tap connections without warning </title>
                <link>http://www.couchbase.com/issues/browse/MB-7943</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Servers M1 and M2 are each running couchbase (C1 and C2 respectively, both added to the same cluster via the web interface) and an application (A1 and A2 respectively).   A1 is configured to primarily access C2 and to fail over to C1 if C2 becomes unavailable.   A2 is similarly configured, only accessing C1 primarily and failing over to C2. &lt;br/&gt;
&lt;br/&gt;
When accessing A1, Couchbase reports that the value is stored on C2 and has replicated to C1, howerver while accessing A2, Couchbase reports that the value is stored on C1 and has not replicated to C2.   Additionally, when attempting to manually rebalance the cluster, the rebalance fails (the log output is the attached image).   After consulting the IRC channel, user ingenthr suggested I file this as an issue.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve also attached the output of  cbcollect_info in the hopes that it might contain something useful.  If you need more information, do not hesitate to ask.</description>
                <environment>SLES11 SP2, Xen virtual machines with a single processor and 1.5GB RAM</environment>
            <key id="23295">MB-7943</key>
            <summary>Memcached drops tap connections without warning </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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="Frojoe">Frojoe</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Tue, 19 Mar 2013 15:57:55 -0500</created>
                <updated>Tue, 23 Apr 2013 14:14:51 -0500</updated>
                                    <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="53216" author="alkondratenko" created="Wed, 20 Mar 2013 18:49:45 -0500"  >Looks like memcached drops tap consumer side of connection without any warning. No messages related to that vbucket or tap is in logs.&lt;br/&gt;
&lt;br/&gt;
[error_logger:error,2013-03-19T16:24:00.686,&lt;a href=&apos;mailto:ns_1@192.168.3.87&apos;&gt;ns_1@192.168.3.87&lt;/a&gt;:error_logger&amp;lt;0.6.0&amp;gt;:ale_error_logger_handler:log_msg:76]** Generic server &amp;lt;13375.24034.0&amp;gt; terminating &lt;br/&gt;
** Last message in was {tcp_closed,#Port&amp;lt;13375.22320&amp;gt;}&lt;br/&gt;
** When Server state == {state,#Port&amp;lt;13375.22319&amp;gt;,#Port&amp;lt;13375.22317&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#Port&amp;lt;13375.22320&amp;gt;,#Port&amp;lt;13375.22318&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;13375.24035.0&amp;gt;,&amp;lt;&amp;lt;&amp;gt;&amp;gt;,&amp;lt;&amp;lt;&amp;gt;&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{set,1,16,16,8,80,48,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{[],[],[],[],[],[],[],&amp;quot;5&amp;quot;,[],[],[],[],[],[],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[],[]}}},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-1,false,false,0,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{1363,724640,44293},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;not_started,undefined,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&amp;lt;&amp;quot;replication_building_53_&amp;#39;&lt;a href=&apos;mailto:ns_1@192.168.3.88&apos;&gt;ns_1@192.168.3.88&lt;/a&gt;&amp;#39;&amp;quot;&amp;gt;&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;13375.24034.0&amp;gt;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{had_backfill,undefined,undefined,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[{&amp;lt;0.6160.1&amp;gt;,#Ref&amp;lt;0.0.14.227400&amp;gt;}]},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;undefined,false}&lt;br/&gt;
** Reason for termination == &lt;br/&gt;
** downstream_closed&lt;br/&gt;
</comment>
                    <comment id="53444" author="mikew" created="Mon, 25 Mar 2013 15:50:27 -0500"  >Frojoe,&lt;br/&gt;
&lt;br/&gt;
Any chance you can attach the memcached logs too?</comment>
                    <comment id="53448" author="Frojoe" created="Mon, 25 Mar 2013 16:02:52 -0500"  >Here are the memcached logs for that day.</comment>
                    <comment id="53547" author="mikew" created="Tue, 26 Mar 2013 16:31:41 -0500"  >There&amp;#39;s no good information in the logs that points out what the error might be. I will add some better logging around disconnects in memcached.</comment>
                    <comment id="54053" author="maria" created="Tue, 2 Apr 2013 13:49:29 -0500"  >per mike: candidate for deferral.</comment>
                    <comment id="54613" author="chiyoung" created="Tue, 9 Apr 2013 02:17:53 -0500"  >It seems to me that we&amp;#39;re opening too many connections on the memcached admin port (11209) in a short time, which *might* result in failing to create a connection for building the replica vbucket 53. Garbage collection of the memcached connections are performed after the ep-engine cleans up the corresponding invalid tap producer or consumer resources through the background thread and notify it to the memcached layer.&lt;br/&gt;
&lt;br/&gt;
In their cluster, cleaning up hundreds of invalid tap consumer resources through the background thread (i.e., NON-IO dispatcher thread) sometime takes up to 5 - 10 sec.&lt;br/&gt;
&lt;br/&gt;
If the memcached reaches to the max connection limit, it prints out the INFO level log unfortunately, which is not included in the memcached log by default. This should be definitely set to a warning level.&lt;br/&gt;
&lt;br/&gt;
For more accurate analysis, we need to set the memcached log level to &amp;quot;INFO&amp;quot; to see if the memcached reaches to the max connection limit in their scenario.&lt;br/&gt;
</comment>
                    <comment id="54674" author="mikew" created="Tue, 9 Apr 2013 14:32:18 -0500"  >Chiyoung,&lt;br/&gt;
&lt;br/&gt;
It seems like it would make sense to change this log message message to warning level for 2.0.2. What do you think?</comment>
                    <comment id="54679" author="chiyoung" created="Tue, 9 Apr 2013 18:25:57 -0500"  >Yes, it should be changed for 2.0.2.</comment>
                </comments>
                    <attachments>
                    <attachment id="16980" name="couchbase-log1.PNG" size="38697" author="Frojoe" created="Tue, 19 Mar 2013 15:57:55 -0500" />
                    <attachment id="16979" name="debug2.zip" size="2636859" author="Frojoe" created="Tue, 19 Mar 2013 15:57:55 -0500" />
                    <attachment id="16978" name="debug.zip" size="10172732" author="Frojoe" created="Tue, 19 Mar 2013 15:57:55 -0500" />
                    <attachment id="17004" name="memcached.log.8.txt" size="598313" author="Frojoe" created="Mon, 25 Mar 2013 16:02:52 -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, 20 Mar 2013 18:49:45 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10143</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7897] [Done- RN 2.0.2] Modify a bucket resets unspecified values to the default value</title>
                <link>http://www.couchbase.com/issues/browse/MB-7897</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>All values omitted in a modify request for a bucket is reset to their default value. Most users won&amp;#39;t find it natural to first go get the bucket properties before toggling their value before setting it (if they want to lets say just enable flush for a bucket).&lt;br/&gt;
&lt;br/&gt;
Eg:&lt;br/&gt;
&lt;br/&gt;
As a user I would expect to be able to do something like this (by using the php api):&lt;br/&gt;
&lt;br/&gt;
$cb = new CouchbaseClusterManager(&amp;quot;192.168.0.97&amp;quot;, &amp;quot;Administrator&amp;quot;, &amp;quot;asdasd&amp;quot;);&lt;br/&gt;
$cb-&amp;gt;modifyBucket(&amp;quot;default&amp;quot;, array(&amp;quot;enable flush&amp;quot; =&amp;gt; 1));&lt;br/&gt;
&lt;br/&gt;
Instead we force the user to grab the properties first, and then send the entire set back with their modification. &lt;br/&gt;
&lt;br/&gt;
In theory we could do this &amp;quot;under the cover&amp;quot; in the API&amp;#39;s, but that will add complexity in the clients (if they&amp;#39;re running in an async environment etc). Sending the full config back and forth is just unneeded overhead.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="23162">MB-7897</key>
            <summary>[Done- RN 2.0.2] Modify a bucket resets unspecified values to the default value</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="trond">Trond Norbye</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 04:20:51 -0500</created>
                <updated>Tue, 23 Apr 2013 16:01:38 -0500</updated>
                                    <version>1.8.0</version>
                <version>1.8.1</version>
                <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>RESTful-APIs</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="55959" author="kzeller" created="Tue, 23 Apr 2013 16:00:57 -0500"  >Added to 2.0.2. Release Notes as:&lt;br/&gt;
&lt;br/&gt;
			&amp;lt;rnentry type=&amp;quot;knownissue&amp;quot;&amp;gt;&lt;br/&gt;
		&lt;br/&gt;
		&amp;lt;version ver=&amp;quot;2.0.0m&amp;quot;/&amp;gt;&lt;br/&gt;
		&lt;br/&gt;
		&amp;lt;class id=&amp;quot;db&amp;quot;/&amp;gt;&lt;br/&gt;
		&lt;br/&gt;
		&amp;lt;issue type=&amp;quot;cb&amp;quot; ref=&amp;quot;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7897&quot; title=&quot;[Done- RN 2.0.2] Modify a bucket resets unspecified values to the default value&quot;&gt;MB-7897&lt;/a&gt;&amp;quot;/&amp;gt;&lt;br/&gt;
&lt;br/&gt;
		&lt;br/&gt;
		&amp;lt;rntext&amp;gt;&lt;br/&gt;
			&lt;br/&gt;
			&amp;lt;para&amp;gt;&lt;br/&gt;
				If you edit a data bucket using the REST-API and you do not provide existing values for bucket properties, the server may reset existing &lt;br/&gt;
				bucket properties to the default value. To avoid this situation you should specify all existing bucket properties as well as the update property as parameters&lt;br/&gt;
				 when you make this REST request. For more information, see &amp;lt;ulink url=&amp;quot;&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-restapi-creating-buckets.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-restapi-creating-buckets.html&lt;/a&gt;&amp;quot;&amp;gt;&lt;br/&gt;
				 Couchbase Manual, Creating and Editing Data Buckets&amp;lt;/ulink&amp;gt;.&lt;br/&gt;
			&amp;lt;/para&amp;gt;&lt;br/&gt;
&lt;br/&gt;
			&lt;br/&gt;
		&amp;lt;/rntext&amp;gt;&lt;br/&gt;
		&lt;br/&gt;
	&amp;lt;/rnentry&amp;gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 23 Apr 2013 16:00:57 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9403</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7725] disk channels (threads) are configurable, weighable for different scenarios / workloads</title>
                <link>http://www.couchbase.com/issues/browse/MB-7725</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Multiple Reader Writer (MRW) design document:&lt;br/&gt;
&lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/cbeng/Multiple+Readers+and+Writers+Per+Bucket?focusedCommentId=6784990&amp;#comment-6784990&quot;&gt;http://hub.internal.couchbase.com/confluence/display/cbeng/Multiple+Readers+and+Writers+Per+Bucket?focusedCommentId=6784990&amp;amp;#comment-6784990&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
MRW development plan:&lt;br/&gt;
&lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/cbeng/Multiple+Reader+and+Writer+Development+Plan&quot;&gt;http://hub.internal.couchbase.com/confluence/display/cbeng/Multiple+Reader+and+Writer+Development+Plan&lt;/a&gt;</description>
                <environment></environment>
            <key id="22641">MB-7725</key>
            <summary>disk channels (threads) are configurable, weighable for different scenarios / workloads</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="jin">Jin Lim</assignee>
                                <reporter username="jin">Jin Lim</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 12 Feb 2013 10:02:07 -0600</created>
                <updated>Fri, 15 Feb 2013 14:57:38 -0600</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>560</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-7691] couchstore fsyncs and file per vbucket create very fragmented files (was: couchstore compactor is very poor on reading data from src couch file)</title>
                <link>http://www.couchbase.com/issues/browse/MB-7691</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>(Assigned to Damien for initial prioritization)&lt;br/&gt;
&lt;br/&gt;
I have 120 megs file that takes about 15 seconds to compact on cold page cache. On warm page cache it&amp;#39;s less than 3 seconds.&lt;br/&gt;
&lt;br/&gt;
When I modified dbdump to read all data (not just btree nodes, but also doc bodies) I&amp;#39;ve found it needs about 3 seconds to process entire file on cold page cache. And if I ran compactor afterwards I get warm page cache compactor timing. Which confirms that modified dbdump warms all pages. And it clearly does that about 4 times more efficiently.&lt;br/&gt;
&lt;br/&gt;
So I conclude that even without advanced prefetch our data is natually linear and simply loading it depth first (which is what happens during compaction) is fast enough. But there&amp;#39;s something bad happening in couchstore compactor that either triggers wrong behavior of kernel&amp;#39;s prefetch logic or maybe it does some clearly excessive and non-linearly aligned work.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m afraid I have to move to other topic and have to stop spending time on this. So leaving this to you folks.&lt;br/&gt;
&lt;br/&gt;
I started this investigation when I saw &amp;#39;mere&amp;#39; 90 gigs of data requiring 4 hours to compact in perf runs. That&amp;#39;s a bit too slow IMHO.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll attach my dbdump patches.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22548">MB-7691</key>
            <summary>couchstore fsyncs and file per vbucket create very fragmented files (was: couchstore compactor is very poor on reading data from src couch file)</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Feb 2013 18:05:41 -0600</created>
                <updated>Tue, 23 Apr 2013 13:22:30 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="49895" author="damien" created="Wed, 6 Feb 2013 14:27:56 -0600"  >Compaction has significant overhead that dbdump does not. This might be expected behavior.</comment>
                    <comment id="49907" author="alkondratenko" created="Wed, 6 Feb 2013 17:39:10 -0600"  >It&amp;#39;s actually far less trivial. After spending time on quite advanced readahead (and dropbehind) code I&amp;#39;ve figured that on _my box_ slowness was caused by already existing compactor output file. Looks like truncate (or whatever we do) does not prevent FS from reading blocks we&amp;#39;re partially overwriting. And couch does 128k blocks starting from offset 1 (so no write is block alligned).&lt;br/&gt;
&lt;br/&gt;
On actual production box I see _very_ fragmented couch files layout. See below:&lt;br/&gt;
&lt;br/&gt;
[&lt;a href=&apos;mailto:root@thor06&apos;&gt;root@thor06&lt;/a&gt; ~]# filefrag -v /data2/default/290.couch.1 &lt;br/&gt;
Checking /data2/default/290.couch.1&lt;br/&gt;
Filesystem type is: ef53&lt;br/&gt;
Filesystem cylinder groups is approximately 6431&lt;br/&gt;
Blocksize of file /data2/default/290.couch.1 is 4096&lt;br/&gt;
File size of /data2/default/290.couch.1 is 181739611 (44371 blocks)&lt;br/&gt;
First block: 136467224&lt;br/&gt;
Last block: 167240124&lt;br/&gt;
Discontinuity: Block 2 is at 136468200 (was 136467225)&lt;br/&gt;
Discontinuity: Block 3 is at 136471402 (was 136468200)&lt;br/&gt;
Discontinuity: Block 13 is at 136489406 (was 136471412)&lt;br/&gt;
Discontinuity: Block 80 is at 136557793 (was 136489472)&lt;br/&gt;
Discontinuity: Block 236 is at 136721173 (was 136557948)&lt;br/&gt;
Discontinuity: Block 550 is at 137013488 (was 136721486)&lt;br/&gt;
Discontinuity: Block 1099 is at 137558365 (was 137014038)&lt;br/&gt;
Discontinuity: Block 2194 is at 138589989 (was 137559460)&lt;br/&gt;
Discontinuity: Block 4656 is at 138720040 (was 138592452)&lt;br/&gt;
Discontinuity: Block 4657 is at 139647311 (was 138720040)&lt;br/&gt;
Discontinuity: Block 7747 is at 140910754 (was 139650403)&lt;br/&gt;
Discontinuity: Block 11447 is at 142712685 (was 140914457)&lt;br/&gt;
Discontinuity: Block 16857 is at 145241309 (was 142718099)&lt;br/&gt;
Discontinuity: Block 24394 is at 148468877 (was 145248852)&lt;br/&gt;
Discontinuity: Block 27322 is at 148472840 (was 148471807)&lt;br/&gt;
Discontinuity: Block 33769 is at 149834310 (was 148479292)&lt;br/&gt;
Discontinuity: Block 36603 is at 150484094 (was 149837146)&lt;br/&gt;
Discontinuity: Block 36604 is at 162254788 (was 150484094)&lt;br/&gt;
Discontinuity: Block 36628 is at 162259631 (was 162254811)&lt;br/&gt;
Discontinuity: Block 36629 is at 162527023 (was 162259631)&lt;br/&gt;
Discontinuity: Block 37579 is at 163948398 (was 162527973)&lt;br/&gt;
Discontinuity: Block 41116 is at 165396105 (was 163951938)&lt;br/&gt;
Discontinuity: Block 41117 is at 165407533 (was 165396105)&lt;br/&gt;
Discontinuity: Block 41149 is at 165416136 (was 165407564)&lt;br/&gt;
Discontinuity: Block 41150 is at 165416671 (was 165416136)&lt;br/&gt;
Discontinuity: Block 41151 is at 165416673 (was 165416671)&lt;br/&gt;
Discontinuity: Block 41154 is at 165417688 (was 165416675)&lt;br/&gt;
Discontinuity: Block 41158 is at 165419126 (was 165417691)&lt;br/&gt;
Discontinuity: Block 41160 is at 165420442 (was 165419127)&lt;br/&gt;
Discontinuity: Block 41164 is at 165422276 (was 165420445)&lt;br/&gt;
Discontinuity: Block 41168 is at 165423881 (was 165422279)&lt;br/&gt;
Discontinuity: Block 41170 is at 165427129 (was 165423882)&lt;br/&gt;
Discontinuity: Block 41172 is at 165428837 (was 165427130)&lt;br/&gt;
Discontinuity: Block 41175 is at 165430513 (was 165428839)&lt;br/&gt;
Discontinuity: Block 41178 is at 165432040 (was 165430515)&lt;br/&gt;
Discontinuity: Block 41180 is at 165433546 (was 165432041)&lt;br/&gt;
Discontinuity: Block 41182 is at 165434839 (was 165433547)&lt;br/&gt;
Discontinuity: Block 41187 is at 165437404 (was 165434843)&lt;br/&gt;
Discontinuity: Block 41192 is at 165438630 (was 165437408)&lt;br/&gt;
Discontinuity: Block 41195 is at 165441008 (was 165438632)&lt;br/&gt;
Discontinuity: Block 41199 is at 165442107 (was 165441011)&lt;br/&gt;
Discontinuity: Block 41201 is at 165443234 (was 165442108)&lt;br/&gt;
Discontinuity: Block 41204 is at 165444378 (was 165443236)&lt;br/&gt;
Discontinuity: Block 41206 is at 165447660 (was 165444379)&lt;br/&gt;
Discontinuity: Block 41208 is at 165448752 (was 165447661)&lt;br/&gt;
Discontinuity: Block 41210 is at 165450831 (was 165448753)&lt;br/&gt;
Discontinuity: Block 41211 is at 165450834 (was 165450831)&lt;br/&gt;
Discontinuity: Block 41212 is at 165452786 (was 165450834)&lt;br/&gt;
Discontinuity: Block 41214 is at 165453739 (was 165452787)&lt;br/&gt;
Discontinuity: Block 41216 is at 165454751 (was 165453740)&lt;br/&gt;
Discontinuity: Block 41217 is at 165454755 (was 165454751)&lt;br/&gt;
Discontinuity: Block 41219 is at 165455670 (was 165454756)&lt;br/&gt;
Discontinuity: Block 41221 is at 165456579 (was 165455671)&lt;br/&gt;
Discontinuity: Block 41224 is at 165458564 (was 165456581)&lt;br/&gt;
Discontinuity: Block 41226 is at 165459592 (was 165458565)&lt;br/&gt;
Discontinuity: Block 41228 is at 165462298 (was 165459593)&lt;br/&gt;
Discontinuity: Block 41231 is at 165463303 (was 165462300)&lt;br/&gt;
Discontinuity: Block 41232 is at 165463306 (was 165463303)&lt;br/&gt;
Discontinuity: Block 41233 is at 165464234 (was 165463306)&lt;br/&gt;
Discontinuity: Block 41237 is at 165467900 (was 165464237)&lt;br/&gt;
Discontinuity: Block 41240 is at 165468879 (was 165467902)&lt;br/&gt;
Discontinuity: Block 41241 is at 165468882 (was 165468879)&lt;br/&gt;
Discontinuity: Block 41242 is at 165470671 (was 165468882)&lt;br/&gt;
Discontinuity: Block 41243 is at 165470675 (was 165470671)&lt;br/&gt;
Discontinuity: Block 41245 is at 165471542 (was 165470676)&lt;br/&gt;
Discontinuity: Block 41247 is at 165471546 (was 165471543)&lt;br/&gt;
Discontinuity: Block 41248 is at 165474782 (was 165471546)&lt;br/&gt;
Discontinuity: Block 41250 is at 165480045 (was 165474783)&lt;br/&gt;
Discontinuity: Block 41252 is at 165481072 (was 165480046)&lt;br/&gt;
Discontinuity: Block 41256 is at 165482096 (was 165481075)&lt;br/&gt;
Discontinuity: Block 41258 is at 165482784 (was 165482097)&lt;br/&gt;
Discontinuity: Block 41262 is at 165483408 (was 165482787)&lt;br/&gt;
Discontinuity: Block 41264 is at 165484232 (was 165483409)&lt;br/&gt;
Discontinuity: Block 41266 is at 165485056 (was 165484233)&lt;br/&gt;
Discontinuity: Block 41268 is at 165485800 (was 165485057)&lt;br/&gt;
Discontinuity: Block 41270 is at 165486696 (was 165485801)&lt;br/&gt;
Discontinuity: Block 41273 is at 165489714 (was 165486698)&lt;br/&gt;
Discontinuity: Block 41275 is at 165490469 (was 165489715)&lt;br/&gt;
Discontinuity: Block 41277 is at 165494764 (was 165490470)&lt;br/&gt;
Discontinuity: Block 41279 is at 165495792 (was 165494765)&lt;br/&gt;
Discontinuity: Block 41282 is at 165496528 (was 165495794)&lt;br/&gt;
Discontinuity: Block 41285 is at 165499467 (was 165496530)&lt;br/&gt;
Discontinuity: Block 41287 is at 165502669 (was 165499468)&lt;br/&gt;
Discontinuity: Block 41289 is at 165504988 (was 165502670)&lt;br/&gt;
Discontinuity: Block 41292 is at 165505710 (was 165504990)&lt;br/&gt;
Discontinuity: Block 41294 is at 165505715 (was 165505711)&lt;br/&gt;
Discontinuity: Block 41295 is at 165506500 (was 165505715)&lt;br/&gt;
Discontinuity: Block 41298 is at 165507528 (was 165506502)&lt;br/&gt;
Discontinuity: Block 41302 is at 165508472 (was 165507531)&lt;br/&gt;
Discontinuity: Block 41305 is at 165509813 (was 165508474)&lt;br/&gt;
Discontinuity: Block 41308 is at 165514008 (was 165509815)&lt;br/&gt;
Discontinuity: Block 41311 is at 165520356 (was 165514010)&lt;br/&gt;
Discontinuity: Block 41314 is at 165521083 (was 165520358)&lt;br/&gt;
Discontinuity: Block 41316 is at 165522708 (was 165521084)&lt;br/&gt;
Discontinuity: Block 41318 is at 165528375 (was 165522709)&lt;br/&gt;
Discontinuity: Block 41319 is at 165528378 (was 165528375)&lt;br/&gt;
Discontinuity: Block 41320 is at 165530459 (was 165528378)&lt;br/&gt;
Discontinuity: Block 41322 is at 165534182 (was 165530460)&lt;br/&gt;
Discontinuity: Block 41324 is at 165534190 (was 165534183)&lt;br/&gt;
Discontinuity: Block 41326 is at 165534194 (was 165534191)&lt;br/&gt;
Discontinuity: Block 41330 is at 165534608 (was 165534197)&lt;br/&gt;
Discontinuity: Block 41334 is at 165535576 (was 165534611)&lt;br/&gt;
Discontinuity: Block 41342 is at 165535586 (was 165535583)&lt;br/&gt;
Discontinuity: Block 41346 is at 165536416 (was 165535589)&lt;br/&gt;
Discontinuity: Block 41352 is at 165536423 (was 165536421)&lt;br/&gt;
Discontinuity: Block 41353 is at 165536425 (was 165536423)&lt;br/&gt;
Discontinuity: Block 41354 is at 165536429 (was 165536425)&lt;br/&gt;
Discontinuity: Block 41356 is at 165537226 (was 165536430)&lt;br/&gt;
Discontinuity: Block 41358 is at 165538542 (was 165537227)&lt;br/&gt;
Discontinuity: Block 41360 is at 165539432 (was 165538543)&lt;br/&gt;
Discontinuity: Block 41362 is at 165546440 (was 165539433)&lt;br/&gt;
Discontinuity: Block 41364 is at 165553250 (was 165546441)&lt;br/&gt;
Discontinuity: Block 41367 is at 165555372 (was 165553252)&lt;br/&gt;
Discontinuity: Block 41369 is at 165556400 (was 165555373)&lt;br/&gt;
Discontinuity: Block 41371 is at 165557336 (was 165556401)&lt;br/&gt;
Discontinuity: Block 41373 is at 165558360 (was 165557337)&lt;br/&gt;
Discontinuity: Block 41377 is at 165560067 (was 165558363)&lt;br/&gt;
Discontinuity: Block 41379 is at 165561051 (was 165560068)&lt;br/&gt;
Discontinuity: Block 41381 is at 165561941 (was 165561052)&lt;br/&gt;
Discontinuity: Block 41384 is at 165561947 (was 165561943)&lt;br/&gt;
Discontinuity: Block 41385 is at 165562838 (was 165561947)&lt;br/&gt;
Discontinuity: Block 41387 is at 165564671 (was 165562839)&lt;br/&gt;
Discontinuity: Block 41388 is at 165564816 (was 165564671)&lt;br/&gt;
Discontinuity: Block 41389 is at 165565712 (was 165564816)&lt;br/&gt;
Discontinuity: Block 41392 is at 165566688 (was 165565714)&lt;br/&gt;
Discontinuity: Block 41394 is at 165567672 (was 165566689)&lt;br/&gt;
Discontinuity: Block 41396 is at 165570546 (was 165567673)&lt;br/&gt;
Discontinuity: Block 41398 is at 165571167 (was 165570547)&lt;br/&gt;
Discontinuity: Block 41399 is at 165571170 (was 165571167)&lt;br/&gt;
Discontinuity: Block 41400 is at 165571829 (was 165571170)&lt;br/&gt;
Discontinuity: Block 41403 is at 165573106 (was 165571831)&lt;br/&gt;
Discontinuity: Block 41406 is at 165573796 (was 165573108)&lt;br/&gt;
Discontinuity: Block 41408 is at 165574781 (was 165573797)&lt;br/&gt;
Discontinuity: Block 41410 is at 165576637 (was 165574782)&lt;br/&gt;
Discontinuity: Block 41412 is at 165579276 (was 165576638)&lt;br/&gt;
Discontinuity: Block 41414 is at 165582231 (was 165579277)&lt;br/&gt;
Discontinuity: Block 41415 is at 165582234 (was 165582231)&lt;br/&gt;
Discontinuity: Block 41418 is at 165583213 (was 165582236)&lt;br/&gt;
Discontinuity: Block 41421 is at 165585205 (was 165583215)&lt;br/&gt;
Discontinuity: Block 41423 is at 165586062 (was 165585206)&lt;br/&gt;
Discontinuity: Block 41425 is at 165590684 (was 165586063)&lt;br/&gt;
Discontinuity: Block 41428 is at 165591750 (was 165590686)&lt;br/&gt;
Discontinuity: Block 41430 is at 165591754 (was 165591751)&lt;br/&gt;
Discontinuity: Block 41432 is at 165592429 (was 165591755)&lt;br/&gt;
Discontinuity: Block 41434 is at 165593711 (was 165592430)&lt;br/&gt;
Discontinuity: Block 41435 is at 165593714 (was 165593711)&lt;br/&gt;
Discontinuity: Block 41438 is at 165594486 (was 165593716)&lt;br/&gt;
Discontinuity: Block 41440 is at 165595196 (was 165594487)&lt;br/&gt;
Discontinuity: Block 41443 is at 165595883 (was 165595198)&lt;br/&gt;
Discontinuity: Block 41445 is at 165597014 (was 165595884)&lt;br/&gt;
Discontinuity: Block 41446 is at 165598374 (was 165597014)&lt;br/&gt;
Discontinuity: Block 41448 is at 165599275 (was 165598375)&lt;br/&gt;
Discontinuity: Block 41450 is at 165600297 (was 165599276)&lt;br/&gt;
Discontinuity: Block 41452 is at 165602687 (was 165600298)&lt;br/&gt;
Discontinuity: Block 41453 is at 165602752 (was 165602687)&lt;br/&gt;
Discontinuity: Block 41455 is at 165603712 (was 165602753)&lt;br/&gt;
Discontinuity: Block 41457 is at 165604608 (was 165603713)&lt;br/&gt;
Discontinuity: Block 41461 is at 165605320 (was 165604611)&lt;br/&gt;
Discontinuity: Block 41465 is at 165606096 (was 165605323)&lt;br/&gt;
Discontinuity: Block 41467 is at 165614250 (was 165606097)&lt;br/&gt;
Discontinuity: Block 41470 is at 165614952 (was 165614252)&lt;br/&gt;
Discontinuity: Block 41472 is at 165615912 (was 165614953)&lt;br/&gt;
Discontinuity: Block 41475 is at 165616768 (was 165615914)&lt;br/&gt;
Discontinuity: Block 41478 is at 165617600 (was 165616770)&lt;br/&gt;
Discontinuity: Block 41483 is at 165618512 (was 165617604)&lt;br/&gt;
Discontinuity: Block 41488 is at 165621403 (was 165618516)&lt;br/&gt;
Discontinuity: Block 41490 is at 165622379 (was 165621404)&lt;br/&gt;
Discontinuity: Block 41492 is at 165623124 (was 165622380)&lt;br/&gt;
Discontinuity: Block 41495 is at 165624413 (was 165623126)&lt;br/&gt;
Discontinuity: Block 41498 is at 165625499 (was 165624415)&lt;br/&gt;
Discontinuity: Block 41500 is at 165626950 (was 165625500)&lt;br/&gt;
Discontinuity: Block 41502 is at 165629895 (was 165626951)&lt;br/&gt;
Discontinuity: Block 41503 is at 165629899 (was 165629895)&lt;br/&gt;
Discontinuity: Block 41504 is at 165632894 (was 165629899)&lt;br/&gt;
Discontinuity: Block 41506 is at 165633431 (was 165632895)&lt;br/&gt;
Discontinuity: Block 41507 is at 165633435 (was 165633431)&lt;br/&gt;
Discontinuity: Block 41508 is at 165634116 (was 165633435)&lt;br/&gt;
Discontinuity: Block 41510 is at 165635144 (was 165634117)&lt;br/&gt;
Discontinuity: Block 41512 is at 165637483 (was 165635145)&lt;br/&gt;
Discontinuity: Block 41514 is at 165638341 (was 165637484)&lt;br/&gt;
Discontinuity: Block 41517 is at 165638347 (was 165638343)&lt;br/&gt;
Discontinuity: Block 41518 is at 165639175 (was 165638347)&lt;br/&gt;
Discontinuity: Block 41519 is at 165639178 (was 165639175)&lt;br/&gt;
Discontinuity: Block 41520 is at 165640603 (was 165639178)&lt;br/&gt;
Discontinuity: Block 41523 is at 165641691 (was 165640605)&lt;br/&gt;
Discontinuity: Block 41525 is at 165643340 (was 165641692)&lt;br/&gt;
Discontinuity: Block 41527 is at 165643880 (was 165643341)&lt;br/&gt;
Discontinuity: Block 41529 is at 165643884 (was 165643881)&lt;br/&gt;
Discontinuity: Block 41532 is at 165644414 (was 165643886)&lt;br/&gt;
Discontinuity: Block 41534 is at 165644438 (was 165644415)&lt;br/&gt;
Discontinuity: Block 41535 is at 165644972 (was 165644438)&lt;br/&gt;
Discontinuity: Block 41538 is at 165645490 (was 165644974)&lt;br/&gt;
Discontinuity: Block 41540 is at 165646325 (was 165645491)&lt;br/&gt;
Discontinuity: Block 41543 is at 165646330 (was 165646327)&lt;br/&gt;
Discontinuity: Block 41544 is at 165646914 (was 165646330)&lt;br/&gt;
Discontinuity: Block 41547 is at 165647549 (was 165646916)&lt;br/&gt;
Discontinuity: Block 41550 is at 165648560 (was 165647551)&lt;br/&gt;
Discontinuity: Block 41553 is at 165649368 (was 165648562)&lt;br/&gt;
Discontinuity: Block 41556 is at 165650144 (was 165649370)&lt;br/&gt;
Discontinuity: Block 41558 is at 165651341 (was 165650145)&lt;br/&gt;
Discontinuity: Block 41560 is at 165653834 (was 165651342)&lt;br/&gt;
Discontinuity: Block 41563 is at 165654856 (was 165653836)&lt;br/&gt;
Discontinuity: Block 41565 is at 165657451 (was 165654857)&lt;br/&gt;
Discontinuity: Block 41567 is at 165658044 (was 165657452)&lt;br/&gt;
Discontinuity: Block 41569 is at 165658812 (was 165658045)&lt;br/&gt;
Discontinuity: Block 41571 is at 165659261 (was 165658813)&lt;br/&gt;
Discontinuity: Block 41573 is at 165660478 (was 165659262)&lt;br/&gt;
Discontinuity: Block 41575 is at 165660920 (was 165660479)&lt;br/&gt;
Discontinuity: Block 41576 is at 165661488 (was 165660920)&lt;br/&gt;
Discontinuity: Block 41580 is at 165662192 (was 165661491)&lt;br/&gt;
Discontinuity: Block 41583 is at 165666578 (was 165662194)&lt;br/&gt;
Discontinuity: Block 41585 is at 165670859 (was 165666579)&lt;br/&gt;
Discontinuity: Block 41588 is at 165672046 (was 165670861)&lt;br/&gt;
Discontinuity: Block 41590 is at 165681034 (was 165672047)&lt;br/&gt;
Discontinuity: Block 41592 is at 165684959 (was 165681035)&lt;br/&gt;
Discontinuity: Block 41593 is at 165684962 (was 165684959)&lt;br/&gt;
Discontinuity: Block 41596 is at 165685899 (was 165684964)&lt;br/&gt;
Discontinuity: Block 41598 is at 165686832 (was 165685900)&lt;br/&gt;
Discontinuity: Block 41601 is at 165687472 (was 165686834)&lt;br/&gt;
Discontinuity: Block 41603 is at 165688408 (was 165687473)&lt;br/&gt;
Discontinuity: Block 41607 is at 165691002 (was 165688411)&lt;br/&gt;
Discontinuity: Block 41611 is at 165691797 (was 165691005)&lt;br/&gt;
Discontinuity: Block 41614 is at 165693229 (was 165691799)&lt;br/&gt;
Discontinuity: Block 41616 is at 165694256 (was 165693230)&lt;br/&gt;
Discontinuity: Block 41618 is at 165694864 (was 165694257)&lt;br/&gt;
Discontinuity: Block 41621 is at 165695400 (was 165694866)&lt;br/&gt;
Discontinuity: Block 41623 is at 165696514 (was 165695401)&lt;br/&gt;
Discontinuity: Block 41625 is at 165697611 (was 165696515)&lt;br/&gt;
Discontinuity: Block 41627 is at 165700076 (was 165697612)&lt;br/&gt;
Discontinuity: Block 41629 is at 165701970 (was 165700077)&lt;br/&gt;
Discontinuity: Block 41631 is at 165702839 (was 165701971)&lt;br/&gt;
Discontinuity: Block 41632 is at 165702844 (was 165702839)&lt;br/&gt;
Discontinuity: Block 41633 is at 165704645 (was 165702844)&lt;br/&gt;
Discontinuity: Block 41636 is at 165705910 (was 165704647)&lt;br/&gt;
Discontinuity: Block 41638 is at 165706613 (was 165705911)&lt;br/&gt;
Discontinuity: Block 41641 is at 165709650 (was 165706615)&lt;br/&gt;
Discontinuity: Block 41646 is at 165711285 (was 165709654)&lt;br/&gt;
Discontinuity: Block 41648 is at 165711798 (was 165711286)&lt;br/&gt;
Discontinuity: Block 41650 is at 165714380 (was 165711799)&lt;br/&gt;
Discontinuity: Block 41652 is at 165716463 (was 165714381)&lt;br/&gt;
Discontinuity: Block 41653 is at 165716466 (was 165716463)&lt;br/&gt;
Discontinuity: Block 41654 is at 165717416 (was 165716466)&lt;br/&gt;
Discontinuity: Block 41661 is at 165718184 (was 165717422)&lt;br/&gt;
Discontinuity: Block 41664 is at 165718792 (was 165718186)&lt;br/&gt;
Discontinuity: Block 41667 is at 165718799 (was 165718794)&lt;br/&gt;
Discontinuity: Block 41668 is at 165718805 (was 165718799)&lt;br/&gt;
Discontinuity: Block 41669 is at 165719835 (was 165718805)&lt;br/&gt;
Discontinuity: Block 41671 is at 165722098 (was 165719836)&lt;br/&gt;
Discontinuity: Block 41673 is at 165723108 (was 165722099)&lt;br/&gt;
Discontinuity: Block 41675 is at 165724088 (was 165723109)&lt;br/&gt;
Discontinuity: Block 41678 is at 165724674 (was 165724090)&lt;br/&gt;
Discontinuity: Block 41681 is at 165726947 (was 165724676)&lt;br/&gt;
Discontinuity: Block 41683 is at 165728847 (was 165726948)&lt;br/&gt;
Discontinuity: Block 41684 is at 165728850 (was 165728847)&lt;br/&gt;
Discontinuity: Block 41686 is at 165733687 (was 165728851)&lt;br/&gt;
Discontinuity: Block 41687 is at 165733694 (was 165733687)&lt;br/&gt;
Discontinuity: Block 41689 is at 165734688 (was 165733695)&lt;br/&gt;
Discontinuity: Block 41697 is at 165735496 (was 165734695)&lt;br/&gt;
Discontinuity: Block 41703 is at 165736067 (was 165735501)&lt;br/&gt;
Discontinuity: Block 41705 is at 165737000 (was 165736068)&lt;br/&gt;
Discontinuity: Block 41708 is at 165737648 (was 165737002)&lt;br/&gt;
Discontinuity: Block 41711 is at 165738384 (was 165737650)&lt;br/&gt;
Discontinuity: Block 41717 is at 165739112 (was 165738389)&lt;br/&gt;
Discontinuity: Block 41721 is at 165744946 (was 165739115)&lt;br/&gt;
Discontinuity: Block 41723 is at 165746230 (was 165744947)&lt;br/&gt;
Discontinuity: Block 41725 is at 165746238 (was 165746231)&lt;br/&gt;
Discontinuity: Block 41726 is at 165750933 (was 165746238)&lt;br/&gt;
Discontinuity: Block 41729 is at 165751479 (was 165750935)&lt;br/&gt;
Discontinuity: Block 41730 is at 165751487 (was 165751479)&lt;br/&gt;
Discontinuity: Block 41731 is at 165751492 (was 165751487)&lt;br/&gt;
Discontinuity: Block 41732 is at 165753292 (was 165751492)&lt;br/&gt;
Discontinuity: Block 41735 is at 165754320 (was 165753294)&lt;br/&gt;
Discontinuity: Block 41739 is at 165755413 (was 165754323)&lt;br/&gt;
Discontinuity: Block 41742 is at 165756224 (was 165755415)&lt;br/&gt;
Discontinuity: Block 41746 is at 165757240 (was 165756227)&lt;br/&gt;
Discontinuity: Block 41752 is at 165757928 (was 165757245)&lt;br/&gt;
Discontinuity: Block 41755 is at 165759118 (was 165757930)&lt;br/&gt;
Discontinuity: Block 41757 is at 165759124 (was 165759119)&lt;br/&gt;
Discontinuity: Block 41758 is at 165759552 (was 165759124)&lt;br/&gt;
Discontinuity: Block 41761 is at 165770254 (was 165759554)&lt;br/&gt;
Discontinuity: Block 41763 is at 165770790 (was 165770255)&lt;br/&gt;
Discontinuity: Block 41765 is at 165776402 (was 165770791)&lt;br/&gt;
Discontinuity: Block 41767 is at 165777255 (was 165776403)&lt;br/&gt;
Discontinuity: Block 41768 is at 165777262 (was 165777255)&lt;br/&gt;
Discontinuity: Block 41769 is at 165779647 (was 165777262)&lt;br/&gt;
Discontinuity: Block 41770 is at 165780088 (was 165779647)&lt;br/&gt;
Discontinuity: Block 41771 is at 165780093 (was 165780088)&lt;br/&gt;
Discontinuity: Block 41773 is at 165781830 (was 165780094)&lt;br/&gt;
Discontinuity: Block 41775 is at 165782751 (was 165781831)&lt;br/&gt;
Discontinuity: Block 41776 is at 165782754 (was 165782751)&lt;br/&gt;
Discontinuity: Block 41777 is at 165783744 (was 165782754)&lt;br/&gt;
Discontinuity: Block 41781 is at 165784536 (was 165783747)&lt;br/&gt;
Discontinuity: Block 41787 is at 165793149 (was 165784541)&lt;br/&gt;
Discontinuity: Block 41789 is at 165793928 (was 165793150)&lt;br/&gt;
Discontinuity: Block 41793 is at 165798278 (was 165793931)&lt;br/&gt;
Discontinuity: Block 41795 is at 165798984 (was 165798279)&lt;br/&gt;
Discontinuity: Block 41797 is at 165799856 (was 165798985)&lt;br/&gt;
Discontinuity: Block 41801 is at 165800814 (was 165799859)&lt;br/&gt;
Discontinuity: Block 41803 is at 165801568 (was 165800815)&lt;br/&gt;
Discontinuity: Block 41807 is at 165802312 (was 165801571)&lt;br/&gt;
Discontinuity: Block 41809 is at 165803104 (was 165802313)&lt;br/&gt;
Discontinuity: Block 41815 is at 165804238 (was 165803109)&lt;br/&gt;
Discontinuity: Block 41817 is at 165805168 (was 165804239)&lt;br/&gt;
Discontinuity: Block 41821 is at 165805318 (was 165805171)&lt;br/&gt;
Discontinuity: Block 41823 is at 165805327 (was 165805319)&lt;br/&gt;
Discontinuity: Block 41824 is at 165809838 (was 165805327)&lt;br/&gt;
Discontinuity: Block 41826 is at 165810432 (was 165809839)&lt;br/&gt;
Discontinuity: Block 41828 is at 165813917 (was 165810433)&lt;br/&gt;
Discontinuity: Block 41830 is at 165814589 (was 165813918)&lt;br/&gt;
Discontinuity: Block 41832 is at 165818327 (was 165814590)&lt;br/&gt;
Discontinuity: Block 41833 is at 165818330 (was 165818327)&lt;br/&gt;
Discontinuity: Block 41836 is at 165821191 (was 165818332)&lt;br/&gt;
Discontinuity: Block 41837 is at 165821197 (was 165821191)&lt;br/&gt;
Discontinuity: Block 41838 is at 165822604 (was 165821197)&lt;br/&gt;
Discontinuity: Block 41841 is at 165823632 (was 165822606)&lt;br/&gt;
Discontinuity: Block 41846 is at 165827029 (was 165823636)&lt;br/&gt;
Discontinuity: Block 41848 is at 165827992 (was 165827030)&lt;br/&gt;
Discontinuity: Block 41850 is at 165830867 (was 165827993)&lt;br/&gt;
Discontinuity: Block 41852 is at 165831252 (was 165830868)&lt;br/&gt;
Discontinuity: Block 41854 is at 165831759 (was 165831253)&lt;br/&gt;
Discontinuity: Block 41855 is at 165831763 (was 165831759)&lt;br/&gt;
Discontinuity: Block 41856 is at 165832728 (was 165831763)&lt;br/&gt;
Discontinuity: Block 41858 is at 165833704 (was 165832729)&lt;br/&gt;
Discontinuity: Block 41860 is at 165838649 (was 165833705)&lt;br/&gt;
Discontinuity: Block 41864 is at 165843890 (was 165838652)&lt;br/&gt;
Discontinuity: Block 41865 is at 165844672 (was 165843890)&lt;br/&gt;
Discontinuity: Block 41867 is at 165848188 (was 165844673)&lt;br/&gt;
Discontinuity: Block 41869 is at 165851886 (was 165848189)&lt;br/&gt;
Discontinuity: Block 41871 is at 165851891 (was 165851887)&lt;br/&gt;
Discontinuity: Block 41872 is at 165852744 (was 165851891)&lt;br/&gt;
Discontinuity: Block 41877 is at 165858085 (was 165852748)&lt;br/&gt;
Discontinuity: Block 41879 is at 165858608 (was 165858086)&lt;br/&gt;
Discontinuity: Block 41881 is at 165861591 (was 165858609)&lt;br/&gt;
Discontinuity: Block 41882 is at 165861595 (was 165861591)&lt;br/&gt;
Discontinuity: Block 41884 is at 165863382 (was 165861596)&lt;br/&gt;
Discontinuity: Block 41886 is at 165875610 (was 165863383)&lt;br/&gt;
Discontinuity: Block 41888 is at 165875614 (was 165875611)&lt;br/&gt;
Discontinuity: Block 41890 is at 165883340 (was 165875615)&lt;br/&gt;
Discontinuity: Block 41893 is at 165883351 (was 165883342)&lt;br/&gt;
Discontinuity: Block 41894 is at 165883354 (was 165883351)&lt;br/&gt;
Discontinuity: Block 41897 is at 165883371 (was 165883356)&lt;br/&gt;
Discontinuity: Block 41899 is at 165883381 (was 165883372)&lt;br/&gt;
Discontinuity: Block 41901 is at 165883920 (was 165883382)&lt;br/&gt;
Discontinuity: Block 41905 is at 165883935 (was 165883923)&lt;br/&gt;
Discontinuity: Block 41906 is at 165883938 (was 165883935)&lt;br/&gt;
Discontinuity: Block 41907 is at 165883946 (was 165883938)&lt;br/&gt;
Discontinuity: Block 41909 is at 165885983 (was 165883947)&lt;br/&gt;
Discontinuity: Block 41910 is at 165885990 (was 165885983)&lt;br/&gt;
Discontinuity: Block 41911 is at 165886784 (was 165885990)&lt;br/&gt;
Discontinuity: Block 41915 is at 165890996 (was 165886787)&lt;br/&gt;
Discontinuity: Block 41917 is at 165891896 (was 165890997)&lt;br/&gt;
Discontinuity: Block 41921 is at 165900870 (was 165891899)&lt;br/&gt;
Discontinuity: Block 41923 is at 165901600 (was 165900871)&lt;br/&gt;
Discontinuity: Block 41930 is at 165902748 (was 165901606)&lt;br/&gt;
Discontinuity: Block 41932 is at 165903324 (was 165902749)&lt;br/&gt;
Discontinuity: Block 41935 is at 165903335 (was 165903326)&lt;br/&gt;
Discontinuity: Block 41936 is at 165903338 (was 165903335)&lt;br/&gt;
Discontinuity: Block 41937 is at 165903341 (was 165903338)&lt;br/&gt;
Discontinuity: Block 41939 is at 165903349 (was 165903342)&lt;br/&gt;
Discontinuity: Block 41941 is at 165903358 (was 165903350)&lt;br/&gt;
Discontinuity: Block 41943 is at 165903379 (was 165903359)&lt;br/&gt;
Discontinuity: Block 41945 is at 165903676 (was 165903380)&lt;br/&gt;
Discontinuity: Block 41947 is at 165903798 (was 165903677)&lt;br/&gt;
Discontinuity: Block 41949 is at 165908930 (was 165903799)&lt;br/&gt;
Discontinuity: Block 41955 is at 165908938 (was 165908935)&lt;br/&gt;
Discontinuity: Block 41961 is at 165908945 (was 165908943)&lt;br/&gt;
Discontinuity: Block 41963 is at 165908949 (was 165908946)&lt;br/&gt;
Discontinuity: Block 41965 is at 165910750 (was 165908950)&lt;br/&gt;
Discontinuity: Block 41967 is at 165911536 (was 165910751)&lt;br/&gt;
Discontinuity: Block 41970 is at 165912008 (was 165911538)&lt;br/&gt;
Discontinuity: Block 41973 is at 165914598 (was 165912010)&lt;br/&gt;
Discontinuity: Block 41975 is at 165914619 (was 165914599)&lt;br/&gt;
Discontinuity: Block 41976 is at 165915440 (was 165914619)&lt;br/&gt;
Discontinuity: Block 41984 is at 165917695 (was 165915447)&lt;br/&gt;
Discontinuity: Block 41985 is at 165918328 (was 165917695)&lt;br/&gt;
Discontinuity: Block 41990 is at 165922389 (was 165918332)&lt;br/&gt;
Discontinuity: Block 41993 is at 165923112 (was 165922391)&lt;br/&gt;
Discontinuity: Block 41997 is at 165924244 (was 165923116)&lt;br/&gt;
Discontinuity: Block 41999 is at 165924266 (was 165924245)&lt;br/&gt;
Discontinuity: Block 42001 is at 165925272 (was 165924267)&lt;br/&gt;
Discontinuity: Block 42003 is at 165931679 (was 165925273)&lt;br/&gt;
Discontinuity: Block 42004 is at 165931683 (was 165931679)&lt;br/&gt;
Discontinuity: Block 42005 is at 165932656 (was 165931683)&lt;br/&gt;
Discontinuity: Block 42009 is at 165933448 (was 165932659)&lt;br/&gt;
Discontinuity: Block 42011 is at 165933495 (was 165933449)&lt;br/&gt;
Discontinuity: Block 42012 is at 165933499 (was 165933495)&lt;br/&gt;
Discontinuity: Block 42013 is at 165934512 (was 165933499)&lt;br/&gt;
Discontinuity: Block 42015 is at 165934991 (was 165934513)&lt;br/&gt;
Discontinuity: Block 42016 is at 165934998 (was 165934991)&lt;br/&gt;
Discontinuity: Block 42017 is at 165939061 (was 165934998)&lt;br/&gt;
Discontinuity: Block 42019 is at 165940413 (was 165939062)&lt;br/&gt;
Discontinuity: Block 42021 is at 165941088 (was 165940414)&lt;br/&gt;
Discontinuity: Block 42023 is at 165943500 (was 165941089)&lt;br/&gt;
Discontinuity: Block 42025 is at 165944320 (was 165943501)&lt;br/&gt;
Discontinuity: Block 42033 is at 165945168 (was 165944327)&lt;br/&gt;
Discontinuity: Block 42041 is at 165945187 (was 165945175)&lt;br/&gt;
Discontinuity: Block 42046 is at 165945196 (was 165945191)&lt;br/&gt;
Discontinuity: Block 42050 is at 165945202 (was 165945199)&lt;br/&gt;
Discontinuity: Block 42055 is at 165945213 (was 165945206)&lt;br/&gt;
Discontinuity: Block 42057 is at 165946176 (was 165945214)&lt;br/&gt;
Discontinuity: Block 42065 is at 165946189 (was 165946183)&lt;br/&gt;
Discontinuity: Block 42068 is at 165946195 (was 165946191)&lt;br/&gt;
Discontinuity: Block 42069 is at 165946231 (was 165946195)&lt;br/&gt;
Discontinuity: Block 42070 is at 165946234 (was 165946231)&lt;br/&gt;
Discontinuity: Block 42071 is at 165953068 (was 165946234)&lt;br/&gt;
Discontinuity: Block 42075 is at 165953074 (was 165953071)&lt;br/&gt;
Discontinuity: Block 42079 is at 165953208 (was 165953077)&lt;br/&gt;
Discontinuity: Block 42081 is at 165955268 (was 165953209)&lt;br/&gt;
Discontinuity: Block 42085 is at 165955276 (was 165955271)&lt;br/&gt;
Discontinuity: Block 42089 is at 165955284 (was 165955279)&lt;br/&gt;
Discontinuity: Block 42091 is at 165955290 (was 165955285)&lt;br/&gt;
Discontinuity: Block 42093 is at 165955298 (was 165955291)&lt;br/&gt;
Discontinuity: Block 42095 is at 165955306 (was 165955299)&lt;br/&gt;
Discontinuity: Block 42097 is at 165955544 (was 165955307)&lt;br/&gt;
Discontinuity: Block 42099 is at 165956152 (was 165955545)&lt;br/&gt;
Discontinuity: Block 42103 is at 165956384 (was 165956155)&lt;br/&gt;
Discontinuity: Block 42105 is at 165961863 (was 165956385)&lt;br/&gt;
Discontinuity: Block 42106 is at 165961867 (was 165961863)&lt;br/&gt;
Discontinuity: Block 42107 is at 165964246 (was 165961867)&lt;br/&gt;
Discontinuity: Block 42109 is at 165964250 (was 165964247)&lt;br/&gt;
Discontinuity: Block 42110 is at 165964936 (was 165964250)&lt;br/&gt;
Discontinuity: Block 42114 is at 165965944 (was 165964939)&lt;br/&gt;
Discontinuity: Block 42116 is at 165966730 (was 165965945)&lt;br/&gt;
Discontinuity: Block 42118 is at 165967400 (was 165966731)&lt;br/&gt;
Discontinuity: Block 42120 is at 165969526 (was 165967401)&lt;br/&gt;
Discontinuity: Block 42122 is at 165969606 (was 165969527)&lt;br/&gt;
Discontinuity: Block 42124 is at 165969820 (was 165969607)&lt;br/&gt;
Discontinuity: Block 42127 is at 165970972 (was 165969822)&lt;br/&gt;
Discontinuity: Block 42129 is at 165971032 (was 165970973)&lt;br/&gt;
Discontinuity: Block 42131 is at 165971049 (was 165971033)&lt;br/&gt;
Discontinuity: Block 42134 is at 165971907 (was 165971051)&lt;br/&gt;
Discontinuity: Block 42139 is at 165972920 (was 165971911)&lt;br/&gt;
Discontinuity: Block 42141 is at 165978343 (was 165972921)&lt;br/&gt;
Discontinuity: Block 42142 is at 165978356 (was 165978343)&lt;br/&gt;
Discontinuity: Block 42143 is at 165978496 (was 165978356)&lt;br/&gt;
Discontinuity: Block 42145 is at 165982691 (was 165978497)&lt;br/&gt;
Discontinuity: Block 42148 is at 165983096 (was 165982693)&lt;br/&gt;
Discontinuity: Block 42151 is at 165984820 (was 165983098)&lt;br/&gt;
Discontinuity: Block 42154 is at 165986882 (was 165984822)&lt;br/&gt;
Discontinuity: Block 42157 is at 165988589 (was 165986884)&lt;br/&gt;
Discontinuity: Block 42159 is at 165990406 (was 165988590)&lt;br/&gt;
Discontinuity: Block 42161 is at 165991629 (was 165990407)&lt;br/&gt;
Discontinuity: Block 42163 is at 165999507 (was 165991630)&lt;br/&gt;
Discontinuity: Block 42165 is at 165999832 (was 165999508)&lt;br/&gt;
Discontinuity: Block 42167 is at 166011650 (was 165999833)&lt;br/&gt;
Discontinuity: Block 42171 is at 166011896 (was 166011653)&lt;br/&gt;
Discontinuity: Block 42176 is at 166019925 (was 166011900)&lt;br/&gt;
Discontinuity: Block 42178 is at 166020120 (was 166019926)&lt;br/&gt;
Discontinuity: Block 42180 is at 166022411 (was 166020121)&lt;br/&gt;
Discontinuity: Block 42182 is at 166023870 (was 166022412)&lt;br/&gt;
Discontinuity: Block 42184 is at 166023952 (was 166023871)&lt;br/&gt;
Discontinuity: Block 42185 is at 166024997 (was 166023952)&lt;br/&gt;
Discontinuity: Block 42188 is at 166027691 (was 166024999)&lt;br/&gt;
Discontinuity: Block 42191 is at 166031962 (was 166027693)&lt;br/&gt;
Discontinuity: Block 42193 is at 166032560 (was 166031963)&lt;br/&gt;
Discontinuity: Block 42195 is at 166034502 (was 166032561)&lt;br/&gt;
Discontinuity: Block 42200 is at 166034509 (was 166034506)&lt;br/&gt;
Discontinuity: Block 42202 is at 166034513 (was 166034510)&lt;br/&gt;
Discontinuity: Block 42204 is at 166034517 (was 166034514)&lt;br/&gt;
Discontinuity: Block 42210 is at 166034566 (was 166034522)&lt;br/&gt;
Discontinuity: Block 42212 is at 166040023 (was 166034567)&lt;br/&gt;
Discontinuity: Block 42228 is at 166040208 (was 166040038)&lt;br/&gt;
Discontinuity: Block 42231 is at 166041661 (was 166040210)&lt;br/&gt;
Discontinuity: Block 42234 is at 166041696 (was 166041663)&lt;br/&gt;
Discontinuity: Block 42239 is at 166041703 (was 166041700)&lt;br/&gt;
Discontinuity: Block 42241 is at 166041707 (was 166041704)&lt;br/&gt;
Discontinuity: Block 42243 is at 166044645 (was 166041708)&lt;br/&gt;
Discontinuity: Block 42246 is at 166045656 (was 166044647)&lt;br/&gt;
Discontinuity: Block 42249 is at 166056341 (was 166045658)&lt;br/&gt;
Discontinuity: Block 42251 is at 166056856 (was 166056342)&lt;br/&gt;
Discontinuity: Block 42253 is at 166058250 (was 166056857)&lt;br/&gt;
Discontinuity: Block 42256 is at 166058816 (was 166058252)&lt;br/&gt;
Discontinuity: Block 42258 is at 166070025 (was 166058817)&lt;br/&gt;
Discontinuity: Block 42260 is at 166070029 (was 166070026)&lt;br/&gt;
Discontinuity: Block 42263 is at 166070042 (was 166070031)&lt;br/&gt;
Discontinuity: Block 42264 is at 166073631 (was 166070042)&lt;br/&gt;
Discontinuity: Block 42265 is at 166073645 (was 166073631)&lt;br/&gt;
Discontinuity: Block 42267 is at 166074128 (was 166073646)&lt;br/&gt;
Discontinuity: Block 42270 is at 166075581 (was 166074130)&lt;br/&gt;
Discontinuity: Block 42272 is at 166077494 (was 166075582)&lt;br/&gt;
Discontinuity: Block 42274 is at 166079515 (was 166077495)&lt;br/&gt;
Discontinuity: Block 42276 is at 166084341 (was 166079516)&lt;br/&gt;
Discontinuity: Block 42278 is at 166088359 (was 166084342)&lt;br/&gt;
Discontinuity: Block 42279 is at 166088362 (was 166088359)&lt;br/&gt;
Discontinuity: Block 42281 is at 166088992 (was 166088363)&lt;br/&gt;
Discontinuity: Block 42283 is at 166092852 (was 166088993)&lt;br/&gt;
Discontinuity: Block 42285 is at 166094595 (was 166092853)&lt;br/&gt;
Discontinuity: Block 42290 is at 166094604 (was 166094599)&lt;br/&gt;
Discontinuity: Block 42293 is at 166094611 (was 166094606)&lt;br/&gt;
Discontinuity: Block 42295 is at 166094621 (was 166094612)&lt;br/&gt;
Discontinuity: Block 42297 is at 166095392 (was 166094622)&lt;br/&gt;
Discontinuity: Block 42300 is at 166096803 (was 166095394)&lt;br/&gt;
Discontinuity: Block 42302 is at 166098050 (was 166096804)&lt;br/&gt;
Discontinuity: Block 42305 is at 166098987 (was 166098052)&lt;br/&gt;
Discontinuity: Block 42308 is at 166100618 (was 166098989)&lt;br/&gt;
Discontinuity: Block 42311 is at 166102612 (was 166100620)&lt;br/&gt;
Discontinuity: Block 42313 is at 166104550 (was 166102613)&lt;br/&gt;
Discontinuity: Block 42315 is at 166105966 (was 166104551)&lt;br/&gt;
Discontinuity: Block 42317 is at 166105970 (was 166105967)&lt;br/&gt;
Discontinuity: Block 42318 is at 166106584 (was 166105970)&lt;br/&gt;
Discontinuity: Block 42321 is at 166107048 (was 166106586)&lt;br/&gt;
Discontinuity: Block 42324 is at 166107792 (was 166107050)&lt;br/&gt;
Discontinuity: Block 42332 is at 166109103 (was 166107799)&lt;br/&gt;
Discontinuity: Block 42333 is at 166109106 (was 166109103)&lt;br/&gt;
Discontinuity: Block 42335 is at 166112191 (was 166109107)&lt;br/&gt;
Discontinuity: Block 42336 is at 166112504 (was 166112191)&lt;br/&gt;
Discontinuity: Block 42337 is at 166115493 (was 166112504)&lt;br/&gt;
Discontinuity: Block 42339 is at 166115501 (was 166115494)&lt;br/&gt;
Discontinuity: Block 42342 is at 166115506 (was 166115503)&lt;br/&gt;
Discontinuity: Block 42345 is at 166116490 (was 166115508)&lt;br/&gt;
Discontinuity: Block 42347 is at 166116736 (was 166116491)&lt;br/&gt;
Discontinuity: Block 42350 is at 166119635 (was 166116738)&lt;br/&gt;
Discontinuity: Block 42351 is at 166121053 (was 166119635)&lt;br/&gt;
Discontinuity: Block 42353 is at 166123335 (was 166121054)&lt;br/&gt;
Discontinuity: Block 42354 is at 166123338 (was 166123335)&lt;br/&gt;
Discontinuity: Block 42355 is at 166124615 (was 166123338)&lt;br/&gt;
Discontinuity: Block 42356 is at 166124618 (was 166124615)&lt;br/&gt;
Discontinuity: Block 42357 is at 166126206 (was 166124618)&lt;br/&gt;
Discontinuity: Block 42359 is at 166126528 (was 166126207)&lt;br/&gt;
Discontinuity: Block 42361 is at 166133399 (was 166126529)&lt;br/&gt;
Discontinuity: Block 42363 is at 166136666 (was 166133400)&lt;br/&gt;
Discontinuity: Block 42365 is at 166142381 (was 166136667)&lt;br/&gt;
Discontinuity: Block 42368 is at 166147494 (was 166142383)&lt;br/&gt;
Discontinuity: Block 42370 is at 166147968 (was 166147495)&lt;br/&gt;
Discontinuity: Block 42372 is at 166148994 (was 166147969)&lt;br/&gt;
Discontinuity: Block 42375 is at 166148999 (was 166148996)&lt;br/&gt;
Discontinuity: Block 42376 is at 166149004 (was 166148999)&lt;br/&gt;
Discontinuity: Block 42378 is at 166149042 (was 166149005)&lt;br/&gt;
Discontinuity: Block 42381 is at 166149448 (was 166149044)&lt;br/&gt;
Discontinuity: Block 42384 is at 166151812 (was 166149450)&lt;br/&gt;
Discontinuity: Block 42386 is at 166152710 (was 166151813)&lt;br/&gt;
Discontinuity: Block 42388 is at 166153973 (was 166152711)&lt;br/&gt;
Discontinuity: Block 42390 is at 166157954 (was 166153974)&lt;br/&gt;
Discontinuity: Block 42392 is at 166159940 (was 166157955)&lt;br/&gt;
Discontinuity: Block 42394 is at 166162182 (was 166159941)&lt;br/&gt;
Discontinuity: Block 42396 is at 166165327 (was 166162183)&lt;br/&gt;
Discontinuity: Block 42397 is at 166165330 (was 166165327)&lt;br/&gt;
Discontinuity: Block 42399 is at 166169403 (was 166165331)&lt;br/&gt;
Discontinuity: Block 42401 is at 166169424 (was 166169404)&lt;br/&gt;
Discontinuity: Block 42403 is at 166171917 (was 166169425)&lt;br/&gt;
Discontinuity: Block 42405 is at 166173216 (was 166171918)&lt;br/&gt;
Discontinuity: Block 42407 is at 166173472 (was 166173217)&lt;br/&gt;
Discontinuity: Block 42419 is at 166173485 (was 166173483)&lt;br/&gt;
Discontinuity: Block 42425 is at 166173495 (was 166173490)&lt;br/&gt;
Discontinuity: Block 42426 is at 166173498 (was 166173495)&lt;br/&gt;
Discontinuity: Block 42428 is at 166178333 (was 166173499)&lt;br/&gt;
Discontinuity: Block 42431 is at 166180333 (was 166178335)&lt;br/&gt;
Discontinuity: Block 42434 is at 166182110 (was 166180335)&lt;br/&gt;
Discontinuity: Block 42436 is at 166184526 (was 166182111)&lt;br/&gt;
Discontinuity: Block 42438 is at 166184532 (was 166184527)&lt;br/&gt;
Discontinuity: Block 42439 is at 166186556 (was 166184532)&lt;br/&gt;
Discontinuity: Block 42449 is at 166186571 (was 166186565)&lt;br/&gt;
Discontinuity: Block 42451 is at 166186578 (was 166186572)&lt;br/&gt;
Discontinuity: Block 42453 is at 166186768 (was 166186579)&lt;br/&gt;
Discontinuity: Block 42456 is at 166186774 (was 166186770)&lt;br/&gt;
Discontinuity: Block 42458 is at 166186778 (was 166186775)&lt;br/&gt;
Discontinuity: Block 42459 is at 166186782 (was 166186778)&lt;br/&gt;
Discontinuity: Block 42461 is at 166190558 (was 166186783)&lt;br/&gt;
Discontinuity: Block 42463 is at 166191320 (was 166190559)&lt;br/&gt;
Discontinuity: Block 42466 is at 166196534 (was 166191322)&lt;br/&gt;
Discontinuity: Block 42468 is at 166197472 (was 166196535)&lt;br/&gt;
Discontinuity: Block 42489 is at 166198240 (was 166197492)&lt;br/&gt;
Discontinuity: Block 42491 is at 166198308 (was 166198241)&lt;br/&gt;
Discontinuity: Block 42493 is at 166198316 (was 166198309)&lt;br/&gt;
Discontinuity: Block 42495 is at 166203803 (was 166198317)&lt;br/&gt;
Discontinuity: Block 42497 is at 166204456 (was 166203804)&lt;br/&gt;
Discontinuity: Block 42505 is at 166204616 (was 166204463)&lt;br/&gt;
Discontinuity: Block 42508 is at 166205064 (was 166204618)&lt;br/&gt;
Discontinuity: Block 42511 is at 166206621 (was 166205066)&lt;br/&gt;
Discontinuity: Block 42513 is at 166207416 (was 166206622)&lt;br/&gt;
Discontinuity: Block 42516 is at 166209117 (was 166207418)&lt;br/&gt;
Discontinuity: Block 42519 is at 166210526 (was 166209119)&lt;br/&gt;
Discontinuity: Block 42521 is at 166211424 (was 166210527)&lt;br/&gt;
Discontinuity: Block 42523 is at 166212272 (was 166211425)&lt;br/&gt;
Discontinuity: Block 42527 is at 166213836 (was 166212275)&lt;br/&gt;
Discontinuity: Block 42529 is at 166214640 (was 166213837)&lt;br/&gt;
Discontinuity: Block 42531 is at 166215622 (was 166214641)&lt;br/&gt;
Discontinuity: Block 42533 is at 166215626 (was 166215623)&lt;br/&gt;
Discontinuity: Block 42534 is at 166215660 (was 166215626)&lt;br/&gt;
Discontinuity: Block 42537 is at 166218659 (was 166215662)&lt;br/&gt;
Discontinuity: Block 42539 is at 166224141 (was 166218660)&lt;br/&gt;
Discontinuity: Block 42541 is at 166225413 (was 166224142)&lt;br/&gt;
Discontinuity: Block 42544 is at 166226387 (was 166225415)&lt;br/&gt;
Discontinuity: Block 42547 is at 166226968 (was 166226389)&lt;br/&gt;
Discontinuity: Block 42552 is at 166227488 (was 166226972)&lt;br/&gt;
Discontinuity: Block 42554 is at 166233794 (was 166227489)&lt;br/&gt;
Discontinuity: Block 42557 is at 166233803 (was 166233796)&lt;br/&gt;
Discontinuity: Block 42559 is at 166237669 (was 166233804)&lt;br/&gt;
Discontinuity: Block 42561 is at 166238496 (was 166237670)&lt;br/&gt;
Discontinuity: Block 42565 is at 166244199 (was 166238499)&lt;br/&gt;
Discontinuity: Block 42566 is at 166244211 (was 166244199)&lt;br/&gt;
Discontinuity: Block 42567 is at 166247362 (was 166244211)&lt;br/&gt;
Discontinuity: Block 42571 is at 166250141 (was 166247365)&lt;br/&gt;
Discontinuity: Block 42573 is at 166254159 (was 166250142)&lt;br/&gt;
Discontinuity: Block 42574 is at 166254164 (was 166254159)&lt;br/&gt;
Discontinuity: Block 42575 is at 166254852 (was 166254164)&lt;br/&gt;
Discontinuity: Block 42577 is at 166259751 (was 166254853)&lt;br/&gt;
Discontinuity: Block 42578 is at 166259754 (was 166259751)&lt;br/&gt;
Discontinuity: Block 42579 is at 166263379 (was 166259754)&lt;br/&gt;
Discontinuity: Block 42581 is at 166264149 (was 166263380)&lt;br/&gt;
Discontinuity: Block 42583 is at 166264718 (was 166264150)&lt;br/&gt;
Discontinuity: Block 42585 is at 166267972 (was 166264719)&lt;br/&gt;
Discontinuity: Block 42589 is at 166270995 (was 166267975)&lt;br/&gt;
Discontinuity: Block 42591 is at 166274957 (was 166270996)&lt;br/&gt;
Discontinuity: Block 42594 is at 166275640 (was 166274959)&lt;br/&gt;
Discontinuity: Block 42597 is at 166276957 (was 166275642)&lt;br/&gt;
Discontinuity: Block 42599 is at 166278283 (was 166276958)&lt;br/&gt;
Discontinuity: Block 42603 is at 166281414 (was 166278286)&lt;br/&gt;
Discontinuity: Block 42605 is at 166282304 (was 166281415)&lt;br/&gt;
Discontinuity: Block 42609 is at 166283271 (was 166282307)&lt;br/&gt;
Discontinuity: Block 42610 is at 166283273 (was 166283271)&lt;br/&gt;
Discontinuity: Block 42612 is at 166285155 (was 166283274)&lt;br/&gt;
Discontinuity: Block 42614 is at 166286468 (was 166285156)&lt;br/&gt;
Discontinuity: Block 42616 is at 166288027 (was 166286469)&lt;br/&gt;
Discontinuity: Block 42618 is at 166292023 (was 166288028)&lt;br/&gt;
Discontinuity: Block 42619 is at 166292028 (was 166292023)&lt;br/&gt;
Discontinuity: Block 42620 is at 166294354 (was 166292028)&lt;br/&gt;
Discontinuity: Block 42622 is at 166295278 (was 166294355)&lt;br/&gt;
Discontinuity: Block 42624 is at 166296271 (was 166295279)&lt;br/&gt;
Discontinuity: Block 42625 is at 166296275 (was 166296271)&lt;br/&gt;
Discontinuity: Block 42626 is at 166307586 (was 166296275)&lt;br/&gt;
Discontinuity: Block 42628 is at 166312269 (was 166307587)&lt;br/&gt;
Discontinuity: Block 42630 is at 166315394 (was 166312270)&lt;br/&gt;
Discontinuity: Block 42633 is at 166316248 (was 166315396)&lt;br/&gt;
Discontinuity: Block 42636 is at 166319983 (was 166316250)&lt;br/&gt;
Discontinuity: Block 42637 is at 166319986 (was 166319983)&lt;br/&gt;
Discontinuity: Block 42638 is at 166320512 (was 166319986)&lt;br/&gt;
Discontinuity: Block 42641 is at 166321735 (was 166320514)&lt;br/&gt;
Discontinuity: Block 42642 is at 166321737 (was 166321735)&lt;br/&gt;
Discontinuity: Block 42643 is at 166322499 (was 166321737)&lt;br/&gt;
Discontinuity: Block 42645 is at 166322952 (was 166322500)&lt;br/&gt;
Discontinuity: Block 42647 is at 166323464 (was 166322953)&lt;br/&gt;
Discontinuity: Block 42649 is at 166325277 (was 166323465)&lt;br/&gt;
Discontinuity: Block 42651 is at 166325864 (was 166325278)&lt;br/&gt;
Discontinuity: Block 42653 is at 166327051 (was 166325865)&lt;br/&gt;
Discontinuity: Block 42655 is at 166329204 (was 166327052)&lt;br/&gt;
Discontinuity: Block 42657 is at 166335277 (was 166329205)&lt;br/&gt;
Discontinuity: Block 42659 is at 166339595 (was 166335278)&lt;br/&gt;
Discontinuity: Block 42660 is at 166343301 (was 166339595)&lt;br/&gt;
Discontinuity: Block 42662 is at 166346217 (was 166343302)&lt;br/&gt;
Discontinuity: Block 42665 is at 166350429 (was 166346219)&lt;br/&gt;
Discontinuity: Block 42667 is at 166351019 (was 166350430)&lt;br/&gt;
Discontinuity: Block 42669 is at 166352989 (was 166351020)&lt;br/&gt;
Discontinuity: Block 42672 is at 166356862 (was 166352991)&lt;br/&gt;
Discontinuity: Block 42674 is at 166357767 (was 166356863)&lt;br/&gt;
Discontinuity: Block 42675 is at 166357770 (was 166357767)&lt;br/&gt;
Discontinuity: Block 42676 is at 166359774 (was 166357770)&lt;br/&gt;
Discontinuity: Block 42678 is at 166365050 (was 166359775)&lt;br/&gt;
Discontinuity: Block 42680 is at 166367685 (was 166365051)&lt;br/&gt;
Discontinuity: Block 42682 is at 166370619 (was 166367686)&lt;br/&gt;
Discontinuity: Block 42684 is at 166370623 (was 166370620)&lt;br/&gt;
Discontinuity: Block 42685 is at 166370896 (was 166370623)&lt;br/&gt;
Discontinuity: Block 42686 is at 166373091 (was 166370896)&lt;br/&gt;
Discontinuity: Block 42688 is at 166373752 (was 166373092)&lt;br/&gt;
Discontinuity: Block 42693 is at 166373759 (was 166373756)&lt;br/&gt;
Discontinuity: Block 42694 is at 166374320 (was 166373759)&lt;br/&gt;
Discontinuity: Block 42700 is at 166375813 (was 166374325)&lt;br/&gt;
Discontinuity: Block 42702 is at 166377251 (was 166375814)&lt;br/&gt;
Discontinuity: Block 42705 is at 166378788 (was 166377253)&lt;br/&gt;
Discontinuity: Block 42707 is at 166379752 (was 166378789)&lt;br/&gt;
Discontinuity: Block 42710 is at 166381183 (was 166379754)&lt;br/&gt;
Discontinuity: Block 42711 is at 166381432 (was 166381183)&lt;br/&gt;
Discontinuity: Block 42713 is at 166383523 (was 166381433)&lt;br/&gt;
Discontinuity: Block 42715 is at 166384102 (was 166383524)&lt;br/&gt;
Discontinuity: Block 42717 is at 166385349 (was 166384103)&lt;br/&gt;
Discontinuity: Block 42719 is at 166388332 (was 166385350)&lt;br/&gt;
Discontinuity: Block 42721 is at 166393559 (was 166388333)&lt;br/&gt;
Discontinuity: Block 42722 is at 166393562 (was 166393559)&lt;br/&gt;
Discontinuity: Block 42723 is at 166394383 (was 166393562)&lt;br/&gt;
Discontinuity: Block 42724 is at 166394386 (was 166394383)&lt;br/&gt;
Discontinuity: Block 42725 is at 166394395 (was 166394386)&lt;br/&gt;
Discontinuity: Block 42727 is at 166395375 (was 166394396)&lt;br/&gt;
Discontinuity: Block 42729 is at 166400547 (was 166395376)&lt;br/&gt;
Discontinuity: Block 42731 is at 166403703 (was 166400548)&lt;br/&gt;
Discontinuity: Block 42732 is at 166403709 (was 166403703)&lt;br/&gt;
Discontinuity: Block 42733 is at 166407491 (was 166403709)&lt;br/&gt;
Discontinuity: Block 42735 is at 166407616 (was 166407492)&lt;br/&gt;
Discontinuity: Block 42737 is at 166408432 (was 166407617)&lt;br/&gt;
Discontinuity: Block 42740 is at 166409453 (was 166408434)&lt;br/&gt;
Discontinuity: Block 42742 is at 166410867 (was 166409454)&lt;br/&gt;
Discontinuity: Block 42744 is at 166411967 (was 166410868)&lt;br/&gt;
Discontinuity: Block 42745 is at 166412288 (was 166411967)&lt;br/&gt;
Discontinuity: Block 42746 is at 166413779 (was 166412288)&lt;br/&gt;
Discontinuity: Block 42748 is at 166417871 (was 166413780)&lt;br/&gt;
Discontinuity: Block 42749 is at 166417874 (was 166417871)&lt;br/&gt;
Discontinuity: Block 42750 is at 166418320 (was 166417874)&lt;br/&gt;
Discontinuity: Block 42752 is at 166419144 (was 166418321)&lt;br/&gt;
Discontinuity: Block 42754 is at 166419982 (was 166419145)&lt;br/&gt;
Discontinuity: Block 42756 is at 166420023 (was 166419983)&lt;br/&gt;
Discontinuity: Block 42757 is at 166420030 (was 166420023)&lt;br/&gt;
Discontinuity: Block 42759 is at 166420592 (was 166420031)&lt;br/&gt;
Discontinuity: Block 42766 is at 166421917 (was 166420598)&lt;br/&gt;
Discontinuity: Block 42768 is at 166422640 (was 166421918)&lt;br/&gt;
Discontinuity: Block 42772 is at 166423576 (was 166422643)&lt;br/&gt;
Discontinuity: Block 42775 is at 166426634 (was 166423578)&lt;br/&gt;
Discontinuity: Block 42777 is at 166432548 (was 166426635)&lt;br/&gt;
Discontinuity: Block 42779 is at 166433040 (was 166432549)&lt;br/&gt;
Discontinuity: Block 42781 is at 166434797 (was 166433041)&lt;br/&gt;
Discontinuity: Block 42783 is at 166436196 (was 166434798)&lt;br/&gt;
Discontinuity: Block 42785 is at 166437606 (was 166436197)&lt;br/&gt;
Discontinuity: Block 42787 is at 166438416 (was 166437607)&lt;br/&gt;
Discontinuity: Block 42789 is at 166439957 (was 166438417)&lt;br/&gt;
Discontinuity: Block 42791 is at 166440677 (was 166439958)&lt;br/&gt;
Discontinuity: Block 42793 is at 166444852 (was 166440678)&lt;br/&gt;
Discontinuity: Block 42795 is at 166448468 (was 166444853)&lt;br/&gt;
Discontinuity: Block 42798 is at 166452575 (was 166448470)&lt;br/&gt;
Discontinuity: Block 42799 is at 166452579 (was 166452575)&lt;br/&gt;
Discontinuity: Block 42801 is at 166452586 (was 166452580)&lt;br/&gt;
Discontinuity: Block 42803 is at 166452752 (was 166452587)&lt;br/&gt;
Discontinuity: Block 42805 is at 166453440 (was 166452753)&lt;br/&gt;
Discontinuity: Block 42807 is at 166454730 (was 166453441)&lt;br/&gt;
Discontinuity: Block 42809 is at 166456884 (was 166454731)&lt;br/&gt;
Discontinuity: Block 42811 is at 166458653 (was 166456885)&lt;br/&gt;
Discontinuity: Block 42813 is at 166460648 (was 166458654)&lt;br/&gt;
Discontinuity: Block 42816 is at 166460653 (was 166460650)&lt;br/&gt;
Discontinuity: Block 42825 is at 166463507 (was 166460661)&lt;br/&gt;
Discontinuity: Block 42827 is at 166468695 (was 166463508)&lt;br/&gt;
Discontinuity: Block 42832 is at 166471758 (was 166468699)&lt;br/&gt;
Discontinuity: Block 42834 is at 166472312 (was 166471759)&lt;br/&gt;
Discontinuity: Block 42836 is at 166472592 (was 166472313)&lt;br/&gt;
Discontinuity: Block 42840 is at 166478667 (was 166472595)&lt;br/&gt;
Discontinuity: Block 42842 is at 166480931 (was 166478668)&lt;br/&gt;
Discontinuity: Block 42844 is at 166480950 (was 166480932)&lt;br/&gt;
Discontinuity: Block 42846 is at 166481480 (was 166480951)&lt;br/&gt;
Discontinuity: Block 42848 is at 166482000 (was 166481481)&lt;br/&gt;
Discontinuity: Block 42850 is at 166483573 (was 166482001)&lt;br/&gt;
Discontinuity: Block 42853 is at 166483960 (was 166483575)&lt;br/&gt;
Discontinuity: Block 42855 is at 166486093 (was 166483961)&lt;br/&gt;
Discontinuity: Block 42857 is at 166487302 (was 166486094)&lt;br/&gt;
Discontinuity: Block 42859 is at 166487307 (was 166487303)&lt;br/&gt;
Discontinuity: Block 42860 is at 166488184 (was 166487307)&lt;br/&gt;
Discontinuity: Block 42866 is at 166489158 (was 166488189)&lt;br/&gt;
Discontinuity: Block 42868 is at 166492605 (was 166489159)&lt;br/&gt;
Discontinuity: Block 42870 is at 166493472 (was 166492606)&lt;br/&gt;
Discontinuity: Block 42876 is at 166496418 (was 166493477)&lt;br/&gt;
Discontinuity: Block 42879 is at 166496429 (was 166496420)&lt;br/&gt;
Discontinuity: Block 42882 is at 166496888 (was 166496431)&lt;br/&gt;
Discontinuity: Block 42885 is at 166499078 (was 166496890)&lt;br/&gt;
Discontinuity: Block 42887 is at 166499084 (was 166499079)&lt;br/&gt;
Discontinuity: Block 42889 is at 166500334 (was 166499085)&lt;br/&gt;
Discontinuity: Block 42891 is at 166501357 (was 166500335)&lt;br/&gt;
Discontinuity: Block 42893 is at 166502184 (was 166501358)&lt;br/&gt;
Discontinuity: Block 42895 is at 166504270 (was 166502185)&lt;br/&gt;
Discontinuity: Block 42897 is at 166505000 (was 166504271)&lt;br/&gt;
Discontinuity: Block 42899 is at 166509362 (was 166505001)&lt;br/&gt;
Discontinuity: Block 42901 is at 166512207 (was 166509363)&lt;br/&gt;
Discontinuity: Block 42902 is at 166512212 (was 166512207)&lt;br/&gt;
Discontinuity: Block 42903 is at 166513232 (was 166512212)&lt;br/&gt;
Discontinuity: Block 42911 is at 166513245 (was 166513239)&lt;br/&gt;
Discontinuity: Block 42914 is at 166516422 (was 166513247)&lt;br/&gt;
Discontinuity: Block 42916 is at 166517368 (was 166516423)&lt;br/&gt;
Discontinuity: Block 42920 is at 166518152 (was 166517371)&lt;br/&gt;
Discontinuity: Block 42924 is at 166519160 (was 166518155)&lt;br/&gt;
Discontinuity: Block 42928 is at 166521158 (was 166519163)&lt;br/&gt;
Discontinuity: Block 42930 is at 166521880 (was 166521159)&lt;br/&gt;
Discontinuity: Block 42932 is at 166526300 (was 166521881)&lt;br/&gt;
Discontinuity: Block 42935 is at 166528371 (was 166526302)&lt;br/&gt;
Discontinuity: Block 42946 is at 166528408 (was 166528381)&lt;br/&gt;
Discontinuity: Block 42948 is at 166529787 (was 166528409)&lt;br/&gt;
Discontinuity: Block 42950 is at 166530549 (was 166529788)&lt;br/&gt;
Discontinuity: Block 42952 is at 166531679 (was 166530550)&lt;br/&gt;
Discontinuity: Block 42953 is at 166531693 (was 166531679)&lt;br/&gt;
Discontinuity: Block 42954 is at 166532780 (was 166531693)&lt;br/&gt;
Discontinuity: Block 42958 is at 166532796 (was 166532783)&lt;br/&gt;
Discontinuity: Block 42962 is at 166532968 (was 166532799)&lt;br/&gt;
Discontinuity: Block 42968 is at 166534852 (was 166532973)&lt;br/&gt;
Discontinuity: Block 42970 is at 166537044 (was 166534853)&lt;br/&gt;
Discontinuity: Block 42972 is at 166537051 (was 166537045)&lt;br/&gt;
Discontinuity: Block 42974 is at 166537061 (was 166537052)&lt;br/&gt;
Discontinuity: Block 42976 is at 166540284 (was 166537062)&lt;br/&gt;
Discontinuity: Block 42978 is at 166540472 (was 166540285)&lt;br/&gt;
Discontinuity: Block 42980 is at 166541328 (was 166540473)&lt;br/&gt;
Discontinuity: Block 42985 is at 166542144 (was 166541332)&lt;br/&gt;
Discontinuity: Block 42987 is at 166542688 (was 166542145)&lt;br/&gt;
Discontinuity: Block 43001 is at 166548687 (was 166542701)&lt;br/&gt;
Discontinuity: Block 43002 is at 166548690 (was 166548687)&lt;br/&gt;
Discontinuity: Block 43003 is at 166550270 (was 166548690)&lt;br/&gt;
Discontinuity: Block 43005 is at 166550688 (was 166550271)&lt;br/&gt;
Discontinuity: Block 43011 is at 166552327 (was 166550693)&lt;br/&gt;
Discontinuity: Block 43012 is at 166552330 (was 166552327)&lt;br/&gt;
Discontinuity: Block 43013 is at 166552672 (was 166552330)&lt;br/&gt;
Discontinuity: Block 43037 is at 166554030 (was 166552696)&lt;br/&gt;
Discontinuity: Block 43039 is at 166555299 (was 166554031)&lt;br/&gt;
Discontinuity: Block 43041 is at 166556144 (was 166555300)&lt;br/&gt;
Discontinuity: Block 43044 is at 166557142 (was 166556146)&lt;br/&gt;
Discontinuity: Block 43046 is at 166557693 (was 166557143)&lt;br/&gt;
Discontinuity: Block 43048 is at 166558336 (was 166557694)&lt;br/&gt;
Discontinuity: Block 43056 is at 166558350 (was 166558343)&lt;br/&gt;
Discontinuity: Block 43058 is at 166561587 (was 166558351)&lt;br/&gt;
Discontinuity: Block 43078 is at 166562676 (was 166561606)&lt;br/&gt;
Discontinuity: Block 43080 is at 166563650 (was 166562677)&lt;br/&gt;
Discontinuity: Block 43082 is at 166566860 (was 166563651)&lt;br/&gt;
Discontinuity: Block 43085 is at 166567400 (was 166566862)&lt;br/&gt;
Discontinuity: Block 43088 is at 166569139 (was 166567402)&lt;br/&gt;
Discontinuity: Block 43090 is at 166576150 (was 166569140)&lt;br/&gt;
Discontinuity: Block 43092 is at 166579650 (was 166576151)&lt;br/&gt;
Discontinuity: Block 43095 is at 166581317 (was 166579652)&lt;br/&gt;
Discontinuity: Block 43097 is at 166584735 (was 166581318)&lt;br/&gt;
Discontinuity: Block 43098 is at 166584742 (was 166584735)&lt;br/&gt;
Discontinuity: Block 43100 is at 166584748 (was 166584743)&lt;br/&gt;
Discontinuity: Block 43101 is at 166585678 (was 166584748)&lt;br/&gt;
Discontinuity: Block 43103 is at 166587013 (was 166585679)&lt;br/&gt;
Discontinuity: Block 43105 is at 166587026 (was 166587014)&lt;br/&gt;
Discontinuity: Block 43107 is at 166587796 (was 166587027)&lt;br/&gt;
Discontinuity: Block 43109 is at 166588799 (was 166587797)&lt;br/&gt;
Discontinuity: Block 43110 is at 166588803 (was 166588799)&lt;br/&gt;
Discontinuity: Block 43111 is at 166589693 (was 166588803)&lt;br/&gt;
Discontinuity: Block 43113 is at 166590764 (was 166589694)&lt;br/&gt;
Discontinuity: Block 43115 is at 166591240 (was 166590765)&lt;br/&gt;
Discontinuity: Block 43117 is at 166591244 (was 166591241)&lt;br/&gt;
Discontinuity: Block 43119 is at 166598133 (was 166591245)&lt;br/&gt;
Discontinuity: Block 43121 is at 166598232 (was 166598134)&lt;br/&gt;
Discontinuity: Block 43123 is at 166599412 (was 166598233)&lt;br/&gt;
Discontinuity: Block 43127 is at 166599419 (was 166599415)&lt;br/&gt;
Discontinuity: Block 43132 is at 166599576 (was 166599423)&lt;br/&gt;
Discontinuity: Block 43135 is at 166599582 (was 166599578)&lt;br/&gt;
Discontinuity: Block 43137 is at 166599598 (was 166599583)&lt;br/&gt;
Discontinuity: Block 43139 is at 166600376 (was 166599599)&lt;br/&gt;
Discontinuity: Block 43141 is at 166603031 (was 166600377)&lt;br/&gt;
Discontinuity: Block 43142 is at 166603038 (was 166603031)&lt;br/&gt;
Discontinuity: Block 43143 is at 166603344 (was 166603038)&lt;br/&gt;
Discontinuity: Block 43145 is at 166603632 (was 166603345)&lt;br/&gt;
Discontinuity: Block 43147 is at 166604483 (was 166603633)&lt;br/&gt;
Discontinuity: Block 43150 is at 166605440 (was 166604485)&lt;br/&gt;
Discontinuity: Block 43156 is at 166607757 (was 166605445)&lt;br/&gt;
Discontinuity: Block 43159 is at 166608674 (was 166607759)&lt;br/&gt;
Discontinuity: Block 43161 is at 166609398 (was 166608675)&lt;br/&gt;
Discontinuity: Block 43163 is at 166614621 (was 166609399)&lt;br/&gt;
Discontinuity: Block 43165 is at 166614880 (was 166614622)&lt;br/&gt;
Discontinuity: Block 43167 is at 166616575 (was 166614881)&lt;br/&gt;
Discontinuity: Block 43168 is at 166616656 (was 166616575)&lt;br/&gt;
Discontinuity: Block 43181 is at 166616880 (was 166616668)&lt;br/&gt;
Discontinuity: Block 43184 is at 166617024 (was 166616882)&lt;br/&gt;
Discontinuity: Block 43186 is at 166618563 (was 166617025)&lt;br/&gt;
Discontinuity: Block 43190 is at 166618579 (was 166618566)&lt;br/&gt;
Discontinuity: Block 43192 is at 166623159 (was 166618580)&lt;br/&gt;
Discontinuity: Block 43193 is at 166623166 (was 166623159)&lt;br/&gt;
Discontinuity: Block 43194 is at 166623824 (was 166623166)&lt;br/&gt;
Discontinuity: Block 43198 is at 166629417 (was 166623827)&lt;br/&gt;
Discontinuity: Block 43200 is at 166631422 (was 166629418)&lt;br/&gt;
Discontinuity: Block 43202 is at 166632740 (was 166631423)&lt;br/&gt;
Discontinuity: Block 43205 is at 166635806 (was 166632742)&lt;br/&gt;
Discontinuity: Block 43207 is at 166635811 (was 166635807)&lt;br/&gt;
Discontinuity: Block 43208 is at 166636616 (was 166635811)&lt;br/&gt;
Discontinuity: Block 43210 is at 166637200 (was 166636617)&lt;br/&gt;
Discontinuity: Block 43212 is at 166639117 (was 166637201)&lt;br/&gt;
Discontinuity: Block 43215 is at 166641174 (was 166639119)&lt;br/&gt;
Discontinuity: Block 43217 is at 166641178 (was 166641175)&lt;br/&gt;
Discontinuity: Block 43218 is at 166641182 (was 166641178)&lt;br/&gt;
Discontinuity: Block 43220 is at 166641187 (was 166641183)&lt;br/&gt;
Discontinuity: Block 43221 is at 166641194 (was 166641187)&lt;br/&gt;
Discontinuity: Block 43224 is at 166642902 (was 166641196)&lt;br/&gt;
Discontinuity: Block 43226 is at 166642907 (was 166642903)&lt;br/&gt;
Discontinuity: Block 43231 is at 166642914 (was 166642911)&lt;br/&gt;
Discontinuity: Block 43237 is at 166642922 (was 166642919)&lt;br/&gt;
Discontinuity: Block 43243 is at 166642930 (was 166642927)&lt;br/&gt;
Discontinuity: Block 43245 is at 166642935 (was 166642931)&lt;br/&gt;
Discontinuity: Block 43246 is at 166642938 (was 166642935)&lt;br/&gt;
Discontinuity: Block 43248 is at 166644951 (was 166642939)&lt;br/&gt;
Discontinuity: Block 43249 is at 166644955 (was 166644951)&lt;br/&gt;
Discontinuity: Block 43251 is at 166645695 (was 166644956)&lt;br/&gt;
Discontinuity: Block 43252 is at 166645698 (was 166645695)&lt;br/&gt;
Discontinuity: Block 43253 is at 166646955 (was 166645698)&lt;br/&gt;
Discontinuity: Block 43255 is at 166647888 (was 166646956)&lt;br/&gt;
Discontinuity: Block 43261 is at 166649322 (was 166647893)&lt;br/&gt;
Discontinuity: Block 43264 is at 166650128 (was 166649324)&lt;br/&gt;
Discontinuity: Block 43266 is at 166655467 (was 166650129)&lt;br/&gt;
Discontinuity: Block 43269 is at 166656080 (was 166655469)&lt;br/&gt;
Discontinuity: Block 43273 is at 166659930 (was 166656083)&lt;br/&gt;
Discontinuity: Block 43276 is at 166659941 (was 166659932)&lt;br/&gt;
Discontinuity: Block 43279 is at 166660016 (was 166659943)&lt;br/&gt;
Discontinuity: Block 43287 is at 166660048 (was 166660023)&lt;br/&gt;
Discontinuity: Block 43288 is at 166664191 (was 166660048)&lt;br/&gt;
Discontinuity: Block 43289 is at 166664296 (was 166664191)&lt;br/&gt;
Discontinuity: Block 43290 is at 166665332 (was 166664296)&lt;br/&gt;
Discontinuity: Block 43294 is at 166665338 (was 166665335)&lt;br/&gt;
Discontinuity: Block 43299 is at 166665688 (was 166665342)&lt;br/&gt;
Discontinuity: Block 43302 is at 166665695 (was 166665690)&lt;br/&gt;
Discontinuity: Block 43308 is at 166665703 (was 166665700)&lt;br/&gt;
Discontinuity: Block 43309 is at 166665722 (was 166665703)&lt;br/&gt;
Discontinuity: Block 43311 is at 166665752 (was 166665723)&lt;br/&gt;
Discontinuity: Block 43314 is at 166666620 (was 166665754)&lt;br/&gt;
Discontinuity: Block 43317 is at 166668549 (was 166666622)&lt;br/&gt;
Discontinuity: Block 43320 is at 166668554 (was 166668551)&lt;br/&gt;
Discontinuity: Block 43323 is at 166668565 (was 166668556)&lt;br/&gt;
Discontinuity: Block 43326 is at 166669536 (was 166668567)&lt;br/&gt;
Discontinuity: Block 43329 is at 166672114 (was 166669538)&lt;br/&gt;
Discontinuity: Block 43331 is at 166672766 (was 166672115)&lt;br/&gt;
Discontinuity: Block 43333 is at 166673846 (was 166672767)&lt;br/&gt;
Discontinuity: Block 43335 is at 166674352 (was 166673847)&lt;br/&gt;
Discontinuity: Block 43339 is at 166675555 (was 166674355)&lt;br/&gt;
Discontinuity: Block 43341 is at 166676144 (was 166675556)&lt;br/&gt;
Discontinuity: Block 43349 is at 166676824 (was 166676151)&lt;br/&gt;
Discontinuity: Block 43351 is at 166679886 (was 166676825)&lt;br/&gt;
Discontinuity: Block 43353 is at 166679903 (was 166679887)&lt;br/&gt;
Discontinuity: Block 43354 is at 166679906 (was 166679903)&lt;br/&gt;
Discontinuity: Block 43355 is at 166679976 (was 166679906)&lt;br/&gt;
Discontinuity: Block 43361 is at 166679990 (was 166679981)&lt;br/&gt;
Discontinuity: Block 43363 is at 166680938 (was 166679991)&lt;br/&gt;
Discontinuity: Block 43365 is at 166686228 (was 166680939)&lt;br/&gt;
Discontinuity: Block 43367 is at 166688011 (was 166686229)&lt;br/&gt;
Discontinuity: Block 43370 is at 166690138 (was 166688013)&lt;br/&gt;
Discontinuity: Block 43373 is at 166695958 (was 166690140)&lt;br/&gt;
Discontinuity: Block 43376 is at 166696741 (was 166695960)&lt;br/&gt;
Discontinuity: Block 43379 is at 166697408 (was 166696743)&lt;br/&gt;
Discontinuity: Block 43381 is at 166698032 (was 166697409)&lt;br/&gt;
Discontinuity: Block 43384 is at 166706845 (was 166698034)&lt;br/&gt;
Discontinuity: Block 43386 is at 166709070 (was 166706846)&lt;br/&gt;
Discontinuity: Block 43388 is at 166709074 (was 166709071)&lt;br/&gt;
Discontinuity: Block 43389 is at 166710275 (was 166709074)&lt;br/&gt;
Discontinuity: Block 43392 is at 166710282 (was 166710277)&lt;br/&gt;
Discontinuity: Block 43394 is at 166711374 (was 166710283)&lt;br/&gt;
Discontinuity: Block 43396 is at 166716860 (was 166711375)&lt;br/&gt;
Discontinuity: Block 43399 is at 166717824 (was 166716862)&lt;br/&gt;
Discontinuity: Block 43401 is at 166720134 (was 166717825)&lt;br/&gt;
Discontinuity: Block 43403 is at 166721247 (was 166720135)&lt;br/&gt;
Discontinuity: Block 43404 is at 166721259 (was 166721247)&lt;br/&gt;
Discontinuity: Block 43406 is at 166722133 (was 166721260)&lt;br/&gt;
Discontinuity: Block 43408 is at 166732082 (was 166722134)&lt;br/&gt;
Discontinuity: Block 43414 is at 166732091 (was 166732087)&lt;br/&gt;
Discontinuity: Block 43419 is at 166732688 (was 166732095)&lt;br/&gt;
Discontinuity: Block 43427 is at 166732706 (was 166732695)&lt;br/&gt;
Discontinuity: Block 43430 is at 166734229 (was 166732708)&lt;br/&gt;
Discontinuity: Block 43432 is at 166737100 (was 166734230)&lt;br/&gt;
Discontinuity: Block 43434 is at 166737584 (was 166737101)&lt;br/&gt;
Discontinuity: Block 43437 is at 166738256 (was 166737586)&lt;br/&gt;
Discontinuity: Block 43439 is at 166739242 (was 166738257)&lt;br/&gt;
Discontinuity: Block 43442 is at 166742119 (was 166739244)&lt;br/&gt;
Discontinuity: Block 43443 is at 166742125 (was 166742119)&lt;br/&gt;
Discontinuity: Block 43444 is at 166742864 (was 166742125)&lt;br/&gt;
Discontinuity: Block 43447 is at 166742887 (was 166742866)&lt;br/&gt;
Discontinuity: Block 43448 is at 166742891 (was 166742887)&lt;br/&gt;
Discontinuity: Block 43450 is at 166743712 (was 166742892)&lt;br/&gt;
Discontinuity: Block 43452 is at 166747043 (was 166743713)&lt;br/&gt;
Discontinuity: Block 43454 is at 166747888 (was 166747044)&lt;br/&gt;
Discontinuity: Block 43458 is at 166749239 (was 166747891)&lt;br/&gt;
Discontinuity: Block 43459 is at 166749244 (was 166749239)&lt;br/&gt;
Discontinuity: Block 43460 is at 166750232 (was 166749244)&lt;br/&gt;
Discontinuity: Block 43466 is at 166751663 (was 166750237)&lt;br/&gt;
Discontinuity: Block 43467 is at 166751668 (was 166751663)&lt;br/&gt;
Discontinuity: Block 43469 is at 166752488 (was 166751669)&lt;br/&gt;
Discontinuity: Block 43472 is at 166756203 (was 166752490)&lt;br/&gt;
Discontinuity: Block 43476 is at 166760882 (was 166756206)&lt;br/&gt;
Discontinuity: Block 43478 is at 166762599 (was 166760883)&lt;br/&gt;
Discontinuity: Block 43479 is at 166762602 (was 166762599)&lt;br/&gt;
Discontinuity: Block 43481 is at 166765068 (was 166762603)&lt;br/&gt;
Discontinuity: Block 43485 is at 166765090 (was 166765071)&lt;br/&gt;
Discontinuity: Block 43487 is at 166768614 (was 166765091)&lt;br/&gt;
Discontinuity: Block 43489 is at 166770119 (was 166768615)&lt;br/&gt;
Discontinuity: Block 43490 is at 166770126 (was 166770119)&lt;br/&gt;
Discontinuity: Block 43491 is at 166770896 (was 166770126)&lt;br/&gt;
Discontinuity: Block 43494 is at 166770914 (was 166770898)&lt;br/&gt;
Discontinuity: Block 43497 is at 166772714 (was 166770916)&lt;br/&gt;
Discontinuity: Block 43499 is at 166773568 (was 166772715)&lt;br/&gt;
Discontinuity: Block 43501 is at 166775340 (was 166773569)&lt;br/&gt;
Discontinuity: Block 43504 is at 166775552 (was 166775342)&lt;br/&gt;
Discontinuity: Block 43507 is at 166776399 (was 166775554)&lt;br/&gt;
Discontinuity: Block 43508 is at 166776403 (was 166776399)&lt;br/&gt;
Discontinuity: Block 43509 is at 166777054 (was 166776403)&lt;br/&gt;
Discontinuity: Block 43510 is at 166779534 (was 166777054)&lt;br/&gt;
Discontinuity: Block 43512 is at 166779539 (was 166779535)&lt;br/&gt;
Discontinuity: Block 43513 is at 166785718 (was 166779539)&lt;br/&gt;
Discontinuity: Block 43515 is at 166785723 (was 166785719)&lt;br/&gt;
Discontinuity: Block 43516 is at 166787973 (was 166785723)&lt;br/&gt;
Discontinuity: Block 43518 is at 166788184 (was 166787974)&lt;br/&gt;
Discontinuity: Block 43520 is at 166791069 (was 166788185)&lt;br/&gt;
Discontinuity: Block 43523 is at 166791074 (was 166791071)&lt;br/&gt;
Discontinuity: Block 43527 is at 166791952 (was 166791077)&lt;br/&gt;
Discontinuity: Block 43529 is at 166792912 (was 166791953)&lt;br/&gt;
Discontinuity: Block 43532 is at 166793416 (was 166792914)&lt;br/&gt;
Discontinuity: Block 43535 is at 166794180 (was 166793418)&lt;br/&gt;
Discontinuity: Block 43537 is at 166797973 (was 166794181)&lt;br/&gt;
Discontinuity: Block 43539 is at 166801612 (was 166797974)&lt;br/&gt;
Discontinuity: Block 43541 is at 166803884 (was 166801613)&lt;br/&gt;
Discontinuity: Block 43544 is at 166811711 (was 166803886)&lt;br/&gt;
Discontinuity: Block 43545 is at 166812048 (was 166811711)&lt;br/&gt;
Discontinuity: Block 43547 is at 166814452 (was 166812049)&lt;br/&gt;
Discontinuity: Block 43549 is at 166815439 (was 166814453)&lt;br/&gt;
Discontinuity: Block 43550 is at 166815444 (was 166815439)&lt;br/&gt;
Discontinuity: Block 43552 is at 166816971 (was 166815445)&lt;br/&gt;
Discontinuity: Block 43557 is at 166816978 (was 166816975)&lt;br/&gt;
Discontinuity: Block 43558 is at 166817768 (was 166816978)&lt;br/&gt;
Discontinuity: Block 43560 is at 166826275 (was 166817769)&lt;br/&gt;
Discontinuity: Block 43562 is at 166826920 (was 166826276)&lt;br/&gt;
Discontinuity: Block 43565 is at 166831038 (was 166826922)&lt;br/&gt;
Discontinuity: Block 43567 is at 166831432 (was 166831039)&lt;br/&gt;
Discontinuity: Block 43570 is at 166833423 (was 166831434)&lt;br/&gt;
Discontinuity: Block 43571 is at 166833426 (was 166833423)&lt;br/&gt;
Discontinuity: Block 43573 is at 166835050 (was 166833427)&lt;br/&gt;
Discontinuity: Block 43575 is at 166838694 (was 166835051)&lt;br/&gt;
Discontinuity: Block 43577 is at 166838698 (was 166838695)&lt;br/&gt;
Discontinuity: Block 43583 is at 166838705 (was 166838703)&lt;br/&gt;
Discontinuity: Block 43590 is at 166838714 (was 166838711)&lt;br/&gt;
Discontinuity: Block 43596 is at 166839176 (was 166838719)&lt;br/&gt;
Discontinuity: Block 43600 is at 166842743 (was 166839179)&lt;br/&gt;
Discontinuity: Block 43601 is at 166842746 (was 166842743)&lt;br/&gt;
Discontinuity: Block 43602 is at 166848484 (was 166842746)&lt;br/&gt;
Discontinuity: Block 43604 is at 166849267 (was 166848485)&lt;br/&gt;
Discontinuity: Block 43609 is at 166849275 (was 166849271)&lt;br/&gt;
Discontinuity: Block 43614 is at 166849624 (was 166849279)&lt;br/&gt;
Discontinuity: Block 43616 is at 166849904 (was 166849625)&lt;br/&gt;
Discontinuity: Block 43619 is at 166850696 (was 166849906)&lt;br/&gt;
Discontinuity: Block 43623 is at 166852005 (was 166850699)&lt;br/&gt;
Discontinuity: Block 43625 is at 166853190 (was 166852006)&lt;br/&gt;
Discontinuity: Block 43627 is at 166853194 (was 166853191)&lt;br/&gt;
Discontinuity: Block 43628 is at 166856220 (was 166853194)&lt;br/&gt;
Discontinuity: Block 43631 is at 166856226 (was 166856222)&lt;br/&gt;
Discontinuity: Block 43633 is at 166856231 (was 166856227)&lt;br/&gt;
Discontinuity: Block 43635 is at 166856236 (was 166856232)&lt;br/&gt;
Discontinuity: Block 43637 is at 166856241 (was 166856237)&lt;br/&gt;
Discontinuity: Block 43639 is at 166856256 (was 166856242)&lt;br/&gt;
Discontinuity: Block 43643 is at 166859777 (was 166856259)&lt;br/&gt;
Discontinuity: Block 43649 is at 166859790 (was 166859782)&lt;br/&gt;
Discontinuity: Block 43651 is at 166859794 (was 166859791)&lt;br/&gt;
Discontinuity: Block 43652 is at 166860024 (was 166859794)&lt;br/&gt;
Discontinuity: Block 43655 is at 166860256 (was 166860026)&lt;br/&gt;
Discontinuity: Block 43657 is at 166862252 (was 166860257)&lt;br/&gt;
Discontinuity: Block 43659 is at 166863216 (was 166862253)&lt;br/&gt;
Discontinuity: Block 43665 is at 166864389 (was 166863221)&lt;br/&gt;
Discontinuity: Block 43668 is at 166868079 (was 166864391)&lt;br/&gt;
Discontinuity: Block 43669 is at 166868082 (was 166868079)&lt;br/&gt;
Discontinuity: Block 43671 is at 166868616 (was 166868083)&lt;br/&gt;
Discontinuity: Block 43673 is at 166869248 (was 166868617)&lt;br/&gt;
Discontinuity: Block 43678 is at 166873452 (was 166869252)&lt;br/&gt;
Discontinuity: Block 43680 is at 166875539 (was 166873453)&lt;br/&gt;
Discontinuity: Block 43683 is at 166876568 (was 166875541)&lt;br/&gt;
Discontinuity: Block 43689 is at 166884790 (was 166876573)&lt;br/&gt;
Discontinuity: Block 43691 is at 166885064 (was 166884791)&lt;br/&gt;
Discontinuity: Block 43695 is at 166886326 (was 166885067)&lt;br/&gt;
Discontinuity: Block 43697 is at 166886330 (was 166886327)&lt;br/&gt;
Discontinuity: Block 43698 is at 166896389 (was 166886330)&lt;br/&gt;
Discontinuity: Block 43700 is at 166897847 (was 166896390)&lt;br/&gt;
Discontinuity: Block 43701 is at 166897852 (was 166897847)&lt;br/&gt;
Discontinuity: Block 43702 is at 166899461 (was 166897852)&lt;br/&gt;
Discontinuity: Block 43705 is at 166899466 (was 166899463)&lt;br/&gt;
Discontinuity: Block 43707 is at 166900942 (was 166899467)&lt;br/&gt;
Discontinuity: Block 43709 is at 166900946 (was 166900943)&lt;br/&gt;
Discontinuity: Block 43715 is at 166902262 (was 166900951)&lt;br/&gt;
Discontinuity: Block 43717 is at 166902992 (was 166902263)&lt;br/&gt;
Discontinuity: Block 43720 is at 166903560 (was 166902994)&lt;br/&gt;
Discontinuity: Block 43722 is at 166904064 (was 166903561)&lt;br/&gt;
Discontinuity: Block 43724 is at 166907183 (was 166904065)&lt;br/&gt;
Discontinuity: Block 43725 is at 166907190 (was 166907183)&lt;br/&gt;
Discontinuity: Block 43730 is at 166909476 (was 166907194)&lt;br/&gt;
Discontinuity: Block 43732 is at 166910448 (was 166909477)&lt;br/&gt;
Discontinuity: Block 43734 is at 166910896 (was 166910449)&lt;br/&gt;
Discontinuity: Block 43739 is at 166912207 (was 166910900)&lt;br/&gt;
Discontinuity: Block 43740 is at 166912222 (was 166912207)&lt;br/&gt;
Discontinuity: Block 43742 is at 166916930 (was 166912223)&lt;br/&gt;
Discontinuity: Block 43744 is at 166918390 (was 166916931)&lt;br/&gt;
Discontinuity: Block 43746 is at 166919518 (was 166918391)&lt;br/&gt;
Discontinuity: Block 43748 is at 166923355 (was 166919519)&lt;br/&gt;
Discontinuity: Block 43750 is at 166926651 (was 166923356)&lt;br/&gt;
Discontinuity: Block 43753 is at 166926944 (was 166926653)&lt;br/&gt;
Discontinuity: Block 43756 is at 166929762 (was 166926946)&lt;br/&gt;
Discontinuity: Block 43758 is at 166931122 (was 166929763)&lt;br/&gt;
Discontinuity: Block 43760 is at 166931544 (was 166931123)&lt;br/&gt;
Discontinuity: Block 43762 is at 166933138 (was 166931545)&lt;br/&gt;
Discontinuity: Block 43764 is at 166934691 (was 166933139)&lt;br/&gt;
Discontinuity: Block 43769 is at 166934698 (was 166934695)&lt;br/&gt;
Discontinuity: Block 43775 is at 166934706 (was 166934703)&lt;br/&gt;
Discontinuity: Block 43776 is at 166934716 (was 166934706)&lt;br/&gt;
Discontinuity: Block 43778 is at 166934872 (was 166934717)&lt;br/&gt;
Discontinuity: Block 43782 is at 166936844 (was 166934875)&lt;br/&gt;
Discontinuity: Block 43785 is at 166938740 (was 166936846)&lt;br/&gt;
Discontinuity: Block 43788 is at 166939200 (was 166938742)&lt;br/&gt;
Discontinuity: Block 43790 is at 166944262 (was 166939201)&lt;br/&gt;
Discontinuity: Block 43793 is at 166944392 (was 166944264)&lt;br/&gt;
Discontinuity: Block 43795 is at 166947350 (was 166944393)&lt;br/&gt;
Discontinuity: Block 43797 is at 166947354 (was 166947351)&lt;br/&gt;
Discontinuity: Block 43799 is at 166947936 (was 166947355)&lt;br/&gt;
Discontinuity: Block 43803 is at 166949127 (was 166947939)&lt;br/&gt;
Discontinuity: Block 43804 is at 166949130 (was 166949127)&lt;br/&gt;
Discontinuity: Block 43805 is at 166952134 (was 166949130)&lt;br/&gt;
Discontinuity: Block 43807 is at 166954235 (was 166952135)&lt;br/&gt;
Discontinuity: Block 43809 is at 166956924 (was 166954236)&lt;br/&gt;
Discontinuity: Block 43811 is at 166957280 (was 166956925)&lt;br/&gt;
Discontinuity: Block 43819 is at 166957440 (was 166957287)&lt;br/&gt;
Discontinuity: Block 43820 is at 166961718 (was 166957440)&lt;br/&gt;
Discontinuity: Block 43822 is at 166961880 (was 166961719)&lt;br/&gt;
Discontinuity: Block 43824 is at 166963962 (was 166961881)&lt;br/&gt;
Discontinuity: Block 43827 is at 166966907 (was 166963964)&lt;br/&gt;
Discontinuity: Block 43830 is at 166967432 (was 166966909)&lt;br/&gt;
Discontinuity: Block 43833 is at 166968176 (was 166967434)&lt;br/&gt;
Discontinuity: Block 43835 is at 166968182 (was 166968177)&lt;br/&gt;
Discontinuity: Block 43837 is at 166968440 (was 166968183)&lt;br/&gt;
Discontinuity: Block 43838 is at 166971343 (was 166968440)&lt;br/&gt;
Discontinuity: Block 43839 is at 166971346 (was 166971343)&lt;br/&gt;
Discontinuity: Block 43840 is at 166973380 (was 166971346)&lt;br/&gt;
Discontinuity: Block 43844 is at 166973387 (was 166973383)&lt;br/&gt;
Discontinuity: Block 43849 is at 166973395 (was 166973391)&lt;br/&gt;
Discontinuity: Block 43852 is at 166974328 (was 166973397)&lt;br/&gt;
Discontinuity: Block 43857 is at 166974912 (was 166974332)&lt;br/&gt;
Discontinuity: Block 43859 is at 166976472 (was 166974913)&lt;br/&gt;
Discontinuity: Block 43862 is at 166976928 (was 166976474)&lt;br/&gt;
Discontinuity: Block 43864 is at 166980587 (was 166976929)&lt;br/&gt;
Discontinuity: Block 43866 is at 166981778 (was 166980588)&lt;br/&gt;
Discontinuity: Block 43868 is at 166982296 (was 166981779)&lt;br/&gt;
Discontinuity: Block 43870 is at 166982319 (was 166982297)&lt;br/&gt;
Discontinuity: Block 43871 is at 166982326 (was 166982319)&lt;br/&gt;
Discontinuity: Block 43872 is at 166984739 (was 166982326)&lt;br/&gt;
Discontinuity: Block 43875 is at 166988722 (was 166984741)&lt;br/&gt;
Discontinuity: Block 43877 is at 166988725 (was 166988723)&lt;br/&gt;
Discontinuity: Block 43878 is at 166990107 (was 166988725)&lt;br/&gt;
Discontinuity: Block 43880 is at 166990616 (was 166990108)&lt;br/&gt;
Discontinuity: Block 43883 is at 166991512 (was 166990618)&lt;br/&gt;
Discontinuity: Block 43885 is at 166992964 (was 166991513)&lt;br/&gt;
Discontinuity: Block 43888 is at 166994739 (was 166992966)&lt;br/&gt;
Discontinuity: Block 43893 is at 166994747 (was 166994743)&lt;br/&gt;
Discontinuity: Block 43894 is at 166995048 (was 166994747)&lt;br/&gt;
Discontinuity: Block 43897 is at 166996138 (was 166995050)&lt;br/&gt;
Discontinuity: Block 43899 is at 166996936 (was 166996139)&lt;br/&gt;
Discontinuity: Block 43905 is at 166999015 (was 166996941)&lt;br/&gt;
Discontinuity: Block 43906 is at 166999026 (was 166999015)&lt;br/&gt;
Discontinuity: Block 43912 is at 166999038 (was 166999031)&lt;br/&gt;
Discontinuity: Block 43914 is at 166999168 (was 166999039)&lt;br/&gt;
Discontinuity: Block 43923 is at 166999768 (was 166999176)&lt;br/&gt;
Discontinuity: Block 43926 is at 167002002 (was 166999770)&lt;br/&gt;
Discontinuity: Block 43929 is at 167002014 (was 167002004)&lt;br/&gt;
Discontinuity: Block 43931 is at 167002018 (was 167002015)&lt;br/&gt;
Discontinuity: Block 43932 is at 167002613 (was 167002018)&lt;br/&gt;
Discontinuity: Block 43934 is at 167002623 (was 167002614)&lt;br/&gt;
Discontinuity: Block 43935 is at 167003080 (was 167002623)&lt;br/&gt;
Discontinuity: Block 43943 is at 167003095 (was 167003087)&lt;br/&gt;
Discontinuity: Block 43944 is at 167006567 (was 167003095)&lt;br/&gt;
Discontinuity: Block 43945 is at 167006571 (was 167006567)&lt;br/&gt;
Discontinuity: Block 43947 is at 167009259 (was 167006572)&lt;br/&gt;
Discontinuity: Block 43950 is at 167012111 (was 167009261)&lt;br/&gt;
Discontinuity: Block 43951 is at 167012117 (was 167012111)&lt;br/&gt;
Discontinuity: Block 43952 is at 167012904 (was 167012117)&lt;br/&gt;
Discontinuity: Block 43954 is at 167013544 (was 167012905)&lt;br/&gt;
Discontinuity: Block 43956 is at 167014509 (was 167013545)&lt;br/&gt;
Discontinuity: Block 43958 is at 167015272 (was 167014510)&lt;br/&gt;
Discontinuity: Block 43960 is at 167015696 (was 167015273)&lt;br/&gt;
Discontinuity: Block 43962 is at 167018061 (was 167015697)&lt;br/&gt;
Discontinuity: Block 43965 is at 167020105 (was 167018063)&lt;br/&gt;
Discontinuity: Block 43968 is at 167020132 (was 167020107)&lt;br/&gt;
Discontinuity: Block 43972 is at 167020139 (was 167020135)&lt;br/&gt;
Discontinuity: Block 43977 is at 167020150 (was 167020143)&lt;br/&gt;
Discontinuity: Block 43978 is at 167020560 (was 167020150)&lt;br/&gt;
Discontinuity: Block 43980 is at 167021526 (was 167020561)&lt;br/&gt;
Discontinuity: Block 43982 is at 167022492 (was 167021527)&lt;br/&gt;
Discontinuity: Block 43984 is at 167024515 (was 167022493)&lt;br/&gt;
Discontinuity: Block 43986 is at 167026604 (was 167024516)&lt;br/&gt;
Discontinuity: Block 43988 is at 167032194 (was 167026605)&lt;br/&gt;
Discontinuity: Block 43991 is at 167036181 (was 167032196)&lt;br/&gt;
Discontinuity: Block 43994 is at 167036984 (was 167036183)&lt;br/&gt;
Discontinuity: Block 43998 is at 167037584 (was 167036987)&lt;br/&gt;
Discontinuity: Block 44010 is at 167037880 (was 167037595)&lt;br/&gt;
Discontinuity: Block 44012 is at 167038847 (was 167037881)&lt;br/&gt;
Discontinuity: Block 44013 is at 167038850 (was 167038847)&lt;br/&gt;
Discontinuity: Block 44015 is at 167039656 (was 167038851)&lt;br/&gt;
Discontinuity: Block 44018 is at 167040584 (was 167039658)&lt;br/&gt;
Discontinuity: Block 44020 is at 167043308 (was 167040585)&lt;br/&gt;
Discontinuity: Block 44023 is at 167043980 (was 167043310)&lt;br/&gt;
Discontinuity: Block 44025 is at 167043995 (was 167043981)&lt;br/&gt;
Discontinuity: Block 44027 is at 167044760 (was 167043996)&lt;br/&gt;
Discontinuity: Block 44035 is at 167044771 (was 167044767)&lt;br/&gt;
Discontinuity: Block 44037 is at 167047043 (was 167044772)&lt;br/&gt;
Discontinuity: Block 44039 is at 167049261 (was 167047044)&lt;br/&gt;
Discontinuity: Block 44041 is at 167050318 (was 167049262)&lt;br/&gt;
Discontinuity: Block 44043 is at 167050325 (was 167050319)&lt;br/&gt;
Discontinuity: Block 44045 is at 167050399 (was 167050327)&lt;br/&gt;
Discontinuity: Block 44046 is at 167050403 (was 167050399)&lt;br/&gt;
Discontinuity: Block 44047 is at 167054467 (was 167050403)&lt;br/&gt;
Discontinuity: Block 44052 is at 167054497 (was 167054471)&lt;br/&gt;
Discontinuity: Block 44053 is at 167054501 (was 167054497)&lt;br/&gt;
Discontinuity: Block 44056 is at 167054506 (was 167054503)&lt;br/&gt;
Discontinuity: Block 44057 is at 167057746 (was 167054506)&lt;br/&gt;
Discontinuity: Block 44061 is at 167059461 (was 167057749)&lt;br/&gt;
Discontinuity: Block 44063 is at 167065097 (was 167059462)&lt;br/&gt;
Discontinuity: Block 44065 is at 167065106 (was 167065098)&lt;br/&gt;
Discontinuity: Block 44067 is at 167066293 (was 167065107)&lt;br/&gt;
Discontinuity: Block 44070 is at 167071103 (was 167066295)&lt;br/&gt;
Discontinuity: Block 44071 is at 167071320 (was 167071103)&lt;br/&gt;
Discontinuity: Block 44075 is at 167072374 (was 167071323)&lt;br/&gt;
Discontinuity: Block 44077 is at 167073950 (was 167072375)&lt;br/&gt;
Discontinuity: Block 44079 is at 167075380 (was 167073951)&lt;br/&gt;
Discontinuity: Block 44082 is at 167075390 (was 167075382)&lt;br/&gt;
Discontinuity: Block 44091 is at 167075422 (was 167075398)&lt;br/&gt;
Discontinuity: Block 44093 is at 167075427 (was 167075423)&lt;br/&gt;
Discontinuity: Block 44094 is at 167076160 (was 167075427)&lt;br/&gt;
Discontinuity: Block 44098 is at 167077599 (was 167076163)&lt;br/&gt;
Discontinuity: Block 44099 is at 167077603 (was 167077599)&lt;br/&gt;
Discontinuity: Block 44101 is at 167079294 (was 167077604)&lt;br/&gt;
Discontinuity: Block 44103 is at 167079456 (was 167079295)&lt;br/&gt;
Discontinuity: Block 44104 is at 167080208 (was 167079456)&lt;br/&gt;
Discontinuity: Block 44119 is at 167081067 (was 167080222)&lt;br/&gt;
Discontinuity: Block 44122 is at 167081576 (was 167081069)&lt;br/&gt;
Discontinuity: Block 44125 is at 167086232 (was 167081578)&lt;br/&gt;
Discontinuity: Block 44127 is at 167086251 (was 167086233)&lt;br/&gt;
Discontinuity: Block 44130 is at 167089698 (was 167086253)&lt;br/&gt;
Discontinuity: Block 44132 is at 167091366 (was 167089699)&lt;br/&gt;
Discontinuity: Block 44134 is at 167092000 (was 167091367)&lt;br/&gt;
Discontinuity: Block 44137 is at 167093357 (was 167092002)&lt;br/&gt;
Discontinuity: Block 44139 is at 167094857 (was 167093358)&lt;br/&gt;
Discontinuity: Block 44142 is at 167096053 (was 167094859)&lt;br/&gt;
Discontinuity: Block 44144 is at 167099453 (was 167096054)&lt;br/&gt;
Discontinuity: Block 44147 is at 167102300 (was 167099455)&lt;br/&gt;
Discontinuity: Block 44149 is at 167102968 (was 167102301)&lt;br/&gt;
Discontinuity: Block 44160 is at 167103744 (was 167102978)&lt;br/&gt;
Discontinuity: Block 44165 is at 167103960 (was 167103748)&lt;br/&gt;
Discontinuity: Block 44168 is at 167104304 (was 167103962)&lt;br/&gt;
Discontinuity: Block 44171 is at 167107099 (was 167104306)&lt;br/&gt;
Discontinuity: Block 44174 is at 167108490 (was 167107101)&lt;br/&gt;
Discontinuity: Block 44176 is at 167112634 (was 167108491)&lt;br/&gt;
Discontinuity: Block 44179 is at 167115130 (was 167112636)&lt;br/&gt;
Discontinuity: Block 44182 is at 167115976 (was 167115132)&lt;br/&gt;
Discontinuity: Block 44185 is at 167118738 (was 167115978)&lt;br/&gt;
Discontinuity: Block 44188 is at 167119072 (was 167118740)&lt;br/&gt;
Discontinuity: Block 44194 is at 167120742 (was 167119077)&lt;br/&gt;
Discontinuity: Block 44196 is at 167121072 (was 167120743)&lt;br/&gt;
Discontinuity: Block 44200 is at 167127807 (was 167121075)&lt;br/&gt;
Discontinuity: Block 44201 is at 167128280 (was 167127807)&lt;br/&gt;
Discontinuity: Block 44203 is at 167128911 (was 167128281)&lt;br/&gt;
Discontinuity: Block 44204 is at 167128914 (was 167128911)&lt;br/&gt;
Discontinuity: Block 44205 is at 167132322 (was 167128914)&lt;br/&gt;
Discontinuity: Block 44207 is at 167136179 (was 167132323)&lt;br/&gt;
Discontinuity: Block 44209 is at 167136188 (was 167136180)&lt;br/&gt;
Discontinuity: Block 44213 is at 167139372 (was 167136191)&lt;br/&gt;
Discontinuity: Block 44215 is at 167139390 (was 167139373)&lt;br/&gt;
Discontinuity: Block 44217 is at 167139920 (was 167139391)&lt;br/&gt;
Discontinuity: Block 44221 is at 167140994 (was 167139923)&lt;br/&gt;
Discontinuity: Block 44223 is at 167141552 (was 167140995)&lt;br/&gt;
Discontinuity: Block 44225 is at 167142807 (was 167141553)&lt;br/&gt;
Discontinuity: Block 44226 is at 167142814 (was 167142807)&lt;br/&gt;
Discontinuity: Block 44228 is at 167143624 (was 167142815)&lt;br/&gt;
Discontinuity: Block 44230 is at 167147644 (was 167143625)&lt;br/&gt;
Discontinuity: Block 44239 is at 167148446 (was 167147652)&lt;br/&gt;
Discontinuity: Block 44241 is at 167148452 (was 167148447)&lt;br/&gt;
Discontinuity: Block 44242 is at 167154472 (was 167148452)&lt;br/&gt;
Discontinuity: Block 44245 is at 167156350 (was 167154474)&lt;br/&gt;
Discontinuity: Block 44247 is at 167161299 (was 167156351)&lt;br/&gt;
Discontinuity: Block 44249 is at 167164851 (was 167161300)&lt;br/&gt;
Discontinuity: Block 44252 is at 167168503 (was 167164853)&lt;br/&gt;
Discontinuity: Block 44253 is at 167168505 (was 167168503)&lt;br/&gt;
Discontinuity: Block 44255 is at 167169216 (was 167168506)&lt;br/&gt;
Discontinuity: Block 44263 is at 167169226 (was 167169223)&lt;br/&gt;
Discontinuity: Block 44264 is at 167175639 (was 167169226)&lt;br/&gt;
Discontinuity: Block 44265 is at 167175645 (was 167175639)&lt;br/&gt;
Discontinuity: Block 44267 is at 167175854 (was 167175646)&lt;br/&gt;
Discontinuity: Block 44269 is at 167175862 (was 167175855)&lt;br/&gt;
Discontinuity: Block 44270 is at 167179482 (was 167175862)&lt;br/&gt;
Discontinuity: Block 44273 is at 167185515 (was 167179484)&lt;br/&gt;
Discontinuity: Block 44275 is at 167186232 (was 167185516)&lt;br/&gt;
Discontinuity: Block 44278 is at 167186979 (was 167186234)&lt;br/&gt;
Discontinuity: Block 44281 is at 167187544 (was 167186981)&lt;br/&gt;
Discontinuity: Block 44284 is at 167194006 (was 167187546)&lt;br/&gt;
Discontinuity: Block 44285 is at 167195009 (was 167194006)&lt;br/&gt;
Discontinuity: Block 44287 is at 167195517 (was 167195010)&lt;br/&gt;
Discontinuity: Block 44290 is at 167196433 (was 167195519)&lt;br/&gt;
Discontinuity: Block 44292 is at 167198301 (was 167196434)&lt;br/&gt;
Discontinuity: Block 44294 is at 167200501 (was 167198302)&lt;br/&gt;
Discontinuity: Block 44296 is at 167203095 (was 167200502)&lt;br/&gt;
Discontinuity: Block 44297 is at 167203100 (was 167203095)&lt;br/&gt;
Discontinuity: Block 44298 is at 167203808 (was 167203100)&lt;br/&gt;
Discontinuity: Block 44307 is at 167205851 (was 167203816)&lt;br/&gt;
Discontinuity: Block 44309 is at 167208218 (was 167205852)&lt;br/&gt;
Discontinuity: Block 44312 is at 167210682 (was 167208220)&lt;br/&gt;
Discontinuity: Block 44314 is at 167212750 (was 167210683)&lt;br/&gt;
Discontinuity: Block 44316 is at 167213694 (was 167212751)&lt;br/&gt;
Discontinuity: Block 44318 is at 167213699 (was 167213695)&lt;br/&gt;
Discontinuity: Block 44322 is at 167213727 (was 167213702)&lt;br/&gt;
Discontinuity: Block 44323 is at 167213730 (was 167213727)&lt;br/&gt;
Discontinuity: Block 44325 is at 167216683 (was 167213731)&lt;br/&gt;
Discontinuity: Block 44327 is at 167218486 (was 167216684)&lt;br/&gt;
Discontinuity: Block 44329 is at 167219360 (was 167218487)&lt;br/&gt;
Discontinuity: Block 44331 is at 167220079 (was 167219361)&lt;br/&gt;
Discontinuity: Block 44332 is at 167220083 (was 167220079)&lt;br/&gt;
Discontinuity: Block 44334 is at 167224086 (was 167220084)&lt;br/&gt;
Discontinuity: Block 44336 is at 167224632 (was 167224087)&lt;br/&gt;
Discontinuity: Block 44338 is at 167225200 (was 167224633)&lt;br/&gt;
Discontinuity: Block 44344 is at 167225853 (was 167225205)&lt;br/&gt;
Discontinuity: Block 44346 is at 167226895 (was 167225854)&lt;br/&gt;
Discontinuity: Block 44347 is at 167226900 (was 167226895)&lt;br/&gt;
Discontinuity: Block 44350 is at 167227996 (was 167226902)&lt;br/&gt;
Discontinuity: Block 44353 is at 167230951 (was 167227998)&lt;br/&gt;
Discontinuity: Block 44354 is at 167230955 (was 167230951)&lt;br/&gt;
Discontinuity: Block 44355 is at 167231544 (was 167230955)&lt;br/&gt;
Discontinuity: Block 44358 is at 167232898 (was 167231546)&lt;br/&gt;
Discontinuity: Block 44361 is at 167233728 (was 167232900)&lt;br/&gt;
Discontinuity: Block 44363 is at 167234859 (was 167233729)&lt;br/&gt;
Discontinuity: Block 44366 is at 167236669 (was 167234861)&lt;br/&gt;
Discontinuity: Block 44368 is at 167240119 (was 167236670)&lt;br/&gt;
Discontinuity: Block 44369 is at 167240123 (was 167240119)&lt;br/&gt;
/data2/default/290.couch.1: 1286 extents found, perfection would be 2 extents&lt;br/&gt;
</comment>
                    <comment id="49982" author="alkondratenko" created="Sat, 9 Feb 2013 00:39:16 -0600"  >Changing title.&lt;br/&gt;
&lt;br/&gt;
Over last 2 days I was trying hard to make my idea of extending file with lots of zeros work, but failed. Theoretically that could make fsyncs cost about 10 milliseconds, i.e. by avoiding metadata update in common case.&lt;br/&gt;
&lt;br/&gt;
On the other hand I could see same bad fragmentation even on ext4 and xfs and on newest kernel.&lt;br/&gt;
&lt;br/&gt;
Plus I&amp;#39;ve learned some blktrace and could see how really costly our fdatasyncs are.&lt;br/&gt;
&lt;br/&gt;
By trying to force kernel to allocate in larger extents (via fallocate FALLOC_FL_KEEP_SIZE feature) I could actually improve both more expensive fsync and fragmentation.&lt;br/&gt;
&lt;br/&gt;
Expect patch soon.</comment>
                    <comment id="55863" author="maria" created="Tue, 23 Apr 2013 01:04:53 -0500"  >is this related to CBD-818?</comment>
                    <comment id="55921" author="maria" created="Tue, 23 Apr 2013 13:22:30 -0500"  >deferring in 2.0.2.&lt;br/&gt;
alk -- do we still need to work on this?</comment>
                </comments>
                    <attachments>
                    <attachment id="16702" name="0001-my-cbdump-stuff.patch.bz2" size="2353" author="alkondratenko" created="Tue, 5 Feb 2013 18:09:18 -0600" />
                    <attachment id="16703" name="0002-rebase-amend.patch.bz2" size="875" author="alkondratenko" created="Tue, 5 Feb 2013 18:09:18 -0600" />
                    <attachment id="16704" name="0003-mark.patch.bz2" size="999" author="alkondratenko" created="Tue, 5 Feb 2013 18:09:18 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Feb 2013 14:27:56 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8560</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7690] couchstore compactor interleaves byseq btree nodes and doc bodies</title>
                <link>http://www.couchbase.com/issues/browse/MB-7690</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>(Assigning on Damien for initial prioritization)&lt;br/&gt;
&lt;br/&gt;
Looks like my old finding is still valid. Number of page cache pages required to keep byseq index in ram is _actually increasing_ after compactor.&lt;br/&gt;
&lt;br/&gt;
That&amp;#39;s because it saves by seq leaf node after it&amp;#39;s data items.&lt;br/&gt;
&lt;br/&gt;
I have tools and data that confirm my finding (real vbucket files from perf run).&lt;br/&gt;
&lt;br/&gt;
When I told about this problem to Aaron prior to 2.0 he said it&amp;#39;s going to be easy on afaik indexer branch. Looks like this branch is merged at last and it&amp;#39;s time to reconsider.</description>
                <environment></environment>
            <key id="22547">MB-7690</key>
            <summary>couchstore compactor interleaves byseq btree nodes and doc bodies</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="damien">Damien Katz</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Feb 2013 17:58:34 -0600</created>
                <updated>Tue, 5 Feb 2013 17:58:34 -0600</updated>
                                    <version>2.0</version>
                                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8559</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8022] Fsync optimizations (remove double fsyncs)</title>
                <link>http://www.couchbase.com/issues/browse/MB-8022</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="22517">MB-8022</key>
            <summary>Fsync optimizations (remove double fsyncs)</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="aaron">Aaron Miller</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 5 Feb 2013 03:11:15 -0600</created>
                <updated>Tue, 23 Apr 2013 13:24:43 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>8</watches>
                                                    <comments>
                    <comment id="53788" author="aaron" created="Thu, 28 Mar 2013 17:21:19 -0500"  >There is a toy build that Ronnie is testing to see the potential perfomance impacts of this. (toy-aaron #1022)</comment>
                    <comment id="54819" author="maria" created="Wed, 10 Apr 2013 16:38:04 -0500"  >Jin will update use case scenario that QE will run.</comment>
                    <comment id="54869" author="jin" created="Thu, 11 Apr 2013 01:58:59 -0500"  >This feature is to optimize disk write from ep engine/couchstore. &lt;br/&gt;
&lt;br/&gt;
Any existing test that measures disk drain rate should determine any tangible improvement from the feature.&lt;br/&gt;
Baseline:&lt;br/&gt;
* Heavy dgm&lt;br/&gt;
* Write heavy (read:20% write:80%)&lt;br/&gt;
* Write I/O should be mix of set/delete/update&lt;br/&gt;
* Measure disk drain rate and cbstats&amp;#39;s kvtimings (writeTime, commit, save_documents)</comment>
                    <comment id="54875" author="aaron" created="Thu, 11 Apr 2013 04:40:26 -0500"  >The most complicated part of this change is the addition of a corruption check that must be run the first time a file is opened after the server comes up, since we&amp;#39;re buying these perf gains by playing a bit more fast and loose with the disk.&lt;br/&gt;
&lt;br/&gt;
To check that this is behaving correctly we&amp;#39;ll want to make sure that corrupting the most-recent transaction in a storage file rolls that transaction back.&lt;br/&gt;
&lt;br/&gt;
This could be accomplished by updating an item that will land in a known vbucket, shutting down the server, and flipping some bits around end of the file. The update should be rolled back when the server comes back up, and nothing should freak out :)&lt;br/&gt;
&lt;br/&gt;
A position guaranteed to affect an item body from the recentmost transaction is 4095 bytes behind the last position in the file that is a multiple of 4096, or: floor(file_length / 4096) * 4096 - 4095</comment>
                    <comment id="55112" author="maria" created="Tue, 16 Apr 2013 01:20:30 -0500"  >abhinav,&lt;br/&gt;
will you be able to craft a test that involves this update to an item and manipulating the bits on eof? this seems tricky. let&amp;#39;s discuss with Jin/Aaron.</comment>
                    <comment id="55671" author="dipti" created="Fri, 19 Apr 2013 18:00:51 -0500"  >I don&amp;#39;t think this is user visible and so doesn&amp;#39;t make sense to include in the release notes. </comment>
                    <comment id="55672" author="maria" created="Fri, 19 Apr 2013 18:04:48 -0500"  >aaron, pls assign back to QE (Abhinav) once you&amp;#39;ve merged the fix. </comment>
                    <comment id="55748" author="kzeller" created="Mon, 22 Apr 2013 11:19:35 -0500"  >Updated 4/22 - No docs needed</comment>
                    <comment id="55848" author="maria" created="Mon, 22 Apr 2013 20:05:20 -0500"  >Aaron, can you also include the code changes for review here as soon as you have checked-in the fix?&lt;br/&gt;
thanks.</comment>
                    <comment id="55922" author="maria" created="Tue, 23 Apr 2013 13:24:43 -0500"  >deferred.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 28 Mar 2013 17:21:19 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>555</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7667] System Test : Higher ep_commit_time, beam size on source nodes during xdcr.</title>
                <link>http://www.couchbase.com/issues/browse/MB-7667</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Seeing unusual stats for&lt;br/&gt;
&lt;br/&gt;
( during xdcr_start phase)&lt;br/&gt;
1.ep_commit_time &lt;br/&gt;
2. rsize_beam : &amp;gt; 2.8G on some points&lt;br/&gt;
3. Uneven compaction growth &lt;br/&gt;
4. Uneven CPU across the cluster.&lt;br/&gt;
&lt;br/&gt;
The source node cluster stats are here&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbaselabs/couchbase-qe-docs/tree/master/system-tests/plum-cluster/01_30&quot;&gt;https://github.com/couchbaselabs/couchbase-qe-docs/tree/master/system-tests/plum-cluster/01_30&lt;/a&gt; </description>
                <environment>2.0.1-144-rel&lt;br/&gt;
&lt;br/&gt;
EC2 env.&lt;br/&gt;
2 buckets, &lt;br/&gt;
1 bidirectional replication on default bucket&lt;br/&gt;
1 unifdirectional replication on sasl bucket.</environment>
            <key id="22428">MB-7667</key>
            <summary>System Test : Higher ep_commit_time, beam size on source nodes during xdcr.</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ketaki">Ketaki Gangal</assignee>
                                <reporter username="ketaki">Ketaki Gangal</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Feb 2013 17:15:06 -0600</created>
                <updated>Fri, 22 Mar 2013 12:57:59 -0500</updated>
                                    <version>2.0.1</version>
                                                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="49540" author="jin" created="Fri, 1 Feb 2013 17:51:27 -0600"  >Per bug scrub, engineering must at least identify and understand the root cause of this behavior. Assuming a fix may require cross-components change, the actual delivery of the fix may schedule into the next release after 2.0.1.</comment>
                    <comment id="49541" author="jin" created="Fri, 1 Feb 2013 18:03:08 -0600"  >Ketaki, per bug scrub, please collect atop from the 2nd running of the test. If and only if possible though understanding that it is over ec2 environment and longevity test. Thanks.</comment>
                    <comment id="49573" author="ketaki" created="Sun, 3 Feb 2013 15:27:30 -0600"  >Setup the xdcr_kv ec2 cluster for system testing.&lt;br/&gt;
&lt;br/&gt;
Source : &lt;a href=&quot;http://ec2-107-22-40-124.compute-1.amazonaws.com:8091&quot;&gt;http://ec2-107-22-40-124.compute-1.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
Destination : &lt;a href=&quot;http://ec2-54-242-239-237.compute-1.amazonaws.com:8091&quot;&gt;http://ec2-54-242-239-237.compute-1.amazonaws.com:8091&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Stats Collection &lt;br/&gt;
Source : &lt;a href=&quot;http://10.3.121.45:3133/fast&quot;&gt;http://10.3.121.45:3133/fast&lt;/a&gt;&lt;br/&gt;
Destination: &lt;a href=&quot;http://10.6.2.58:3133/fast&quot;&gt;http://10.6.2.58:3133/fast&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
To add : Stats after a run time of 10 hours.&lt;br/&gt;
&lt;br/&gt;
-Ketaki&lt;br/&gt;
</comment>
                    <comment id="53346" author="jin" created="Fri, 22 Mar 2013 12:57:59 -0500"  >more informations are needed for describing this undesired behavior from QE. </comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 1 Feb 2013 17:51:27 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8352</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7661] View query on Rebalance.Out fails with  Reason: A view spec can not consist of merges exclusively.</title>
                <link>http://www.couchbase.com/issues/browse/MB-7661</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I&amp;#39;ve been running SDKQE stester runs for the Java SDK, specifically testing the following scenario:&lt;br/&gt;
&lt;br/&gt;
/stester -C 127.0.0.1:8050 -i 20devcluster.ini -c rebalance.Once --vdsw_dvname ddoc/vquery --rbcount 2 --dsw_timeres 1 --hdsw_mc_threads 10 --workload dsw.Hybrid --mode out --hdsw_http_threads 5 --hdsw_cb_threads 10 --rebound 90 -d -o rebalance-once.log&lt;br/&gt;
&lt;br/&gt;
My cluster is a 4 node cluster, and this scenario rebalances 2 nodes out of the cluster. During the rebalance, view queries are issued.&lt;br/&gt;
&lt;br/&gt;
Now it happens that during this rebalance (I assume this happens at the end of the rebalance) I get the following Exception:&lt;br/&gt;
&lt;br/&gt;
java.lang.RuntimeException: Failed to access the view&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:838)&lt;br/&gt;
	at com.couchbase.sdkd.cbclient.ViewQueryCommandContext.execIter(ViewQueryCommandContext.java:252)&lt;br/&gt;
	at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:311)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:135)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:156)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:212)&lt;br/&gt;
Caused by: java.util.concurrent.ExecutionException: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:89)&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:73)&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:63)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:834)&lt;br/&gt;
	... 5 more&lt;br/&gt;
Caused by: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.&lt;br/&gt;
	at com.couchbase.client.protocol.views.NoDocsOperationImpl.parseError(NoDocsOperationImpl.java:106)&lt;br/&gt;
	at com.couchbase.client.protocol.views.ViewOperationImpl.handleResponse(ViewOperationImpl.java:68)&lt;br/&gt;
	at com.couchbase.client.ViewNode$MyHttpRequestExecutionHandler.handleResponse(ViewNode.java:199)&lt;br/&gt;
	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.processResponse(AsyncNHttpClientHandler.java:417)&lt;br/&gt;
	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.inputReady(AsyncNHttpClientHandler.java:242)&lt;br/&gt;
	at com.couchbase.client.http.AsyncConnectionManager$ManagedClientHandler.inputReady(AsyncConnectionManager.java:244)&lt;br/&gt;
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:172)&lt;br/&gt;
	at org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:155)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:680)&lt;br/&gt;
Feb 1, 2013 1:04:30 PM com.couchbase.sdkd.cbclient.CommandResult warnAbout&lt;br/&gt;
WARNING: Unknown exception encountered (for operation) future warnings will be suppressed&lt;br/&gt;
java.lang.RuntimeException: Failed to access the view&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:838)&lt;br/&gt;
	at com.couchbase.sdkd.cbclient.ViewQueryCommandContext.execIter(ViewQueryCommandContext.java:252)&lt;br/&gt;
	at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:311)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:135)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:156)&lt;br/&gt;
	at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:212)&lt;br/&gt;
Caused by: java.util.concurrent.ExecutionException: OperationException: SERVER: no_active_vbuckets Reason: Cannot execute view query since the node has no active vbuckets&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:89)&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:73)&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:63)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:834)&lt;br/&gt;
	... 5 more&lt;br/&gt;
Caused by: OperationException: SERVER: no_active_vbuckets Reason: Cannot execute view query since the node has no active vbuckets&lt;br/&gt;
	at com.couchbase.client.protocol.views.NoDocsOperationImpl.parseError(NoDocsOperationImpl.java:106)&lt;br/&gt;
	at com.couchbase.client.protocol.views.ViewOperationImpl.handleResponse(ViewOperationImpl.java:68)&lt;br/&gt;
	at com.couchbase.client.ViewNode$MyHttpRequestExecutionHandler.handleResponse(ViewNode.java:199)&lt;br/&gt;
	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.processResponse(AsyncNHttpClientHandler.java:417)&lt;br/&gt;
	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.inputReady(AsyncNHttpClientHandler.java:242)&lt;br/&gt;
	at com.couchbase.client.http.AsyncConnectionManager$ManagedClientHandler.inputReady(AsyncConnectionManager.java:244)&lt;br/&gt;
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:172)&lt;br/&gt;
	at org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:155)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)&lt;br/&gt;
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)&lt;br/&gt;
&lt;br/&gt;
Note that the Java stuff is not of particular interest for this ticket, but the Error messages are. First, I get&lt;br/&gt;
&lt;br/&gt;
error Reason: A view spec can not consist of merges exclusively.&lt;br/&gt;
and then&lt;br/&gt;
&amp;nbsp;no_active_vbuckets Reason: Cannot execute view query since the node has no active vbuckets&lt;br/&gt;
&lt;br/&gt;
The way the Java client currently implements is that it will remove the ViewNode during rebalance when it vanishes from the couchNodes list. I&amp;#39;ll attach a rebalance log from one of the nodes that is getting rebalanced out, but as expected this happens at the very last step, its still in the list when it has no vbuckets anymore.&lt;br/&gt;
&lt;br/&gt;
Should the server not be able to handle view requests, even when it has no vbuckets attached?&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael&lt;br/&gt;
</description>
                <environment>4 2.0.0 Machines, running on Linux.</environment>
            <key id="22230">MB-7661</key>
            <summary>View query on Rebalance.Out fails with  Reason: A view spec can not consist of merges exclusively.</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Feb 2013 06:23:43 -0600</created>
                <updated>Mon, 8 Apr 2013 20:07:55 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="49375" author="daschl" created="Fri, 1 Feb 2013 06:24:51 -0600"  >For reference, IP-Addresses 192.168.56.101 - 104, 103 and 104 get removed. The log is from .104.</comment>
                    <comment id="49534" author="alkondratenko" created="Fri, 1 Feb 2013 16:26:05 -0600"  >This is known problem. Some duplicate ticket should exist somewhere. We cannot easily fix it. Perhaps best thing we can do is send you back redirect to a node that likely works.</comment>
                    <comment id="49537" author="ingenthr" created="Fri, 1 Feb 2013 17:18:24 -0600"  >Alk: but do we currently redirect, or do we currently error?  It looks like we currently error.</comment>
                    <comment id="49544" author="alkondratenko" created="Fri, 1 Feb 2013 18:14:35 -0600"  >No. We don&amp;#39;t redirect AFAIK.&lt;br/&gt;
&lt;br/&gt;
You can try to mitigate on your side by either trying different node on any error, or by trying to detect this particular error.&lt;br/&gt;
&lt;br/&gt;
I cannot promise you yet any particular release when we&amp;#39;ll start redirecting.</comment>
                    <comment id="54586" author="alkondratenko" created="Mon, 8 Apr 2013 20:07:55 -0500"  >Too late for 2.0.2 but IMHO must have for 2.1</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="21413">JCBC-189</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16494" name="192.168.56.105-Rebalance-Out.log" size="210576" author="daschl" created="Fri, 1 Feb 2013 06:24:24 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 1 Feb 2013 16:26:05 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2947</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7626] [RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment</title>
                <link>http://www.couchbase.com/issues/browse/MB-7626</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I have done some QA to help narrow down an issue I have discovered.  &lt;br/&gt;
&lt;br/&gt;
1. Setup Couchbase from 64bit Ubunut 12 package.&lt;br/&gt;
2. Next select a CouchDB bucket.&lt;br/&gt;
3. Next complete the setup.&lt;br/&gt;
&lt;br/&gt;
Expected: Couchbase server and bucket functioning.&lt;br/&gt;
&lt;br/&gt;
Actual: The Couchbase server appears to just keep crashing / i.e. restarting every few seconds.&lt;br/&gt;
&lt;br/&gt;
If I remove the couchDB bucket no crashes / restart occur.&lt;br/&gt;
If I create a memcached bucket only the server is functioning fine and the bucket functions as expected.&lt;br/&gt;
&lt;br/&gt;
This is on a OpenVZ VPS container running Ubuntu 12.04 with a CentOS 6 OS as the host on 2.6.32 kernel.&lt;br/&gt;
&lt;br/&gt;
I went ahead and setup couchbase on another Ubuntu 12.04 dedicated server (exact replica of the above server without the virtualization) and no issues. &lt;br/&gt;
&lt;br/&gt;
What debug output information from the logs would you like to help identify this issue? &lt;br/&gt;
</description>
                <environment>OpenVZ VPS container running Ubuntu 12.04 with a CentOS 6 OS as the host on 2.6.32 kernel.</environment>
            <key id="22053">MB-7626</key>
            <summary>[RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="creator11">creator11</reporter>
                        <labels>
                        <label>2.0.1-release-notes</label>
                        <label>2.0.2-release-notes</label>
                    </labels>
                <created>Tue, 29 Jan 2013 15:41:36 -0600</created>
                <updated>Fri, 19 Apr 2013 13:17:00 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="48952" author="creator11" created="Tue, 29 Jan 2013 16:53:30 -0600"  >Ok I found the fix to this issue.&lt;br/&gt;
&lt;br/&gt;
memsup as a previous bug I found was causing a segmentation fault. Upgraded to latest erlang with erlang-os-mon 2.2.10 and issue has been resolved on an OpenVZ container. I just symlinked to the new version for couchbase to use.</comment>
                    <comment id="48954" author="creator11" created="Tue, 29 Jan 2013 17:38:23 -0600"  >Might be handy to add this to a knowledge base for others, since I have found 2 other people that had similar issues on the web in forums.</comment>
                    <comment id="48966" author="chiyoung" created="Tue, 29 Jan 2013 18:40:24 -0600"  >Farshid,&lt;br/&gt;
&lt;br/&gt;
Please close the bug if it&amp;#39;s not required for the QE verification.</comment>
                    <comment id="51370" author="mikew" created="Mon, 25 Feb 2013 17:42:02 -0600"  >This might be good to add to our documentation.</comment>
                    <comment id="51949" author="kzeller" created="Mon, 4 Mar 2013 15:43:51 -0600"  >Added to 2.0.1 RN:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you &lt;br/&gt;
created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. &lt;br/&gt;
To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.</comment>
                    <comment id="51950" author="kzeller" created="Mon, 4 Mar 2013 15:43:57 -0600"  >Added to 2.0.1 RN:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you &lt;br/&gt;
created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. &lt;br/&gt;
To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.</comment>
                    <comment id="51982" author="kzeller" created="Mon, 4 Mar 2013 18:25:37 -0600"  >See RN 2.0.1 addition. If you reopen, please assign to engineer responsible for fixing.</comment>
                    <comment id="52208" author="thuan" created="Thu, 7 Mar 2013 02:20:17 -0600"  >Integrated in ui-testing #11 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/11/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/11/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7626&quot; title=&quot;[RN 2.0.2] Couchbase continually crashes and restart when Couch bucket is created in OpenVZ environment&quot;&gt;MB-7626&lt;/a&gt;: tune rebalance options during cluster setup (Revision 7c828a6a1de4f7c8fb76265766d3eb53f183fe3e)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
pavelpaulau : &lt;br/&gt;
Files : &lt;br/&gt;
* pytests/performance/perf.py&lt;br/&gt;
</comment>
                    <comment id="53161" author="perry" created="Wed, 20 Mar 2013 10:33:25 -0500"  >Karen, can you provide instructions on which version of Erlang to use here and instructions on how to apply the workaround mentioned?</comment>
                    <comment id="53163" author="kzeller" created="Wed, 20 Mar 2013 10:38:00 -0500"  >Hi,&lt;br/&gt;
&lt;br/&gt;
Can you provide the version of Erlang I Ishould document, and is the workaround just to upgrade to this version? Or are there other steps someone must do in order to upgrade to Erlang using CB?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Karen&lt;br/&gt;
</comment>
                    <comment id="53168" author="Vindobona" created="Wed, 20 Mar 2013 10:46:48 -0500"  >I&amp;#39;ve actually applied the the Workaround for &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4376&quot; title=&quot;setup get HDD and memory totale and free space wrong (0Mb)&quot;&gt;&lt;strike&gt;MB-4376&lt;/strike&gt;&lt;/a&gt; successfully (at least for a development environment) to CB 2.0.1 as I didn&amp;#39;t succeed in getting CB to use a entirely different version of Erlang.</comment>
                    <comment id="53252" author="perry" created="Thu, 21 Mar 2013 11:31:29 -0500"  >Note that we have confirmed through another customer that the workaround in mb-4376 is successful.&lt;br/&gt;
&lt;br/&gt;
Can this get rolled into 2.0.2?</comment>
                    <comment id="53253" author="kzeller" created="Thu, 21 Mar 2013 11:42:45 -0500"  >Hi Perry, confirm this, ignore formatting (will go in release notes, where workarounds, known issues, etc. go):&lt;br/&gt;
&lt;br/&gt;
=========&lt;br/&gt;
&lt;br/&gt;
last email from prospect: &lt;br/&gt;
I&#8217;ve solved the problem by compiling memsup with the patch mentioned in &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4376&quot;&gt;http://www.couchbase.com/issues/browse/MB-4376&lt;/a&gt; applied. This patch is included in the R15B01 release of Erlang. Perhaps Issue 4376 shouldn&#8217;t be marked fixed until Couchbase is using Erlang R15B01 or later? &lt;br/&gt;
&lt;br/&gt;
==========&lt;br/&gt;
&lt;br/&gt;
Existing content:&lt;br/&gt;
&lt;br/&gt;
In OpenVZ Linux containers, the server had crashed and restarted when you created a Couchbase bucket. This was due to an issue in the memsup process from Erlang. To fix this issue, you should upgrade to the latest version of Erlang, and have Couchbase Server use this version.&lt;br/&gt;
&lt;br/&gt;
Proposed addition: &lt;br/&gt;
&lt;br/&gt;
1) You should stop Couchbase server&lt;br/&gt;
2) Make a copy of your original memsup then apply the patch available on GitHub:  &lt;a href=&quot;https://github.com/vorobev/otp/compare/maint-memsup.patch&quot;&gt;https://github.com/vorobev/otp/compare/maint-memsup.patch&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
You can also download the following two files and compile yourself:&lt;br/&gt;
&lt;br/&gt;
-https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.c &lt;br/&gt;
&lt;br/&gt;
-https://raw.github.com/vorobev/otp/maint-memsup/lib/os_mon/c_src/memsup.h &lt;br/&gt;
&lt;br/&gt;
gcc memsup.c -o memsup&lt;br/&gt;
&lt;br/&gt;
Place the compiled code in /opt/membase/lib/erlang/lib/os_mon-2.2.5/priv/bin/&lt;br/&gt;
&lt;br/&gt;
3) Restart Couchbase Server&lt;br/&gt;
</comment>
                    <comment id="53254" author="perry" created="Thu, 21 Mar 2013 11:58:40 -0500"  >That&amp;#39;s fine from a workaround perspective I guess...but my request was more about actually fixing the bug for 2.0.2.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll add the ns_server component.&lt;br/&gt;
&lt;br/&gt;
Thanks</comment>
                    <comment id="53780" author="kzeller" created="Thu, 28 Mar 2013 15:52:29 -0500"  >Added content:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&quot;&gt;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&lt;/a&gt;</comment>
                    <comment id="53781" author="kzeller" created="Thu, 28 Mar 2013 15:52:34 -0500"  >Added content:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&quot;&gt;https://github.com/couchbase/docs/commit/b8094b5c61802fb4b76f0ae6c9f4979c5f1aa6f4&lt;/a&gt;</comment>
                    <comment id="53831" author="perry" created="Fri, 29 Mar 2013 16:53:36 -0500"  >Karen, this isn&amp;#39;t just about documentation, this is a bug that needs to be fixed in the product.</comment>
                    <comment id="55196" author="maria" created="Tue, 16 Apr 2013 13:19:48 -0500"  >deferring out of 2.0.2</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="15467">MB-4376</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 29 Jan 2013 18:40:24 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                                                <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1993</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7432] XDCR Stats enhancements</title>
                <link>http://www.couchbase.com/issues/browse/MB-7432</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>After seeing XDCR in action, would like to propose a few enhancements:&lt;br/&gt;
&lt;br/&gt;
-Put certain statistics in the XDCR screen as well as on the graph page:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Percentage complete/caught up.  While backfilling replication this would describe the number of items already sent to the remote side out of the total in the bucket.  Once running, it would show whether there is a significant amount of backup in the queue&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Items per second to see speed of each stream and in total&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Bandwidth in use.  As per a customer, the most important thing with XDCR is going to be the possibly cross-country internet bandwidth and will need to monitor that for each replication stream and in total&lt;br/&gt;
&lt;br/&gt;
-On the graph page of outgoing, I would recommend removing &amp;quot;mutations checked&amp;quot;, &amp;quot;mutations replicated&amp;quot;, &amp;quot;data replication&amp;quot;, &amp;quot;active vb reps&amp;quot;, &amp;quot;waiting vb reps&amp;quot;, &amp;quot;secs in replicating&amp;quot;, &amp;quot;secs in checkpointing&amp;quot;, &amp;quot;checkpoints issued&amp;quot; and &amp;quot;checkpoints failed&amp;quot;.  These stats really aren&amp;#39;t useful from the perspective of someone trying to monitor or troubleshoot the current state of their cluster.&lt;br/&gt;
-On the graph page of outbound, there&amp;#39;s a bit of confusion over the difference between &amp;quot;mutations to replicate&amp;quot;, &amp;quot;mutations in queue&amp;quot; and &amp;quot;queue size&amp;quot;.  Unless they are showing significantly (and usefully) different metrics, recommend to remove all but one&lt;br/&gt;
-On the graph page of incoming, recommend to put &amp;quot;total ops/sec&amp;quot; on the far left to line up with the &amp;quot;ops/sec&amp;quot; in the summary section&lt;br/&gt;
-&amp;quot;XDCR dest ops per sec&amp;quot; is confusing because this cluster is the &amp;quot;destination&amp;quot; yet the stat implies the other way around.  Recommend &amp;quot;Incoming XDCR ops per sec&amp;quot;&lt;br/&gt;
-&amp;quot;XDCR docs to replicate&amp;quot; is a little confusing because it doesn&amp;#39;t match the same stat in the &amp;quot;outbound&amp;quot;.  Recommend to change &amp;quot;mutations to replicate&amp;quot; to &amp;quot;XDCR docs to replicate&amp;quot;&lt;br/&gt;
-Would also be good to see outbound ops/sec in the summary section alongside the number remaining to replicate</description>
                <environment></environment>
            <key id="21369">MB-7432</key>
            <summary>XDCR Stats enhancements</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="anil">Anil Kumar</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2012 09:34:56 -0600</created>
                <updated>Mon, 25 Mar 2013 13:34:10 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                <component>UI</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="46254" author="junyi" created="Tue, 18 Dec 2012 19:03:13 -0600"  >Perry,&lt;br/&gt;
&lt;br/&gt;
I will certainly add the stats you suggested, and reorder some stats to make it more readable. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
For current stats, they exist for some reasons, actually  most of them are there because of request from QE and performance team, although apparently there are not quite interesting to users.  If they do not cause big downside, I would like to keep them at this time.  </comment>
                    <comment id="46283" author="perry" created="Wed, 19 Dec 2012 03:15:23 -0600"  >Thanks Junyi.  I&amp;#39;d actually like to continue the discussion about removing those stats because anything that a customer sees will generate a question as to the purpose...meaningful or not.  We want the UI the be simple and direct to our users for the purpose of understanding what the cluster/node is doing...I don&amp;#39;t think these 11 stats help accomplish that for our customers.  Additionally, I think the ns_server team would agree that the overall less stats we have the better for performance and maintenance.  &lt;br/&gt;
&lt;br/&gt;
To be clear, I&amp;#39;m not advocating for these stats removed from the system completely, just from the UI.</comment>
                    <comment id="47493" author="junyi" created="Thu, 10 Jan 2013 11:12:56 -0600"  >Dipti, &lt;br/&gt;
&lt;br/&gt;
Perry suggested removing some XDCR stats on UI and add some new stats. This is big change in XDCR UI and it woud be better that you are aware of this. Before going ahead and implement this, I would like to have your comments here if &lt;br/&gt;
&lt;br/&gt;
1) Are these new stats necessary?&lt;br/&gt;
&lt;br/&gt;
2) Are these old XDCR stats which Perry suggested to remove, still valid to some customers?&lt;br/&gt;
&lt;br/&gt;
3) Which version do you want this change happens, say 2.0.1 (too late?), 2.1, or 3.0 etc.&lt;br/&gt;
&lt;br/&gt;
Please add others whom you think should be aware of this.&lt;br/&gt;
&lt;br/&gt;
Thanks.</comment>
                    <comment id="47495" author="junyi" created="Thu, 10 Jan 2013 11:13:29 -0600"  >Please see my comments.</comment>
                    <comment id="47496" author="junyi" created="Thu, 10 Jan 2013 11:15:26 -0600"  >Ketaki and Abhinav,&lt;br/&gt;
&lt;br/&gt;
Please also put your feedback about proposal Perry suggested.  Thanks.</comment>
                    <comment id="47534" author="ketaki" created="Thu, 10 Jan 2013 13:59:52 -0600"  >Adding some more here&lt;br/&gt;
&lt;br/&gt;
- Rate of Replication [items sent / sec]&lt;br/&gt;
	- Average Replication Rate&lt;br/&gt;
- Lag in Replication ( Helpful to understand/observe If receiving too many back-offs/Timeouts)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Average Replication lag&lt;br/&gt;
- Items replicated&lt;br/&gt;
- Items to replicate &lt;br/&gt;
- Percentage Conflicts in Data&lt;br/&gt;
&lt;br/&gt;
Other Useful ones&lt;br/&gt;
-------------------------------------&lt;br/&gt;
-one checkpoint every minute . &lt;br/&gt;
-back off handled by ns-server &lt;br/&gt;
-how many times retry &lt;br/&gt;
-timeouts - failed to replicate &lt;br/&gt;
-average replication lag &lt;br/&gt;
- XDCR data size&lt;br/&gt;
</comment>
                    <comment id="47829" author="ketaki" created="Tue, 15 Jan 2013 18:04:17 -0600"  >Based on our discussion today, can we have the following changes/edits on the current XDCR stats.&lt;br/&gt;
&lt;br/&gt;
1. On the XDCR tab, in addition to existing information add per Replication Setup&lt;br/&gt;
a. Percentage complete/caught up. While backfilling replication this would describe the number of items already sent to the remote side out of the total in the bucket. Once running, it would show whether there is a significant amount of backup in the queue &lt;br/&gt;
b.Replication rate-Items per second to see speed of each stream and in total &lt;br/&gt;
c.Bandwidth in use. As per a customer, the most important thing with XDCR is going to be the possibly cross-country internet bandwidth and will need to monitor that for each replication stream and in total &lt;br/&gt;
&lt;br/&gt;
2. On the Main bucket section&lt;br/&gt;
a. Rename XDC Dest ops/sec to &amp;quot;Incoming XDCR ops/sec&amp;quot;&lt;br/&gt;
b. Rename XDC docs to replicate &amp;quot; Outbound XDCR docs&amp;quot;&lt;br/&gt;
c. Add Percentage Complete&lt;br/&gt;
d. Add XDCR Replication Rate&lt;br/&gt;
&lt;br/&gt;
3. On Outgoing XDCR section&lt;br/&gt;
a. Remove &amp;quot;mutations checked&amp;quot; and &amp;quot;mutations replicated&amp;quot;, move it at a logging level.&lt;br/&gt;
b. Remove &amp;quot;active vb reps&amp;quot; and &amp;quot;waiting vb reps&amp;quot; , move it to a logging level.&lt;br/&gt;
c. Remove &amp;quot;mutations in queue&amp;quot;&lt;br/&gt;
d. Rename &amp;quot;mutation to replicate&amp;quot;, &amp;quot;XDCR docs to replicate&amp;quot; consistently as &amp;quot;Outbound XDCR docs&amp;quot;&lt;br/&gt;
d. Rename &amp;quot;queue size&amp;quot; as &amp;quot;XDCR queue size&amp;quot;&lt;br/&gt;
e. Edit &amp;quot;num checkpoints issued &amp;quot;, &amp;quot;num checkpoints failed&amp;quot; to last 10 checkpoint instead of the entire set of checkpoints.&lt;br/&gt;
&amp;nbsp;&lt;br/&gt;
@Perry - Stats &amp;quot;secs in replicating&amp;quot; and &amp;quot;secs in checkpointing&amp;quot; have been useful in triaging xdcr bugs in the past.&lt;br/&gt;
Currently most of the xdc stats are aggregate at the ns_server, mnesia level. The individual( @ a vbucket level) logging is maintained at the log level. Considering the criticality of this stat, we ve decided to continue maintaining this information for xdc checkpointing.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="47832" author="ketaki" created="Tue, 15 Jan 2013 18:17:21 -0600"  >Of these , these stats are most critical &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
1. On the XDCR tab, in addition to existing information add per Replication Setup &lt;br/&gt;
a. Percentage complete/caught up. While backfilling replication this would describe the number of items already sent to the remote side out of the total in the bucket. Once running, it would show whether there is a significant amount of backup in the queue &lt;br/&gt;
b.Replication rate-Items per second to see speed of each stream and in total &lt;br/&gt;
c.Bandwidth in use. As per a customer, the most important thing with XDCR is going to be the possibly cross-country internet bandwidth and will need to monitor that for each replication stream and in total </comment>
                    <comment id="47856" author="dipti" created="Wed, 16 Jan 2013 02:10:48 -0600"  >Ketaki, sorry I couldn&amp;#39;t attend the meeting today. I want some clarification on some of these before we implement. I&amp;#39;ll sync up with you tomorrow. </comment>
                    <comment id="47865" author="perry" created="Wed, 16 Jan 2013 05:21:41 -0600"  >Thank you Ketaki.&lt;br/&gt;
&lt;br/&gt;
A few more comments:&lt;br/&gt;
-I don&amp;#39;t know that &amp;quot;percentage complete&amp;quot; and &amp;quot;XDCR replication rate&amp;quot; is necessarily needed in the &amp;quot;main bucket section&amp;quot;...those are really specific to each stream below and may not make sense to aggregate together.  &lt;br/&gt;
-Are we planning on keeping &amp;quot;mutation to replicate&amp;quot; and &amp;quot;XDCR docs to replicate&amp;quot; as separate stats?&lt;br/&gt;
-Along with above, what is the difference between (and do we need to keep all) &amp;quot;XDCR queue size&amp;quot;, and &amp;quot;Outbound XDCR docs&amp;quot;?&lt;br/&gt;
-I still question the usefulness of the &amp;quot;secs in replicating&amp;quot; and &amp;quot;secs in checkpointing&amp;quot;...won&amp;#39;t these values be constantly incrementing for the life of the replication stream?  When looking at a customer&amp;#39;s environment after running for days/weeks/months, what are these stats expected to show? Apologies if I&amp;#39;m not understanding them correctly...&lt;br/&gt;
&lt;br/&gt;
Thanks</comment>
                    <comment id="47901" author="ketaki" created="Wed, 16 Jan 2013 12:27:32 -0600"  >@Dipti - Sure, lets sync up today on this.&lt;br/&gt;
&lt;br/&gt;
@Perry - &lt;br/&gt;
c. Add Percentage Complete  - yes, this is more pertinent at a replication stream level&lt;br/&gt;
d. Add XDCR Replication Rate - yes, this is more pertinent at a replication stream level&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;Rename &amp;quot;mutation to replicate&amp;quot;, &amp;quot;XDCR docs to replicate&amp;quot; consistently as &amp;quot;Outbound XDCR docs&amp;quot; , so they should be the same stats.&lt;br/&gt;
@Junyi - Correct me if this is a wrong assumption.&lt;br/&gt;
&lt;br/&gt;
XDCR Queue size : Is the actual memory being used currently to store the current queue ( which is a much smaller subset of all items to be replicated) We figured this would be useful to know while sizing the bucket/memory with ref to xdcr.&lt;br/&gt;
Outbound XDCR docs : Is the total items that are to be replicated, not all of them are in-memory at all times.&lt;br/&gt;
&lt;br/&gt;
For &amp;quot;secs in checkpointing&amp;quot; and &amp;quot;secs in replicating&amp;quot;, I agree this is a ever-growing number and when we run into a much larger runtime , typical customer scenario, this would be a huge number. However, we ve detected issues w/ XDCR in our previous testing very easily by using these stats,for example if the secs in checkpointing is way-off , it clearly shows some badness in xdcr. &lt;br/&gt;
&lt;br/&gt;
Another way to do this would mean adding logging/some information elsewhere, but the current stats @ ns_server/xdcr level show these values on a per-vbucket basis which may/not essentially be very useful while triaging any errors of this kind.&lt;br/&gt;
We can however have a call to discuss more ,if there is a better way to implement this.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="47927" author="perry" created="Wed, 16 Jan 2013 18:28:48 -0600"  >Thanks for continuing the conversation Ketaki.  A few more follow ons from my side:&lt;br/&gt;
&lt;br/&gt;
XDCR Queue size : Is the actual memory being used currently to store the current queue ( which is a much smaller subset of all items to be replicated) We figured this would be useful to know while sizing the bucket/memory with ref to xdcr. &lt;br/&gt;
[pk] - Can you explain a bit more about memory being taken up for xdcr?  Is this source or destination?  What exactly is the RAM being used for? Is it in memcached or beam.smp?&lt;br/&gt;
&lt;br/&gt;
For &amp;quot;secs in checkpointing&amp;quot; and &amp;quot;secs in replicating&amp;quot;, I agree this is a ever-growing number and when we run into a much larger runtime , typical customer scenario, this would be a huge number. However, we ve detected issues w/ XDCR in our previous testing very easily by using these stats,for example if the secs in checkpointing is way-off , it clearly shows some badness in xdcr. &lt;br/&gt;
[pk] - When you say &amp;quot;way-off&amp;quot;...what do you mean?  Between nodes within a cluster?  Between clusters?  What is the difference between the checkpointing meausurement and the replicating measurement?  What do you mean by &amp;quot;badness&amp;quot; specifically? &lt;br/&gt;
&lt;br/&gt;
Thanks Ketaki.  This is all good information for our documentation and internal information as well.&lt;br/&gt;
&lt;br/&gt;
Perry</comment>
                    <comment id="48137" author="ketaki" created="Sun, 20 Jan 2013 23:11:17 -0600"  >Hi Perry, &lt;br/&gt;
&lt;br/&gt;
[pk] - Can you explain a bit more about memory being taken up for xdcr? Is this source or destination? What exactly is the RAM being used for? Is it in memcached or beam.smp? &lt;br/&gt;
Xdcr queue size - is the total memory used for the xdcr queue per node. We want to account for memory overhead w/ xdcr(we only store key and metadata.)&lt;br/&gt;
This is the memory on the source node. It is accounted in the beam.smp memory.&lt;br/&gt;
&lt;br/&gt;
For each vb replicator:&lt;br/&gt;
the queue is created with following limits&lt;br/&gt;
maximum number of items in the queue:  BatchSize * NumWorkers * 2, by default, the batch size is 500, and NumWorkers is 4, so the queue can hold at most 4000 mutations&lt;br/&gt;
maximum size of queue:  100 * 1024 * NumWorkers,  by default, it is 400KB&lt;br/&gt;
In short, the queue is bounded by 400KB or hold 4000 items, whichever is reached first.&lt;br/&gt;
&lt;br/&gt;
On each node there is max 32 active replicators, so it is 32*400KB = 12800KB = 12.8MB  maximum memory overhead used by the queue.&lt;br/&gt;
&lt;br/&gt;
[pk] - When you say &amp;quot;way-off&amp;quot;...what do you mean? Between nodes within a cluster? Between clusters? What is the difference between the checkpointing meausurement and the replicating measurement? What do you mean by &amp;quot;badness&amp;quot; specifically? &lt;br/&gt;
For &amp;quot;secs in replicating&amp;quot; v/s &amp;quot;secs in checkpointing&amp;quot; I am not sure of the exact difference between the two.&lt;br/&gt;
@Junyi - Could you explain more here?&lt;br/&gt;
I should ve referred the &amp;quot;Docs to replicate&amp;quot; inplace of the &amp;quot;secs checkpointing&amp;quot; which lead to significant checkpoint changes in the past - my bad. This &amp;quot;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6939&quot;&gt;http://www.couchbase.com/issues/browse/MB-6939&lt;/a&gt;&amp;quot; was the one I had in mind while referring to badness.&lt;br/&gt;
&lt;br/&gt;
thanks, &lt;br/&gt;
Ketaki&lt;br/&gt;
</comment>
                    <comment id="48193" author="junyi" created="Mon, 21 Jan 2013 14:16:53 -0600"  >This bug will spawn a list of fixes.  My tentative plan is to resolve this bug by several commits, based on all discussion above.&lt;br/&gt;
&lt;br/&gt;
First of all, let me make clear that the &amp;quot;docs&amp;quot; (or &amp;quot;items&amp;quot;) XDCR replicate is actually &amp;quot;mutations&amp;quot;,  say, suppose we send 10 docs via XDCR to remote cluster, it is possible all these docs are 10 mutations for the single document (item),  rather than from 10 different docs(items). So, in the stats section, we should use &amp;quot;mutations&amp;quot;, instead of &amp;quot;docs&amp;quot; when applicable. &lt;br/&gt;
&lt;br/&gt;
Here is my summary, please let me know if any question or I miss anything&lt;br/&gt;
&lt;br/&gt;
Commit 1: Rename current stats, just renaming, no change to the underlying stats&lt;br/&gt;
In the MAIN bucket section:&lt;br/&gt;
a. Rename XDC Dest ops/sec to &amp;quot;Incoming XDCR ops/sec&amp;quot; &lt;br/&gt;
b. Rename XDC docs to replicate &amp;quot; Outbound XDCR mutations&amp;quot; &lt;br/&gt;
In the Outbound XDCR stats section:&lt;br/&gt;
c. Rename &amp;quot;mutation to replicate&amp;quot;, &amp;quot;XDCR docs to replicate&amp;quot; consistently as &amp;quot;Outbound XDCR mutations&amp;quot; &lt;br/&gt;
d. Rename &amp;quot;queue size&amp;quot; as &amp;quot;XDCR queue size&amp;quot; &lt;br/&gt;
&lt;br/&gt;
Commit 2: Change current stats&lt;br/&gt;
In the Outbound XDCR stats section:&lt;br/&gt;
a. Change &amp;quot;num checkpoints issued &amp;quot;, &amp;quot;num checkpoints failed&amp;quot; to last 10 checkpoint instead of the entire set of checkpoints, also rename them correspondingly&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Commit 3: Add new stats&lt;br/&gt;
In the Outbound XDCR stats section: &lt;br/&gt;
a. add new stat &amp;quot;Percentage of completeness&amp;quot;, which is computed as the &lt;br/&gt;
&amp;quot;number of mutations already sent to remote side&amp;quot; / (&amp;quot;number of mutations already sent to remote side&amp;quot; + &amp;quot;number of mutations waiting to be sent to remote side&amp;quot;).&lt;br/&gt;
Here &amp;quot;number of mutations waiting to be sent to remote side&amp;quot; is the stat &amp;quot;Outbound XDCR mutations&amp;quot;&lt;br/&gt;
&lt;br/&gt;
b.add new stats &amp;quot;Replication rate&amp;quot;   which is the number of mutations we sent per second to see speed of each stream. Unit: #ofmutations/per second&lt;br/&gt;
&lt;br/&gt;
c.add new stats &amp;quot;Bandwidth in use&amp;quot;, which is defined as the number of bytes, the bandwidth XDCR uses on the fly.  Unit:  Bytes/per second&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Commit 4: remove all uninteresting stats and route them to logs&lt;br/&gt;
In Outbound XDCR stats  section:&lt;br/&gt;
a. Remove &amp;quot;mutations checked&amp;quot; and &amp;quot;mutations replicated&amp;quot;, move it at a logging level. &lt;br/&gt;
b. Remove &amp;quot;active vb reps&amp;quot; and &amp;quot;waiting vb reps&amp;quot; , move it to a logging level. &lt;br/&gt;
c. Remove &amp;quot;mutations in queue&amp;quot;,  move it to a logging level.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48199" author="perry" created="Mon, 21 Jan 2013 16:06:53 -0600"  >Thanks Junyie.&lt;br/&gt;
&lt;br/&gt;
A couple quick questions/clarifications:&lt;br/&gt;
c. Rename &amp;quot;mutation to replicate&amp;quot;, &amp;quot;XDCR docs to replicate&amp;quot; consistently as &amp;quot;Outbound XDCR mutations&amp;quot; &lt;br/&gt;
[pk] - Will this result in the current &amp;quot;mutations to replicate&amp;quot; and &amp;quot;XDCR docs to replicate&amp;quot; to be merged into one stat called &amp;quot;Outbound XDCR mutations&amp;quot; in the UI?&lt;br/&gt;
&lt;br/&gt;
d. Rename &amp;quot;queue size&amp;quot; as &amp;quot;XDCR queue size&amp;quot; &lt;br/&gt;
[pk] - Can it be made clear that this is measured in KB/MB/GB?  As per Ketaki&amp;#39;s note, this is a memory size, not a number of items nor mutations in queue. It would be good to explain even further in the &amp;quot;hover over&amp;quot; description of the statistic to say that it will be reflected in the beam.smp/erl.exe memory usage.  Digging in further, it was my understanding that we need nearly 2GB of &amp;quot;extra&amp;quot; RAM to support XDCR...yet it appears from Ketaki&amp;#39;s description that the maximum memory usage is 12.8MB, can you explain the rest?&lt;br/&gt;
&lt;br/&gt;
Commit 3: Add new stats &lt;br/&gt;
[pk] - Just wanted to clarify that these are requested to be displayed per-replication stream in the XDCR configuration section...*not* the graphed stats.&lt;br/&gt;
&lt;br/&gt;
Can you explain further the difference between the secs in checkpointing meausurement and the secs in replicating measurement?  Will those be renamed/removed?</comment>
                    <comment id="48200" author="junyi" created="Mon, 21 Jan 2013 16:38:24 -0600"  >Perry,&lt;br/&gt;
&lt;br/&gt;
[pk] - Will this result in the current &amp;quot;mutations to replicate&amp;quot; and &amp;quot;XDCR docs to replicate&amp;quot; to be merged into one stat called &amp;quot;Outbound XDCR mutations&amp;quot; in the UI? &lt;br/&gt;
[jx] -  Yes, this will unify these two stats. Actually they are the same stat with different names, one is at Main Section and the other is in Outbound XDCR stats. Per your comments, I will use the same name to remove the confusion.&lt;br/&gt;
&lt;br/&gt;
[pk] - Can it be made clear that this is measured in KB/MB/GB? As per Ketaki&amp;#39;s note, this is a memory size, not a number of items nor mutations in queue. It would be good to explain even further in the &amp;quot;hover over&amp;quot; description of the statistic to say that it will be reflected in the beam.smp/erl.exe memory usage. &lt;br/&gt;
[jx]  -  This is defined in Bytes. If you move your mouse over the stat on UI, you will see the text &amp;quot;Size of bytes of XDC replication queue&amp;quot;. If the data is a KB, MB, GB scale,  you will see KB, MB, GB on the UI. There should not be confusion. &lt;br/&gt;
&lt;br/&gt;
[pk]Digging in further, it was my understanding that we need nearly 2GB of &amp;quot;extra&amp;quot; RAM to support XDCR...yet it appears from Ketaki&amp;#39;s description that the maximum memory usage is 12.8MB, can you explain the rest? &lt;br/&gt;
[jx] -  This 12.8MB is the just user-data (docs, mutations) queued to be replicated,  it is just the queue created by XDCR but not including any other overhead. XDCR lives in ns_server erlang process, per node it will create 32 replicator, each replicator will create several worker process, and other erlang processes at run-time, for which there will be some memory overhead, which could be big, but I do not have number at this time.   &lt;br/&gt;
&lt;br/&gt;
Fro where do you get 2GB of &amp;quot;extra memory&amp;quot;? Is it per node or per cluster? &lt;br/&gt;
&lt;br/&gt;
[pk] - Just wanted to clarify that these are requested to be displayed per-replication stream in the XDCR configuration section...*not* the graphed stats. &lt;br/&gt;
[jx] -  Oh, I thought these new stats are in Outbound XDCR section, which is graph and per replication base. Why do we need a separate stat at different places?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
[pk] - Can you explain further the difference between the secs in checkpointing meausurement and the secs in replicating measurement? Will those be renamed/removed?&lt;br/&gt;
&lt;br/&gt;
First, both are aggregated elapsed time from each vb replicator. &lt;br/&gt;
&lt;br/&gt;
&amp;quot;secs in checkpointing&amp;quot; means how much time XDCR vb replicator is working on checkpointing. &lt;br/&gt;
&amp;quot;secs in replicating measurement&amp;quot; means how much time XDCR vb replicator is working on replicating the mutations.&lt;br/&gt;
&lt;br/&gt;
By monitoring these two stats, we can have some idea where XDCR spent the time and what XDCR is busy working on. &lt;br/&gt;
&lt;br/&gt;
For these two stats, I understand they may create some confusion at customer side. As Ketaki said, these stats are still useful for QE and performance team.  If customers really dislike these stats, we can remove them. :)   Personally I am OK with either.  &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48204" author="perry" created="Mon, 21 Jan 2013 17:18:40 -0600"  >Thanks so much Junyie.&lt;br/&gt;
&lt;br/&gt;
Perry, &lt;br/&gt;
&lt;br/&gt;
[pk] - Will this result in the current &amp;quot;mutations to replicate&amp;quot; and &amp;quot;XDCR docs to replicate&amp;quot; to be merged into one stat called &amp;quot;Outbound XDCR mutations&amp;quot; in the UI? &lt;br/&gt;
[jx] - Yes, this will unify these two stats. Actually they are the same stat with different names, one is at Main Section and the other is in Outbound XDCR stats. Per your comments, I will use the same name to remove the confusion. &lt;br/&gt;
[pk] - Perfect, thank you.&lt;br/&gt;
&lt;br/&gt;
[pk] - Can it be made clear that this is measured in KB/MB/GB? As per Ketaki&amp;#39;s note, this is a memory size, not a number of items nor mutations in queue. It would be good to explain even further in the &amp;quot;hover over&amp;quot; description of the statistic to say that it will be reflected in the beam.smp/erl.exe memory usage. &lt;br/&gt;
[jx] - This is defined in Bytes. If you move your mouse over the stat on UI, you will see the text &amp;quot;Size of bytes of XDC replication queue&amp;quot;. If the data is a KB, MB, GB scale, you will see KB, MB, GB on the UI. There should not be confusion. &lt;br/&gt;
[pk] - Yes, that will be great, thanks.&lt;br/&gt;
&lt;br/&gt;
[pk]Digging in further, it was my understanding that we need nearly 2GB of &amp;quot;extra&amp;quot; RAM to support XDCR...yet it appears from Ketaki&amp;#39;s description that the maximum memory usage is 12.8MB, can you explain the rest? &lt;br/&gt;
[jx] - This 12.8MB is the just user-data (docs, mutations) queued to be replicated, it is just the queue created by XDCR but not including any other overhead. XDCR lives in ns_server erlang process, per node it will create 32 replicator, each replicator will create several worker process, and other erlang processes at run-time, for which there will be some memory overhead, which could be big, but I do not have number at this time. &lt;br/&gt;
&lt;br/&gt;
Fro where do you get 2GB of &amp;quot;extra memory&amp;quot;? Is it per node or per cluster? &lt;br/&gt;
[pk] - This was the recommendation from QE based upon some analysis we did at Concur.  Would be *extremely* helpful to get accurate and specific sizing information, and what takes up that size in whatever form.&lt;br/&gt;
&lt;br/&gt;
[pk] - Just wanted to clarify that these are requested to be displayed per-replication stream in the XDCR configuration section...*not* the graphed stats. &lt;br/&gt;
[jx] - Oh, I thought these new stats are in Outbound XDCR section, which is graph and per replication base. Why do we need a separate stat at different places? &lt;br/&gt;
[pk] - This has to do with how and why these stats are being consumed.  When a user is looking at their cluster to determine the replication status, it will be much easier to look at all the streams together...this is much harder to do when you have to click into each bucket and look at each individual stream.  It&amp;#39;s in the same line as why we have item counts on the manage servers screen.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
[pk] - Can you explain further the difference between the secs in checkpointing meausurement and the secs in replicating measurement? Will those be renamed/removed? &lt;br/&gt;
&lt;br/&gt;
First, both are aggregated elapsed time from each vb replicator. &lt;br/&gt;
&lt;br/&gt;
&amp;quot;secs in checkpointing&amp;quot; means how much time XDCR vb replicator is working on checkpointing. &lt;br/&gt;
&amp;quot;secs in replicating measurement&amp;quot; means how much time XDCR vb replicator is working on replicating the mutations. &lt;br/&gt;
&lt;br/&gt;
By monitoring these two stats, we can have some idea where XDCR spent the time and what XDCR is busy working on. &lt;br/&gt;
&lt;br/&gt;
For these two stats, I understand they may create some confusion at customer side. As Ketaki said, these stats are still useful for QE and performance team. If customers really dislike these stats, we can remove them. :) Personally I am OK with either. &lt;br/&gt;
[pk] - Thanks for the explanation.  I would still advocate for removing them.  The main reason being that they do not materially help identify any issue or behavior after the cluster has been running for an extended period of time.  The up-to-the-second monitoring of these stats will show an extremely high number for both after just a few days or a week of a replication stream running...let alone multiple weeks or months.  I can definitely see that they would be useful when debugging the initial stream or trying to identify an issue, but I would ask that they be moved to the log or other stat area outside of the UI.&lt;br/&gt;
&lt;br/&gt;
Which leads me to another question :-)  Do we have documented already (or can you help with that) where and how to get these &amp;quot;other&amp;quot; stats regarding XDCR?  Is there only a REST API to query?  Are they printed into some log periodically?  Could we get that detailed and written up?&lt;br/&gt;
&lt;br/&gt;
Thanks again!</comment>
                    <comment id="48267" author="junyi" created="Tue, 22 Jan 2013 12:33:02 -0600"  >Perry, you are highly welcome. Please see my response below.&lt;br/&gt;
&lt;br/&gt;
[pk] - This has to do with how and why these stats are being consumed. When a user is looking at their cluster to determine the replication status, it will be much easier to look at all the streams together...this is much harder to do when you have to click into each bucket and look at each individual stream. It&amp;#39;s in the same line as why we have item counts on the manage servers screen. &lt;br/&gt;
[jx]  --  I see. Thanks for explanation. I agree from user perspective, it is better to have summary stat of ALL replications, not just per-replication stream.&lt;br/&gt;
Today seems we do not have anything like this (stats across all buckets)?, there is no stat at XDCR tab either, so I need to talk to UI guys how to add these stats and where to add them. It involves some UI design change and more than adding another per-replication stat on UI.  Better to &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
[pk] -- Which leads me to another question :-) Do we have documented already (or can you help with that) where and how to get these &amp;quot;other&amp;quot; stats regarding XDCR? Is there only a REST API to query? Are they printed into some log periodically? Could we get that detailed and written up? &lt;br/&gt;
[jx]  -- Other than UI stats, XDCR also dumped a lot of stats and information to log files, but I am afraid they are too detailed and hard to parse from customers perspective :)  Today I put all XDCR stats on UI. Tomorrow, after we remove some stats on UI (like secs in checkpointing), I will put them into log and document how to get them easily.  For all stats on UI, you could use standard REST API to get them.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48567" author="junyi" created="Thu, 24 Jan 2013 17:00:30 -0600"  >Thanks everybody for discussion. I will start working on Commit 1 and 2, which we all agree on. </comment>
                    <comment id="48579" author="junyi" created="Thu, 24 Jan 2013 19:15:14 -0600"  >Commit 1:   &lt;a href=&quot;http://review.couchbase.org/#/c/24189/&quot;&gt;http://review.couchbase.org/#/c/24189/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48856" author="junyi" created="Mon, 28 Jan 2013 20:10:31 -0600"  >Commit 2: &lt;a href=&quot;http://review.couchbase.org/#/c/24251/&quot;&gt;http://review.couchbase.org/#/c/24251/&lt;/a&gt;</comment>
                    <comment id="50225" author="junyi" created="Tue, 12 Feb 2013 20:32:28 -0600"  >Commit 3: add latency stats&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/24399/&quot;&gt;http://review.couchbase.org/#/c/24399/&lt;/a&gt;</comment>
                    <comment id="50332" author="junyi" created="Wed, 13 Feb 2013 16:39:45 -0600"  >Commit 4: add percent of completeness stat&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/24583/&quot;&gt;http://review.couchbase.org/#/c/24583/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Perry,&lt;br/&gt;
&lt;br/&gt;
We are approaching resolving the bug. The remaining issues are&lt;br/&gt;
&lt;br/&gt;
1) remove uninteresting stats from UI. That is more about a design issue than coding. Dipti will make decision which stats to keep and which to remove in 2.0.2.&lt;br/&gt;
&lt;br/&gt;
2) bandwidth usage.  Today we have data replication rate (bytes per second) for each replication on the UI. The total bandwidth usage is just the aggregation over all buckets and summarize the replication rate across all replications.  You mentioned that it would be nice to put total bandwidth in XDCR tab instead of stat section, which I agree.  That will be purely a UI work and no XDCR code should be modified. Please be free to create another bug for that and assign to UI team. &lt;br/&gt;
&lt;br/&gt;
Please let me know if anything missing. Thanks.&lt;br/&gt;
</comment>
                    <comment id="50416" author="perry" created="Thu, 14 Feb 2013 10:22:01 -0600"  >Thanks Junyi.  Do we have a bug open already for the UI enhancements around this?</comment>
                    <comment id="50419" author="junyi" created="Thu, 14 Feb 2013 10:44:13 -0600"  >I mean you can open another bug for the bandwidth usage, which is purely a UI work, nothing to do with XDCR code.&lt;br/&gt;
&lt;br/&gt;
For this particular bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7432&quot; title=&quot;XDCR Stats enhancements&quot;&gt;MB-7432&lt;/a&gt;, all work on XDCR side is done except the stats removal (Dipti will make decision for that, probably she will file another bug). So please close this bug if you do not need any thing from me.</comment>
                    <comment id="50420" author="perry" created="Thu, 14 Feb 2013 10:48:34 -0600"  >So it sounds like this is not yet resolved if all the decisions haven&amp;#39;t been made yet.&lt;br/&gt;
&lt;br/&gt;
Assigning to Dipti to make the final decisions...I want to leave it open to make sure things get wrapped up.&lt;br/&gt;
&lt;br/&gt;
Adding a UI component for the bandwidth request.</comment>
                    <comment id="53422" author="maria" created="Mon, 25 Mar 2013 13:33:55 -0500"  >deferred out of 2.0.2&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 18 Dec 2012 19:03:13 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2139</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-7286] UI logs showing multiple errors, (XDCR bi and uni, at the start of a rebalance-in operation): Server error during processing: [&quot;web request failed&quot; ...</title>
                <link>http://www.couchbase.com/issues/browse/MB-7286</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>+ 5 nodes rebalance in on each cluster&lt;br/&gt;
Cluster setup: c1:c2::10:10 &lt;br/&gt;
biXDCR_bucket: c1 &amp;lt;---&amp;gt; c2 &lt;br/&gt;
uniXDCR_src: c1 ---&amp;gt; c2 :uniXDCR_dest &lt;br/&gt;
Front end loads on c1 and c2 for biXDCR_bucket, and on c1 for uniXDCR_src. &lt;br/&gt;
c1: &lt;a href=&quot;http://ec2-177-71-230-72.sa-east-1.compute.amazonaws.com:8091/&quot;&gt;http://ec2-177-71-230-72.sa-east-1.compute.amazonaws.com:8091/&lt;/a&gt; &lt;br/&gt;
c2: &lt;a href=&quot;http://ec2-175-41-186-167.ap-southeast-1.compute.amazonaws.com:8091/&quot;&gt;http://ec2-175-41-186-167.ap-southeast-1.compute.amazonaws.com:8091/&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
UI reports whole bunch of these errors at the start of rebalancing operation and with the front end loads:&lt;br/&gt;
Server error during processing: [&amp;quot;web request failed&amp;quot;,&lt;br/&gt;
{path,&amp;quot;/pools/default&amp;quot;},&lt;br/&gt;
{type,exit},&lt;br/&gt;
{what,&lt;br/&gt;
{timeout,&lt;br/&gt;
{gen_server,call,&lt;br/&gt;
[ns_doctor,get_tasks_version]}}},&lt;br/&gt;
{trace,&lt;br/&gt;
[{gen_server,call,2},&lt;br/&gt;
{menelaus_web,build_pool_info,4},&lt;br/&gt;
{menelaus_web,handle_pool_info_wait,5},&lt;br/&gt;
{menelaus_web,loop,3},&lt;br/&gt;
{mochiweb_http,headers,5},&lt;br/&gt;
{proc_lib,init_p_do_apply,3}]}] (repeated 1 times)&lt;br/&gt;
&lt;br/&gt;
Will attach grabbed diags from the particular server in a bit.&lt;br/&gt;
</description>
                <environment>- 5:5 bidirectional XDCR &lt;br/&gt;
- ec2 nodes with 15G RAM &lt;br/&gt;
- 12.04 Ubuntu LTS &lt;br/&gt;
- 400G disk space on each node &lt;br/&gt;
- &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1967-rel.deb.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1967-rel.deb.manifest.xml&lt;/a&gt;</environment>
            <key id="20997">MB-7286</key>
            <summary>UI logs showing multiple errors, (XDCR bi and uni, at the start of a rebalance-in operation): Server error during processing: [&quot;web request failed&quot; ...</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="Aliaksey Artamonau">Aliaksey Artamonau</assignee>
                                <reporter username="abhinav">Abhinav Dangeti</reporter>
                        <labels>
                        <label>2.0-release-notes</label>
                    </labels>
                <created>Wed, 28 Nov 2012 21:00:35 -0600</created>
                <updated>Mon, 18 Feb 2013 11:31:48 -0600</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                <component>UI</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44983" author="abhinav" created="Wed, 28 Nov 2012 21:38:58 -0600"  >UI reports that this error seems to be on server node: &lt;a href=&apos;mailto:ns_1@ec2-177-71-230-72.sa-east-1.compute.amazonaws.com&apos;&gt;ns_1@ec2-177-71-230-72.sa-east-1.compute.amazonaws.com&lt;/a&gt;&lt;br/&gt;
Grabbed diags: &lt;a href=&quot;https://s3.amazonaws.com/bugdb/MB-7286/ec2-177-71-230-72.sa-east-1.compute.amazonaws.com-8091-diag.txt.gz&quot;&gt;https://s3.amazonaws.com/bugdb/MB-7286/ec2-177-71-230-72.sa-east-1.compute.amazonaws.com-8091-diag.txt.gz&lt;/a&gt;</comment>
                    <comment id="45013" author="steve" created="Thu, 29 Nov 2012 13:17:20 -0600"  >from bug-scrub.&lt;br/&gt;
&lt;br/&gt;
ketaki: errors seem to go away after 10 minutes, but cluster is unaccessible?</comment>
                    <comment id="45014" author="steve" created="Thu, 29 Nov 2012 13:18:22 -0600"  >per-bug-scrub, moved to 2.0.1</comment>
                    <comment id="45499" author="kzeller" created="Wed, 5 Dec 2012 14:23:10 -0600"  >Added to RN:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;During a rebalance operation for clusters undergoing uni- and bi-directional replication &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;via XDCR, the following server errors may appear, which are currently under &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;investigation:</comment>
                    <comment id="45515" author="junyi" created="Wed, 5 Dec 2012 15:29:02 -0600"  >Seems to me these errors usually mean the system is busy working on something which is pretty heavy (like rebalance, etc), and is unable to respond to UI request timely.  Waiting for triage from ns_server team.</comment>
                    <comment id="45705" author="farshid" created="Mon, 10 Dec 2012 11:30:19 -0600"  >deferring to 2.1 per bug scrub meeting ( Dipti &amp;amp; Farshid -December 7th )</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 29 Nov 2012 13:17:20 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3059</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-7287] XDCR: replication lag on ec2 periodically reaches 1 minute and more</title>
                <link>http://www.couchbase.com/issues/browse/MB-7287</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>While mutation rate is about 6K ops/sec replication queue reaches 400K items from time to time (see page 37, east coast (source) is worse for some reason).&lt;br/&gt;
&lt;br/&gt;
I doesn&amp;#39;t seem to be an issue, but I never saw requirements for delays. So wondering.&lt;br/&gt;
&lt;br/&gt;
This is ec2 specific issue (taking into account laws of physics).</description>
                <environment>ec2 High-Memory Double Extra Large Instance, 4 east &amp;lt;-&amp;gt; 4 west, bidir&lt;br/&gt;
build 1967</environment>
            <key id="21000">MB-7287</key>
            <summary>XDCR: replication lag on ec2 periodically reaches 1 minute and more</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="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="anil">Anil Kumar</assignee>
                                <reporter username="pavelpaulau">Pavel Paulau</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Nov 2012 05:26:55 -0600</created>
                <updated>Mon, 8 Apr 2013 05:51:33 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>9</watches>
                                                    <comments>
                    <comment id="45012" author="steve" created="Thu, 29 Nov 2012 13:15:47 -0600"  >per bug scrub, while the fix may not go into 2.0, need continued triaging -- looks like possible recent regression. assigning to junyi.</comment>
                    <comment id="45034" author="junyi" created="Thu, 29 Nov 2012 15:17:31 -0600"  >The doc to replicate on page 37 is highly correlated with &amp;quot;doc disk size&amp;quot; (page 22, 23 27), doc fragmentation (page 28).   Looks like an issue known to us for a while:  the compaction competes I/O with ep_engine flusher and XDCR unable to replicate mutation as quickly as before compaction. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Pavel, to verify, you could turn off compaction, or change the compaction interval (say, compacting once per hour),  and re-run the test.  </comment>
                    <comment id="45283" author="farshid" created="Mon, 3 Dec 2012 16:42:14 -0600"  >per bug scrub&lt;br/&gt;
&lt;br/&gt;
Damien,&lt;br/&gt;
could you please have a look ?</comment>
                    <comment id="45523" author="junyi" created="Wed, 5 Dec 2012 17:33:40 -0600"  >Known issue of compactor. Not  a block IMHO.</comment>
                    <comment id="45627" author="junyi" created="Thu, 6 Dec 2012 18:59:20 -0600"  >I am not sure if there is any quick fix for 2.0.1 since it is a known performance issue: resource competition between different components. &lt;br/&gt;
&lt;br/&gt;
Mark the fix version to 2.1 temporarily. </comment>
                    <comment id="52355" author="jin" created="Fri, 8 Mar 2013 13:30:49 -0600"  >From XDCR meeting:&lt;br/&gt;
&lt;br/&gt;
We need to rerun the test as follows&lt;br/&gt;
&amp;nbsp;a. If easier, rerun the test with on 2-2 EC2 (west to east) &lt;br/&gt;
&amp;nbsp;b. if 2-2, reduce the front load to 3k/ops as well&lt;br/&gt;
&amp;nbsp;c. use the latest 2.0.1 build (RC)&lt;br/&gt;
&amp;nbsp;d. run the test twice, one with compaction and the other without compaction&lt;br/&gt;
&amp;nbsp;e. goal of running this test is to verify that the lag is really from the io competition between xdcr and compaction&lt;br/&gt;
</comment>
                    <comment id="52356" author="junyi" created="Fri, 8 Mar 2013 13:35:11 -0600"  >Thanks Jin for updates&lt;br/&gt;
&lt;br/&gt;
Pavel, the 3K mutation rate ops/sec is per cluster, so if you are running the test on 2:2 configuration, it is 1.5K ops/sec per node. This is to be consistent with your original test where there was a 6K mutation rate per a 4-node cluster.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="53488" author="pavelpaulau" created="Tue, 26 Mar 2013 02:48:51 -0500"  >Results look much better when compaction disabled.</comment>
                    <comment id="53517" author="junyi" created="Tue, 26 Mar 2013 13:01:08 -0500"  >Brief summary:&lt;br/&gt;
&lt;br/&gt;
In the latest test with build 2.0.1-170,  &lt;br/&gt;
&lt;br/&gt;
1) With compaction, the peak &amp;quot;docs to replicate&amp;quot; is reduced from 400K (2.0.0-1967) down to 60-70K.&lt;br/&gt;
2) After we return off compaction, the  the peak &amp;quot;docs to replicate&amp;quot; is further reduced significantly to &amp;lt; 10K, which we shall be able to flush in 10 seconds, confirmed by the stats &amp;quot;XDCR lag diff(total &#8722; persistance)&amp;quot; in report&lt;br/&gt;
3) In 2.0.1-170,   persistence time accounts most of the lag in both tests (w/ and w/o compaction), although in the test w/o compaction the latency is improved by &amp;gt;50% (see stats &amp;quot;XDCR lag time&amp;quot; in both reports)&lt;br/&gt;
&lt;br/&gt;
I think &lt;br/&gt;
&lt;br/&gt;
1) from 2.0.0 to 2.0.1, there seems significant improvement in storage layer because even with compaction, we see much reduced backlog.&lt;br/&gt;
2) in 2.0.1, compaction still competes I/O with XDCR, but the problem is alleviated quite a lot.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="53528" author="junyi" created="Tue, 26 Mar 2013 14:47:13 -0500"  >Not a functional bug. I am not sure what I can do at this time. Hand over back to PM.</comment>
                    <comment id="53904" author="maria" created="Mon, 1 Apr 2013 17:29:27 -0500"  >assigning to anil per bug scrub. will discuss offline what other optimization work can be done within the 2.0.2 timeframe.</comment>
                    <comment id="54472" author="thuan" created="Mon, 8 Apr 2013 05:51:33 -0500"  >Integrated in ui-testing #35 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/ui-testing/35/&quot;&gt;http://qa.hq.northscale.net/job/ui-testing/35/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS</comment>
                </comments>
                    <attachments>
                    <attachment id="15914" name="xperf-mixed-2-bi.loop_2.0.0-1967-rel-enterprise_2.0.0-1967-rel-enterprise_DEST_Nov-28-2012_21-07-10.pdf" size="2257943" author="pavelpaulau" created="Thu, 29 Nov 2012 05:26:55 -0600" />
                    <attachment id="15915" name="xperf-mixed-2-bi.loop_2.0.0-1967-rel-enterprise_2.0.0-1967-rel-enterprise_SOURCE_Nov-28-2012_20-57-30.pdf" size="2383599" author="pavelpaulau" created="Thu, 29 Nov 2012 05:26:55 -0600" />
                    <attachment id="17009" name="xperf-mixed-bi-2-nodes.loop_2.0.1-170-rel-enterprise_2.0.1-170-rel-enterprise_SOURCE_Mar-25-2013_13-30-44.pdf" size="4220129" author="pavelpaulau" created="Tue, 26 Mar 2013 02:48:51 -0500" />
                    <attachment id="17010" name="xperf-mixed-bi-2-nodes-nc.loop_2.0.1-170-rel-enterprise_2.0.1-170-rel-enterprise_SOURCE_Mar-25-2013_21-16-07.pdf" size="4109395" author="pavelpaulau" created="Tue, 26 Mar 2013 02:48:51 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 29 Nov 2012 13:15:47 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>413</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>2</customfieldvalue>
    <customfieldvalue>5</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7230] [system test] warmup access log corrupt during warmup in windows</title>
                <link>http://www.couchbase.com/issues/browse/MB-7230</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Environment:&lt;br/&gt;
8 windows server 2008 R2 64 bit in ec2. Each server has 7.5 GB RAM and 45GB EBS disk to store data.&lt;br/&gt;
Create a 6 nodes windows cluster in ec2&lt;br/&gt;
&lt;br/&gt;
Loading phase:&lt;br/&gt;
* Create one default bucket and load 24 million items to it. Each item has size from 128 to 512 bytes.&lt;br/&gt;
&lt;br/&gt;
Access phase:&lt;br/&gt;
* Mutate items with ratio creates/updates/gets/deletes/expirations = 10/60/20/5/5&lt;br/&gt;
&lt;br/&gt;
* Doing rebalance add node, remove node, failover, failover and add back. &lt;br/&gt;
* The last test was reboot all 6 nodes in reboot warmup test.  During warmup, I see error when collect raw warmup stats&lt;br/&gt;
ep_warmup_access_log:            corrupt&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.96.107.176:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         20704&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   14538479&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: 14538479&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             14538479&lt;br/&gt;
&amp;nbsp;ep_warmup_keys_time:             745292809&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 done&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                complete&lt;br/&gt;
&amp;nbsp;ep_warmup_time:                  941489106&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           2285132&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.110.222.56:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_access_log:            corrupt&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         22194&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   23969171&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: 23969171&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             23969171&lt;br/&gt;
&amp;nbsp;ep_warmup_keys_time:             2466454551&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 done&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                complete&lt;br/&gt;
&amp;nbsp;ep_warmup_time:                  2676578146&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           976671&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.214.194.95:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         22131&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   14540213&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: 14540213&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             14540213&lt;br/&gt;
&amp;nbsp;ep_warmup_keys_time:             662356019&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 done&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                complete&lt;br/&gt;
&amp;nbsp;ep_warmup_time:                  932353521&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           2283472&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.46.181.58:11210 raw warmup&lt;br/&gt;
Stats &amp;#39;warmup&amp;#39; are not available from the requested engine.&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.110.218.124:11210 raw warmup&lt;br/&gt;
Stats &amp;#39;warmup&amp;#39; are not available from the requested engine.&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.111.66.215:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         21788&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   14679821&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: 14679821&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             14679821&lt;br/&gt;
&amp;nbsp;ep_warmup_keys_time:             638006011&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 done&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                complete&lt;br/&gt;
&amp;nbsp;ep_warmup_time:                  785227909&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           2264710&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.2.63.249:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_access_log:            corrupt&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         26696&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   24113568&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: 24113568&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             24113568&lt;br/&gt;
&amp;nbsp;ep_warmup_keys_time:             1970642317&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 done&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                complete&lt;br/&gt;
&amp;nbsp;ep_warmup_time:                  2221105121&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           956974&lt;br/&gt;
&lt;a href=&apos;mailto:root@ip-10-116-233-143&apos;&gt;root@ip-10-116-233-143&lt;/a&gt;:~/testrunner# /opt/couchbase/bin/cbstats 10.110.206.19:11210 raw warmup&lt;br/&gt;
&amp;nbsp;ep_warmup:                       enabled&lt;br/&gt;
&amp;nbsp;ep_warmup_dups:                  0&lt;br/&gt;
&amp;nbsp;ep_warmup_estimate_time:         20255&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_key_count:   24110614&lt;br/&gt;
&amp;nbsp;ep_warmup_estimated_value_count: unknown&lt;br/&gt;
&amp;nbsp;ep_warmup_key_count:             21603099&lt;br/&gt;
&amp;nbsp;ep_warmup_min_item_threshold:    100&lt;br/&gt;
&amp;nbsp;ep_warmup_min_memory_threshold:  100&lt;br/&gt;
&amp;nbsp;ep_warmup_oom:                   0&lt;br/&gt;
&amp;nbsp;ep_warmup_state:                 loading keys&lt;br/&gt;
&amp;nbsp;ep_warmup_thread:                running&lt;br/&gt;
&amp;nbsp;ep_warmup_value_count:           0&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Link to manifest file of this build &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1952-rel.setup.exe.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-enterprise_x86_64_2.0.0-1952-rel.setup.exe.manifest.xml&lt;/a&gt; &lt;br/&gt;
</description>
                <environment>windows 2008 R2 64bit  build 2.0.0-1952</environment>
            <key id="20874">MB-7230</key>
            <summary>[system test] warmup access log corrupt during warmup in windows</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="siri">Sriram Melkote</assignee>
                                <reporter username="thuan">Thuan Nguyen</reporter>
                        <labels>
                        <label>system-test</label>
                    </labels>
                <created>Tue, 20 Nov 2012 21:03:59 -0600</created>
                <updated>Wed, 10 Apr 2013 15:06:59 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="44504" author="thuan" created="Tue, 20 Nov 2012 21:07:22 -0600"  >Link to collect info of all nodes &lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/MB-7230/8nodes-ci-1952-access-log-corrupt-during-warmup-20121120-184825.tgz&quot;&gt;https://s3.amazonaws.com/bugdb/jira/MB-7230/8nodes-ci-1952-access-log-corrupt-during-warmup-20121120-184825.tgz&lt;/a&gt;</comment>
                    <comment id="44648" author="chiyoung" created="Wed, 21 Nov 2012 19:43:23 -0600"  >I don&amp;#39;t think this is a blocker for 2.0 release. If an access log is corrupted (we saw this corruption only one time so far), the ep-engine skips the access log and loads the items sequentially from couchstore until the memory usage reaches to the low water mark and then completes the warmup.&lt;br/&gt;
&lt;br/&gt;
We will figure out why the access log was corrupted in windows.</comment>
                    <comment id="44830" author="jin" created="Mon, 26 Nov 2012 22:39:44 -0600"  >Had discussion with QE this afternoon. This appears to be a very remote case.  It doesn&amp;#39;t break the warmup but fails the data loading off access log, which is just a warmup optimization. Thus I don&amp;#39;t think it is a blocker as Chiyoung stated above. </comment>
                    <comment id="45720" author="farshid" created="Mon, 10 Dec 2012 11:30:20 -0600"  >deferring to 2.1 per bug scrub meeting ( Dipti &amp;amp; Farshid -December 7th )</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 21 Nov 2012 19:43:23 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2823</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7091] race condition while loading sample data via setup wizard</title>
                <link>http://www.couchbase.com/issues/browse/MB-7091</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>/Users/farshid/Downloads/ns-diag-20121104183310.txt:38769:[ns_server:debug,2012-11-04T18:32:32.847,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;{&amp;#39;username&amp;#39;: None, &amp;#39;node&amp;#39;: &amp;#39;127.0.0.1:8091&amp;#39;, &amp;#39;password&amp;#39;: None, &amp;#39;bucket&amp;#39;: &amp;#39;gamesim-sample&amp;#39;, &amp;#39;ram_quota&amp;#39;: 100} [&amp;#39;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip&amp;#39;]\nTraceback (most recent call last):\n  File \&amp;quot;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\&amp;quot;, line 237, in &amp;lt;module&amp;gt;\n    main()\n  File \&amp;quot;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\&amp;quot;, line 226, in main\n    docloader.init_bucket()\n  File \&amp;quot;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/tools/../../lib/python/cbdocloader\&amp;quot;, line 121, in init_bucket\n    &amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38770:[ns_server:debug,2012-11-04T18:32:32.848,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;authType=&amp;#39;sasl&amp;#39;)\n  File \&amp;quot;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py\&amp;quot;, line 799, in create_bucket\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38776:[ns_server:debug,2012-11-04T18:32:32.892,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;    &amp;#39;proxyPort&amp;#39;: self.get_nodes_self().moxi,\n  File \&amp;quot;/Users/farshid/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py\&amp;quot;, line 591, in get_nodes_self\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38777:[ns_server:debug,2012-11-04T18:32:32.893,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;    json_parsed = json.loads(content)\n  File \&amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py\&amp;quot;, line 326, in loads\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38778:[ns_server:debug,2012-11-04T18:32:32.893,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;    return _default_decoder.decode(s)\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38779:[ns_server:debug,2012-11-04T18:32:32.893,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;  File \&amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py\&amp;quot;, line 366, in decode\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38780:[ns_server:debug,2012-11-04T18:32:32.894,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n  File \&amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py\&amp;quot;, line 384, in raw_decode\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38781:[ns_server:debug,2012-11-04T18:32:32.894,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot;    raise ValueError(\&amp;quot;No JSON object could be decoded\&amp;quot;)\nValueError: No JSON object could be decoded\n&amp;quot;&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38782:[ns_server:debug,2012-11-04T18:32:32.904,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:samples_loader_tasks&amp;lt;0.1025.0&amp;gt;:samples_loader_tasks:handle_info:58]Consumed exit signal from samples loading task gamesim-sample: {&amp;#39;EXIT&amp;#39;,&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38786:[user:error,2012-11-04T18:32:32.905,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:samples_loader_tasks&amp;lt;0.1025.0&amp;gt;:samples_loader_tasks:handle_info:64]Loading sample bucket gamesim-sample failed: {failed_to_load_samples_with_status,&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38788:[ns_server:debug,2012-11-04T18:32:32.906,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:samples_loader_tasks&amp;lt;0.1025.0&amp;gt;:samples_loader_tasks:handle_info:68]Token holder died</description>
                <environment></environment>
            <key id="20538">MB-7091</key>
            <summary>race condition while loading sample data via setup wizard</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                    </labels>
                <created>Sun, 4 Nov 2012 20:39:10 -0600</created>
                <updated>Thu, 11 Apr 2013 13:49:57 -0500</updated>
                                    <version>2.0-beta-2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>tools</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="43212" author="farshid" created="Sun, 4 Nov 2012 20:39:58 -0600"  >i was able to load the data via settngs tab so i think this only occurs when bucket creation takes longer time than expected ( e.g Mac spinning disk )&lt;br/&gt;
&lt;br/&gt;
/Users/farshid/Downloads/ns-diag-20121104183310.txt:38781:[ns_server:debug,2012-11-04T18:32:32.894,&lt;a href=&apos;mailto:ns_1@127.0.0.1&apos;&gt;ns_1@127.0.0.1&lt;/a&gt;:&amp;lt;0.1038.0&amp;gt;:samples_loader_tasks:wait_for_exit:101]output from gamesim-sample: &amp;quot; raise ValueError(\&amp;quot;No JSON object could be decoded\&amp;quot;)\nValueError: No JSON object could be decoded\n&amp;quot; </comment>
                    <comment id="43294" author="alkondratenko" created="Mon, 5 Nov 2012 14:09:49 -0600"  >I need diags to confirm that suspicion.</comment>
                    <comment id="43308" author="alkondratenko" created="Mon, 5 Nov 2012 15:32:25 -0600"  >No it doesn&amp;#39;t appear to be caused by slow bucket creation. OSX has only 64 vbuckets after all.&lt;br/&gt;
&lt;br/&gt;
For some reason it&amp;#39;s trying to fetch /nodes/self and gets 401. And then maybe it tries to decode nonsence it gets.&lt;br/&gt;
&lt;br/&gt;
I think you should try to run it manually. Please do that on unconfigured cluster because that&amp;#39;s different code path compared to already configured cluster. And see if it works or not.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="43410" author="steve" created="Tue, 6 Nov 2012 13:54:08 -0600"  >need to run some test (ask alk) before server is initialized on HDD / OSX.  (hdd might not be important)</comment>
                    <comment id="43432" author="steve" created="Tue, 6 Nov 2012 16:24:17 -0600"  >Ronnie - can you take a look at this and try to repro on your SSD macbook?  And see if you can answer Alk&amp;#39;s questions.&lt;br/&gt;
Thanks!&lt;br/&gt;
Steve</comment>
                    <comment id="43437" author="ronnie" created="Tue, 6 Nov 2012 17:21:23 -0600"  >Ran the following command before node setup, it worked fine. (ssd)&lt;br/&gt;
&lt;br/&gt;
./cbdocloader -n 127.0.0.1:8091 -b gamesim-sample -s 100 /Users/ronnie/code/couchbase/couchbase-examples/gamesim-sample.zip&lt;br/&gt;
</comment>
                    <comment id="43441" author="ronnie" created="Tue, 6 Nov 2012 18:00:32 -0600"  >I got 401 error only after server has been set up, which is expected.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
./cbdocloader -n 127.0.0.1:8091 -b gamesim-sample -s 100 /Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip&lt;br/&gt;
{&amp;#39;username&amp;#39;: None, &amp;#39;node&amp;#39;: &amp;#39;127.0.0.1:8091&amp;#39;, &amp;#39;password&amp;#39;: None, &amp;#39;bucket&amp;#39;: &amp;#39;gamesim-sample&amp;#39;, &amp;#39;ram_quota&amp;#39;: 100} [&amp;#39;/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/bin/../samples/gamesim-sample.zip&amp;#39;]&lt;br/&gt;
[2012-11-06 15:59:25,585] - [rest_client] [140735169014112] - ERROR - &lt;a href=&quot;http://127.0.0.1:8091/nodes/self&quot;&gt;http://127.0.0.1:8091/nodes/self&lt;/a&gt; error 401 reason: unknown &lt;br/&gt;
[2012-11-06 15:59:25,587] - [rest_client] [140735169014112] - ERROR - &lt;a href=&quot;http://127.0.0.1:8091/pools/default/buckets/&quot;&gt;http://127.0.0.1:8091/pools/default/buckets/&lt;/a&gt; error 401 reason: unknown &lt;br/&gt;
[2012-11-06 15:59:25,589] - [rest_client] [140735169014112] - ERROR - &lt;a href=&quot;http://127.0.0.1:8091/nodes/self&quot;&gt;http://127.0.0.1:8091/nodes/self&lt;/a&gt; error 401 reason: unknown &lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;./cbdocloader&amp;quot;, line 237, in &amp;lt;module&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;main()&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;./cbdocloader&amp;quot;, line 226, in main&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;docloader.init_bucket()&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;./cbdocloader&amp;quot;, line 121, in init_bucket&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;authType=&amp;#39;sasl&amp;#39;)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py&amp;quot;, line 799, in create_bucket&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;proxyPort&amp;#39;: self.get_nodes_self().moxi,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;/Users/ronnie/Downloads/couchbase-server-community_x86_64_2.0.0-1939-rel/Couchbase Server.app/Contents/Resources/couchbase-core/lib/python/couchbase/rest_client.py&amp;quot;, line 591, in get_nodes_self&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;json_parsed = json.loads(content)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py&amp;quot;, line 326, in loads&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return _default_decoder.decode(s)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py&amp;quot;, line 360, in decode&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;obj, end = self.raw_decode(s, idx=_w(s, 0).end())&lt;br/&gt;
&amp;nbsp;&amp;nbsp;File &amp;quot;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py&amp;quot;, line 378, in raw_decode&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;raise ValueError(&amp;quot;No JSON object could be decoded&amp;quot;)&lt;br/&gt;
ValueError: No JSON object could be decoded&lt;br/&gt;
</comment>
                    <comment id="43575" author="steve" created="Thu, 8 Nov 2012 12:54:47 -0600"  >ronnie&amp;#39;s going to try again with a HDD macbook that he&amp;#39;ll try to get from ray.</comment>
                    <comment id="43577" author="ronnie" created="Thu, 8 Nov 2012 12:59:00 -0600"  >401 error message: &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7127&quot;&gt;http://www.couchbase.com/issues/browse/MB-7127&lt;/a&gt;</comment>
                    <comment id="43594" author="steve" created="Thu, 8 Nov 2012 13:49:14 -0600"  >alk suggests: try plugging in a usb external drive?</comment>
                    <comment id="43616" author="bcui" created="Thu, 8 Nov 2012 18:22:03 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22379/&quot;&gt;http://review.couchbase.org/#/c/22379/&lt;/a&gt;</comment>
                    <comment id="43703" author="steve" created="Fri, 9 Nov 2012 15:57:57 -0600"  >assigned to farshid as he has the macbook with hdd and can help validate this fix</comment>
                    <comment id="43723" author="bcui" created="Fri, 9 Nov 2012 19:47:53 -0600"  >When cbdocloader is launched, no REST user/password defined. So cbdocloader will sent REST requests without any credentials.&lt;br/&gt;
Later in main thread, REST user/password will be set through wizard and ns_server will honor it thereafter. &lt;br/&gt;
However, cbdocloader runs in a different process without REST user/password and it will get ERROR - &lt;a href=&quot;http://127.0.0.1:8091/nodes/self&quot;&gt;http://127.0.0.1:8091/nodes/self&lt;/a&gt; error 401 reason: unknown when trying to upload docs and design docs.&lt;br/&gt;
&lt;br/&gt;
It is a typical race condition.&lt;br/&gt;
</comment>
                    <comment id="43796" author="steve" created="Mon, 12 Nov 2012 11:53:41 -0600"  >so far, farshid&amp;#39;s computer is the only one that reproduces this.  ray&amp;#39;s other osx HDD computer does not reproduce this reliable (1 time out of many)&lt;br/&gt;
&lt;br/&gt;
looks like a design defect.&lt;br/&gt;
&lt;br/&gt;
bin has one more idea on reducing a sleep loop timeout from 1 sec down to subsecond.</comment>
                    <comment id="43797" author="farshid" created="Mon, 12 Nov 2012 11:57:55 -0600"  >this is a design issue and i think needs to be documented and fixed post 2.0&lt;br/&gt;
&lt;br/&gt;
the bucket creation and document loading phase should be displayed after the user enters the security credentials.&lt;br/&gt;
&lt;br/&gt;
Dipti could you take a look at this as well ?</comment>
                    <comment id="43805" author="steve" created="Mon, 12 Nov 2012 13:34:51 -0600"  >per bug-scrub mtg, moving to 2.0.1 as it works on Don&amp;#39;s computer and other systems.</comment>
                    <comment id="44782" author="steve" created="Mon, 26 Nov 2012 14:29:11 -0600"  >to 2.0.2 per bug-scrub.&lt;br/&gt;
&lt;br/&gt;
administrator user/password should be first in the wizard.</comment>
                    <comment id="45782" author="bcui" created="Mon, 10 Dec 2012 21:14:46 -0600"  >Assign to Alk for UI wizard change.</comment>
                    <comment id="45821" author="alkondratenko" created="Tue, 11 Dec 2012 12:00:29 -0600"  >Discussed with Bin and Steve. We&amp;#39;ll take care of this by either:&lt;br/&gt;
&lt;br/&gt;
* creating buckets synchronously and delaying actual docloading after wizard is done&lt;br/&gt;
&lt;br/&gt;
* waiting for docloader jobs before advancing to next wizard step</comment>
                    <comment id="45822" author="alkondratenko" created="Tue, 11 Dec 2012 12:00:30 -0600"  >Discussed with Bin and Steve. We&amp;#39;ll take care of this by either:&lt;br/&gt;
&lt;br/&gt;
* creating buckets synchronously and delaying actual docloading after wizard is done&lt;br/&gt;
&lt;br/&gt;
* waiting for docloader jobs before advancing to next wizard step</comment>
                </comments>
                    <attachments>
                    <attachment id="15708" name="ns-diag-20121105122450.txt.zip" size="246894" author="farshid" created="Mon, 5 Nov 2012 15:23:17 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 5 Nov 2012 14:09:49 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>390</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7177] lack of fsyncs in view engine may lead to silent index corruption</title>
                <link>http://www.couchbase.com/issues/browse/MB-7177</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ. Found out about this in discussion with Filipe about how views work.&lt;br/&gt;
&lt;br/&gt;
If I understood correctly it doesn&amp;#39;t fsync at all silently assuming that if there&amp;#39;s valid header, then preceding data is valid as well. Which is clearly not true.&lt;br/&gt;
&lt;br/&gt;
IMHO that&amp;#39;s a massive blocker that needs to be fixed sooner rather than later.</description>
                <environment></environment>
            <key id="20723">MB-7177</key>
            <summary>lack of fsyncs in view engine may lead to silent index corruption</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="yaseen">Rahim Yaseen</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Nov 2012 17:34:40 -0600</created>
                <updated>Fri, 4 Jan 2013 14:21:29 -0600</updated>
                                    <version>2.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>view-engine</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="44006" author="steve" created="Wed, 14 Nov 2012 13:28:37 -0600"  >bug-scrub -- assigned to yaseen</comment>
                    <comment id="44011" author="alkondratenko" created="Wed, 14 Nov 2012 13:50:18 -0600"  >Comment was made that this cannot be silent index corruption due to CRC-ing of all btree nodes. But my point still holds, we if there&amp;#39;s data corruption we&amp;#39;ll know at query time and people we&amp;#39;ll have to experience down time to manually rebuild index.</comment>
                    <comment id="44121" author="steve" created="Thu, 15 Nov 2012 13:14:58 -0600"  >per bug scrub</comment>
                    <comment id="44792" author="farshid" created="Mon, 26 Nov 2012 14:40:28 -0600"  >Deep and Iryna have tried a scenario where they rebooted the system and did not hit this issue.</comment>
                    <comment id="44793" author="steve" created="Mon, 26 Nov 2012 14:41:22 -0600"  >to .next per bug-scrub.&lt;br/&gt;
&lt;br/&gt;
QE reports that deep &amp;amp; iryna tried to reproduce this and couldn&amp;#39;t yet.</comment>
                    <comment id="44805" author="alkondratenko" created="Mon, 26 Nov 2012 16:39:32 -0600"  >It appears that move to .next was based on same old &amp;quot;we cannot reproduce&amp;quot; logic. It appears that we continue to under-prioritize IMHO important bugs merely because it&amp;#39;s hard to reproduce them.&lt;br/&gt;
&lt;br/&gt;
Because with that logic we&amp;#39;ll I&amp;#39;m sure will forever move it to next release. If we think we don&amp;#39;t need to that, IMHO it would be better to just close it.&lt;br/&gt;
</comment>
                    <comment id="47067" author="FilipeManana" created="Fri, 4 Jan 2013 08:45:09 -0600"  >Due to crc checks for every object written to a file (btree nodes), it won&amp;#39;t certainly be silent.</comment>
                    <comment id="47100" author="alkondratenko" created="Fri, 4 Jan 2013 14:18:50 -0600"  >I agree. My earlier comment above (based on your&amp;#39;s or Damien&amp;#39;s verbal comment) has same information.&lt;br/&gt;
&lt;br/&gt;
But not being silent doesn&amp;#39;t mean we can simply close it (or IMHO downgrade or forget it). Do we know what exactly will happen if querying or updating view will suddenly detect corrupted index file ?</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 14 Nov 2012 13:28:37 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3078</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6746] separate disk path for replica index (and individual design doc) disk path </title>
                <link>http://www.couchbase.com/issues/browse/MB-6746</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>On the UI and REST API to create a separate disk path for replica indexes (right under the replica index check box in the setup wizard) &lt;br/&gt;
&lt;br/&gt;
This will allow users to have better disk solution is replica index is used. &lt;br/&gt;
&lt;br/&gt;
In addition, add new rest APIs to enable a separate disk path for each design document (Not in the UI, only in REST) </description>
                <environment></environment>
            <key id="19915">MB-6746</key>
            <summary>separate disk path for replica index (and individual design doc) disk path </summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Sep 2012 14:05:47 -0500</created>
                <updated>Thu, 25 Oct 2012 14:44:50 -0500</updated>
                                    <version>2.0-beta</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="39930" author="alkondratenko" created="Fri, 28 Sep 2012 01:39:30 -0500"  >Dipti, this checkbox in setup wizard is for default bucket. Not cluster-wide setting.&lt;br/&gt;
&lt;br/&gt;
Also are you really sure we need this ? I mean raid0 for views looks even better from performance perspective.</comment>
                    <comment id="40357" author="alkondratenko" created="Thu, 4 Oct 2012 11:47:18 -0500"  >We discussed already that I can&amp;#39;t do that without more instructions.</comment>
                    <comment id="40691" author="peter" created="Mon, 8 Oct 2012 16:00:01 -0500"  >Change too invasive for 2.0</comment>
                    <comment id="42520" author="steve" created="Thu, 25 Oct 2012 14:44:50 -0500"  >alk would be a better assignee for this than peter</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 28 Sep 2012 01:39:30 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3124</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10050" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Sprint Priority</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5.0</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-6737] Complete and integrate file I/O NIF to improve couchdb-side latency and throughput</title>
                <link>http://www.couchbase.com/issues/browse/MB-6737</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ.</description>
                <environment></environment>
            <key id="19900">MB-6737</key>
            <summary>Complete and integrate file I/O NIF to improve couchdb-side latency and throughput</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Wed, 26 Sep 2012 05:52:36 -0500</created>
                <updated>Mon, 8 Apr 2013 18:59:35 -0500</updated>
                                    <version>1.8.1</version>
                <version>2.0</version>
                <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="39694" author="alkondratenko" created="Wed, 26 Sep 2012 07:22:58 -0500"  >Assigning to Dipti as requested</comment>
                    <comment id="39709" author="dipti" created="Wed, 26 Sep 2012 09:13:00 -0500"  >this is different from the cpu spinning on hibernate or sleep? correct? </comment>
                    <comment id="39715" author="alkondratenko" created="Wed, 26 Sep 2012 11:23:44 -0500"  >Correct thats even farther split.</comment>
                    <comment id="41577" author="dipti" created="Tue, 16 Oct 2012 19:02:36 -0500"  >how much work is this ? </comment>
                    <comment id="41578" author="alkondratenko" created="Tue, 16 Oct 2012 19:05:33 -0500"  >More than I thought initially. About 1-2 weeks.</comment>
                    <comment id="42521" author="steve" created="Thu, 25 Oct 2012 14:45:23 -0500"  >alk would be a better assignee for this than peter</comment>
                    <comment id="52156" author="dipti" created="Wed, 6 Mar 2013 15:52:51 -0600"  >Based on Aliaksey investigation, seems like using a file I/O NIF is the better approach to reduce the interference between ns_server and couchdb calls &lt;br/&gt;
&lt;br/&gt;
moving forward with this approach for 2.0.2. </comment>
                    <comment id="53424" author="maria" created="Mon, 25 Mar 2013 13:42:39 -0500"  >2.1 deliverable, not 2.0.2.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 26 Sep 2012 09:13:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>501</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6635] Crash in memcached&apos;s release_cookie</title>
                <link>http://www.couchbase.com/issues/browse/MB-6635</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>(I was having some crashes regularly for months already, but figured it wasn&amp;#39;t worth filing as QEs most likely found some of them as well. Pre-beta things are quite different)&lt;br/&gt;
&lt;br/&gt;
Just found core dump. Doing nothing. 16 cluster_run nodes. And 5 empty buckets.&lt;br/&gt;
&lt;br/&gt;
Here&amp;#39;s what backtrace shows me:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thread 26 (Thread 0xeccf9b70 (LWP 25048)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xeccf9b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 25 (Thread 0xeb4f6b70 (LWP 25164)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xeb4f6b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 24 (Thread 0xefcffb70 (LWP 24864)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xefcffb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 23 (Thread 0xe8cf1b70 (LWP 25289)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xe8cf1b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 22 (Thread 0xf36fab70 (LWP 24868)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e3687f in EventuallyPersistentEngine::notifyPendingConnections() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e369a2 in EvpNotifyPendingConns () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf7644c39 in start_thread (arg=0xf36fab70) at pthread_create.c:304&lt;br/&gt;
#5  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 21 (Thread 0xe9cf3b70 (LWP 25167)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xe9cf3b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 20 (Thread 0xe84f0b70 (LWP 25290)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xe84f0b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 19 (Thread 0xf1500b70 (LWP 24950)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xf1500b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 18 (Thread 0xed4fab70 (LWP 25047)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xed4fab70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 17 (Thread 0xebcf7b70 (LWP 25050)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e3687f in EventuallyPersistentEngine::notifyPendingConnections() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e369a2 in EvpNotifyPendingConns () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf7644c39 in start_thread (arg=0xebcf7b70) at pthread_create.c:304&lt;br/&gt;
#5  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 16 (Thread 0xee4fcb70 (LWP 24954)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e3687f in EventuallyPersistentEngine::notifyPendingConnections() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e369a2 in EvpNotifyPendingConns () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf7644c39 in start_thread (arg=0xee4fcb70) at pthread_create.c:304&lt;br/&gt;
#5  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 15 (Thread 0xf2502b70 (LWP 24866)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xf2502b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 14 (Thread 0xe94f2b70 (LWP 25168)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e3687f in EventuallyPersistentEngine::notifyPendingConnections() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e369a2 in EvpNotifyPendingConns () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf7644c39 in start_thread (arg=0xe94f2b70) at pthread_create.c:304&lt;br/&gt;
#5  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 13 (Thread 0xe7cefb70 (LWP 25291)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xe7cefb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 12 (Thread 0xeacf5b70 (LWP 25165)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xeacf5b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 11 (Thread 0xedcfbb70 (LWP 25046)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xedcfbb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 10 (Thread 0xea4f4b70 (LWP 25166)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xea4f4b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 9 (Thread 0xeecfdb70 (LWP 24953)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xeecfdb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 8 (Thread 0xf74e06c0 (LWP 23970)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf75a2fbb in write () at ../sysdeps/unix/syscall-template.S:82&lt;br/&gt;
#2  0xf754bff4 in _IO_new_file_write (f=0xf763b580, data=0xff82fad0, n=90) at fileops.c:1276&lt;br/&gt;
#3  0xf754bc7f in new_do_write (fp=0xf763b580, data=0xff82fad0 &amp;quot;Wed Sep 12 23:21:10.772212 3: Schedule cleanup of \&amp;quot;eq_tapq:&lt;a href=&apos;mailto:replication_n_14@10.17.22.233&apos;&gt;replication_n_14@10.17.22.233&lt;/a&gt;\&amp;quot;\n&amp;quot;, to_do=90) at fileops.c:530&lt;br/&gt;
#4  0xf754bf46 in _IO_new_file_xsputn (f=0xf763b580, data=0xff82fad0, n=90) at fileops.c:1370&lt;br/&gt;
#5  0xf75415b0 in *__GI__IO_fputs (str=str@entry=0xff82fad0 &amp;quot;Wed Sep 12 23:21:10.772212 3: Schedule cleanup of \&amp;quot;eq_tapq:&lt;a href=&apos;mailto:replication_n_14@10.17.22.233&apos;&gt;replication_n_14@10.17.22.233&lt;/a&gt;\&amp;quot;\n&amp;quot;, fp=0xf763b580) at iofputs.c:42&lt;br/&gt;
#6  0xf76f5521 in logger_log (severity=EXTENSION_LOG_WARNING, client_cookie=0x0, fmt=0xf2eca190 &amp;quot;Schedule cleanup of \&amp;quot;%s\&amp;quot;&amp;quot;) at extensions/loggers/file_logger.c:268&lt;br/&gt;
#7  0xf2e7388e in TapConnMap::shutdownAllTapConnections() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#8  0xf2e3a1be in EvpDestroy () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#9  0xf609d5fa in bucket_shutdown_engine (key=0xf0000de8, nkey=4, val=0xf0000b78, nval=0, args=0x0) at bucket_engine.c:1290&lt;br/&gt;
#10 0xf60a30b9 in genhash_iter (h=0xb9d5d80, iterfunc=iterfunc@entry=0xf609d5a0 &amp;lt;bucket_shutdown_engine&amp;gt;, arg=arg@entry=0x0) at genhash.c:275&lt;br/&gt;
#11 0xf60a1f42 in bucket_destroy (handle=0xf60a6960, force=&amp;lt;optimized out&amp;gt;) at bucket_engine.c:1327&lt;br/&gt;
#12 bucket_destroy (handle=0xf60a6960, force=false) at bucket_engine.c:1307&lt;br/&gt;
#13 0x0804be30 in main (argc=21, argv=0xff831b34) at daemon/memcached.c:7923&lt;br/&gt;
&lt;br/&gt;
Thread 7 (Thread 0xec4f8b70 (LWP 25049)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xec4f8b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 6 (Thread 0xf1d01b70 (LWP 24867)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xf1d01b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 5 (Thread 0xf2d03b70 (LWP 24865)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xf2d03b70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 4 (Thread 0xef4feb70 (LWP 24952)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xef4feb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 3 (Thread 0xf0cffb70 (LWP 24951)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf2e16e8c in IdleTask::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#3  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#4  0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#5  0xf7644c39 in start_thread (arg=0xf0cffb70) at pthread_create.c:304&lt;br/&gt;
#6  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 2 (Thread 0xf68dcb70 (LWP 23985)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf7649703 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236&lt;br/&gt;
#2  0xf76f5864 in logger_thead_main (arg=0x8ef4e40) at extensions/loggers/file_logger.c:361&lt;br/&gt;
#3  0xf7644c39 in start_thread (arg=0xf68dcb70) at pthread_create.c:304&lt;br/&gt;
#4  0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
Thread 1 (Thread 0xe74eeb70 (LWP 25292)):&lt;br/&gt;
#0  0xf7700430 in __kernel_vsyscall ()&lt;br/&gt;
#1  0xf750c941 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64&lt;br/&gt;
#2  0xf750fd72 in *__GI_abort () at abort.c:92&lt;br/&gt;
#3  0x0804da3c in release_cookie (cookie=0xb806b68) at daemon/memcached.c:6693&lt;br/&gt;
#4  0xf60a0252 in bucket_engine_release_cookie (cookie=0xb806b68) at bucket_engine.c:2565&lt;br/&gt;
#5  0xf2e36234 in EventuallyPersistentEngine::releaseCookie(void const*) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#6  0xf2e64e6b in TapConnection::releaseReference(bool) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#7  0xf2e77adb in TapConnectionReaperCallback::callback(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#8  0xf2e1b9f2 in Task::run(Dispatcher&amp;amp;, SingleThreadedRCPtr&amp;lt;Task&amp;gt;&amp;amp;) () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#9  0xf2e1a104 in Dispatcher::run() () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#10 0xf2e1b91a in launch_dispatcher_thread () from /root/src/altoros/moxi/repo20/install/lib/memcached/ep.so&lt;br/&gt;
#11 0xf7644c39 in start_thread (arg=0xe74eeb70) at pthread_create.c:304&lt;br/&gt;
#12 0xf75b223e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130&lt;br/&gt;
&lt;br/&gt;
and extra stuff:&lt;br/&gt;
&lt;br/&gt;
(gdb) p thr&lt;br/&gt;
$1 = (LIBEVENT_THREAD *) 0xb9ec624&lt;br/&gt;
(gdb) p *thr&lt;br/&gt;
$2 = {thread_id = 4100967280, base = 0xb9ed828, notify_event = {ev_active_next = {tqe_next = 0x0, tqe_prev = 0xb9edb38}, ev_next = {tqe_next = 0xb9ca8d0, tqe_prev = 0xb9ed8fc}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff, tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 24, ev_base = 0xb9ed828, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0xb9edbd0}, ev_timeout = {tv_sec = 0, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0xb9edbd0}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 18, ev_res = 2, ev_flags = 128, ev_pri = 0 &amp;#39;\000&amp;#39;, ev_closure = 2 &amp;#39;\002&amp;#39;, ev_timeout = {tv_sec = 0, tv_usec = 0}, ev_callback = 0x805b280 &amp;lt;thread_libevent_process&amp;gt;, ev_arg = 0xb9ec624}, notify = {24, 25}, new_conn_queue = 0xb9edbe0, suffix_cache = 0xb9edc38, mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 376, __nusers = 80, {__spins = 61, __list = {__next = 0x3d}}}, __size = &amp;#39;\000&amp;#39; &amp;lt;repeats 12 times&amp;gt;, &amp;quot;x\001\000\000P\000\000\000=\000\000&amp;quot;, __align = 0}, is_locked = 61, pending_io = 0x1, index = 1885431122, type = 543649385, last_checked = 544235892}&lt;br/&gt;
(gdb) l&lt;br/&gt;
6688	    conn *c = (conn *)cookie;&lt;br/&gt;
6689	    assert(c);&lt;br/&gt;
6690	&lt;br/&gt;
6691	    LIBEVENT_THREAD *thr = c-&amp;gt;thread;&lt;br/&gt;
6692	    assert(thr);&lt;br/&gt;
6693	    LOCK_THREAD(thr);&lt;br/&gt;
6694	    --c-&amp;gt;refcount;&lt;br/&gt;
6695	&lt;br/&gt;
6696	    /* Releasing the refererence to the object may cause it to change&lt;br/&gt;
6697	     * state. (NOTE: the release call shall never be called from the&lt;br/&gt;
(gdb) p *c&lt;br/&gt;
$3 = {sfd = 254, nevents = 0, sasl_conn = 0xf0205fa8, state = 0x805aa40 &amp;lt;conn_ship_log&amp;gt;, substate = bin_reading_packet, registered_in_libevent = true, event = {ev_active_next = {tqe_next = 0xb7fdf20, tqe_prev = 0xb9edb38}, ev_next = {tqe_next = 0xb7fdf20, tqe_prev = 0xb9ed8fc}, ev_timeout_pos = {ev_next_with_common_timeout = {tqe_next = 0xffffffff, tqe_prev = 0x0}, min_heap_idx = -1}, ev_fd = 254, ev_base = 0xb9ed828, _ev = {ev_io = {ev_io_next = {tqe_next = 0x0, tqe_prev = 0xf0205f28}, ev_timeout = {tv_sec = 0, tv_usec = 0}}, ev_signal = {ev_signal_next = {tqe_next = 0x0, tqe_prev = 0xf0205f28}, ev_ncalls = 0, ev_pncalls = 0x0}}, ev_events = 18, ev_res = 0, ev_flags = 128, ev_pri = 0 &amp;#39;\000&amp;#39;, ev_closure = 2 &amp;#39;\002&amp;#39;, ev_timeout = {tv_sec = 0, tv_usec = 0}, ev_callback = 0x804f700 &amp;lt;event_handler&amp;gt;, ev_arg = 0xb806b68}, ev_flags = 18, which = 4, rbuf = 0xb806d48 &amp;quot;\201F&amp;quot;, rcurr = 0xb806df0 &amp;quot;&amp;quot;, rsize = 2048, rbytes = 0, wbuf = 0xb807550 &amp;quot;\200\n&amp;quot;, wcurr = 0xb807550 &amp;quot;\200\n&amp;quot;, wsize = 2048, wbytes = 1992, write_and_go = 0x805aa40 &amp;lt;conn_ship_log&amp;gt;, write_and_free = 0x0, ritem = 0xb806df0 &amp;quot;&amp;quot;, rlbytes = 0, item = 0x0, store_op = 0, sbytes = 0, iov = 0xb8080d8, iovsize = 400, iovused = 0, msglist = 0xb808d60, msgsize = 10, msgused = 1, msgcurr = 0, msgbytes = 0, ilist = 0xb807d58, isize = 200, icurr = 0xb807d58, ileft = 0, suffixlist = 0xb808080, suffixsize = 20, suffixcurr = 0xb808080, suffixleft = 0, protocol = binary_prot, transport = tcp_transport, request_id = 0, request_addr = {ss_family = 0, __ss_align = 0, __ss_padding = &amp;#39;\000&amp;#39; &amp;lt;repeats 119 times&amp;gt;}, request_addr_size = 0, hdrbuf = 0x0, hdrsize = 0, noreply = false, refcount = 2 &amp;#39;\002&amp;#39;, dynamic_buffer = {buffer = 0x0, size = 0, offset = 0}, engine_storage = 0xf0205f38, ascii_cmd = 0x0, binary_header = {request = {magic = 129 &amp;#39;\201&amp;#39;, opcode = 70 &amp;#39;F&amp;#39;, keylen = 0, extlen = 0 &amp;#39;\000&amp;#39;, datatype = 0 &amp;#39;\000&amp;#39;, vbucket = 0, bodylen = 0, opaque = 654311424, cas = 0}, bytes = &amp;quot;\201F&amp;quot;, &amp;#39;\000&amp;#39; &amp;lt;repeats 13 times&amp;gt;, &amp;quot;&amp;#39;\000\000\000\000\000\000\000&amp;quot;}, cas = 0, cmd = 70, opaque = 654311424, keylen = 0, list_state = 0, next = 0x0, thread = 0xb9ec624, aiostat = ENGINE_SUCCESS, ewouldblock = true, tap_iterator = 0xf609ea80 &amp;lt;bucket_tap_iterator_shim&amp;gt;, parent_port = 11999}&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="19730">MB-6635</key>
            <summary>Crash in memcached&apos;s release_cookie</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="trond">Trond Norbye</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>system-test</label>
                    </labels>
                <created>Wed, 12 Sep 2012 18:27:56 -0500</created>
                <updated>Tue, 30 Oct 2012 10:23:55 -0500</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>bucket-engine</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="38759" author="trond" created="Thu, 13 Sep 2012 14:28:58 -0500"  >Too bad you didn&amp;#39;t report it earlier.. this is the first time i&amp;#39;ve heard about it... I&amp;#39;ll try to figure out why..</comment>
                    <comment id="41177" author="dipti" created="Thu, 11 Oct 2012 16:36:28 -0500"  >being investigated </comment>
                    <comment id="41421" author="farshid" created="Mon, 15 Oct 2012 19:56:46 -0500"  >moving this to .next as it has not been seen/reported anymore.&lt;br/&gt;
&lt;br/&gt;
Alk,&lt;br/&gt;
please update the ticket if you see this issue again</comment>
                    <comment id="41424" author="alkondratenko" created="Mon, 15 Oct 2012 19:59:16 -0500"  >I&amp;#39;m continuing seeing this all the time. Tends to happen when I Ctrl-C cluster_run thing and memcached dies through unusual code path. I.e. from perspective of memcached ns_server just goes away without notice. I don&amp;#39;t think QE are testing this different path. </comment>
                    <comment id="41428" author="farshid" created="Mon, 15 Oct 2012 20:02:47 -0500"  >ok keeping this in 2.0 . Trond is the fix on gerrit ?</comment>
                    <comment id="41733" author="karan" created="Wed, 17 Oct 2012 19:35:33 -0500"  >Hitting the issue again on build 1862&lt;br/&gt;
&lt;a href=&quot;https://friendpaste.com/2RoA2uswrK1WgTtjDNrQei&quot;&gt;https://friendpaste.com/2RoA2uswrK1WgTtjDNrQei&lt;/a&gt;</comment>
                    <comment id="41735" author="alkondratenko" created="Wed, 17 Oct 2012 19:38:33 -0500"  >Latest crash seems quite a different type of race. I think filing new bug and assigning on ep-engine team would make most sense.</comment>
                    <comment id="42630" author="farshid" created="Fri, 26 Oct 2012 15:55:56 -0500"  >Farshid asked Tony to reproduce and open a new bug if this occurs again</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 13 Sep 2012 14:28:58 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1995</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6527] Tools to Index and compact database/indexes when the server is offline</title>
                <link>http://www.couchbase.com/issues/browse/MB-6527</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>This is from the supportability point of view. &lt;br/&gt;
If for whatever reason customer bring their nodes down, eg. maintenance etc. &lt;br/&gt;
&lt;br/&gt;
When they bring the node back up, hopefully we have all the compaction/indexing finished for that particular node. &lt;br/&gt;
&lt;br/&gt;
We need a way to index and compact data (database and index) if possible when the nodes are offline. </description>
                <environment></environment>
            <key id="19580">MB-6527</key>
            <summary>Tools to Index and compact database/indexes when the server is offline</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="dipti">Dipti Borkar</assignee>
                                <reporter username="karan">Karan Kumar</reporter>
                        <labels>
                        <label>system-test</label>
                    </labels>
                <created>Wed, 5 Sep 2012 16:26:06 -0500</created>
                <updated>Mon, 8 Oct 2012 13:57:13 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>storage-engine</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3140</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-6450] Finalize doc editing API and implementation</title>
                <link>http://www.couchbase.com/issues/browse/MB-6450</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>We need to:&lt;br/&gt;
&lt;br/&gt;
* avoid loading and displaying blobs on UI&lt;br/&gt;
&lt;br/&gt;
* avoid seeing deleted docs&lt;br/&gt;
&lt;br/&gt;
* handle warmup, node being down in REST API implementation and UI&lt;br/&gt;
</description>
                <environment></environment>
            <key id="19394">MB-6450</key>
            <summary>Finalize doc editing API and implementation</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Aug 2012 16:42:40 -0500</created>
                <updated>Wed, 3 Oct 2012 15:31:02 -0500</updated>
                                    <version>2.0-beta</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3146</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6203] delete bucket waiting is raceful</title>
                <link>http://www.couchbase.com/issues/browse/MB-6203</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ.&lt;br/&gt;
&lt;br/&gt;
First we delete bucket in config and _then_ we wait for bucket events until we see bucket is deleted on all nodes. If bucket event(s) fire before we subscribe we&amp;#39;ll timeout.&lt;br/&gt;
&lt;br/&gt;
I think new implementation should use active polling for pre-2.0 compat mode and new janitor_agent call for 2.0+ mode.</description>
                <environment></environment>
            <key id="18982">MB-6203</key>
            <summary>delete bucket waiting is raceful</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Sat, 11 Aug 2012 21:20:36 -0500</created>
                <updated>Tue, 16 Oct 2012 19:00:39 -0500</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="41568" author="dipti" created="Tue, 16 Oct 2012 18:57:13 -0500"  >what is the impact on the race condition? </comment>
                    <comment id="41572" author="alkondratenko" created="Tue, 16 Oct 2012 19:00:39 -0500"  >Delete bucket will have a timeout while actually succeeding</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 16 Oct 2012 18:57:13 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3159</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-6172] XDCR: High CPU utilization on destination nodes</title>
                <link>http://www.couchbase.com/issues/browse/MB-6172</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Regardless cluster configuration CPU utilization on destination nodes is too high during initial replication.&lt;br/&gt;
Source cluster looks pretty idle at the same time.&lt;br/&gt;
&lt;br/&gt;
See for details:&lt;br/&gt;
&lt;a href=&quot;https://www.yammer.com/couchbase.com/#/Threads/show?threadId=200784413&quot;&gt;https://www.yammer.com/couchbase.com/#/Threads/show?threadId=200784413&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdElKVEhla2NqTFJWdkpkcHFybGgtR3c#gid=4&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdElKVEhla2NqTFJWdkpkcHFybGgtR3c#gid=4&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Build 1550.</description>
                <environment>CentOS 6.2, virtual clusters (1-to-1, 2-to-2, 4-to-4 nodes, 24GB RAM, 4 cores)</environment>
            <key id="18928">MB-6172</key>
            <summary>XDCR: High CPU utilization on destination nodes</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="junyi">Junyi Xie</assignee>
                                <reporter username="pavelpaulau">Pavel Paulau</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Aug 2012 13:12:14 -0500</created>
                <updated>Wed, 7 Nov 2012 18:24:14 -0600</updated>
                                    <version>2.0-beta-2</version>
                                <fixVersion>.next</fixVersion>
                                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="36371" author="junyi" created="Tue, 21 Aug 2012 17:55:21 -0500"  >With latest change, Ketaki saw in her test ( 3 source nodes -&amp;gt; 5 dest nodes) 50-60% CPU on destination clusters, without views/indexes running on this cluster, no additional load on this system. &lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="39611" author="pavelpaulau" created="Tue, 25 Sep 2012 17:31:18 -0500"  >It&amp;#39;s still rather high in two cases:&lt;br/&gt;
-- initial bidir replication&lt;br/&gt;
-- initial unidir replication with 2 buckets and 2 replication streams&lt;br/&gt;
&lt;br/&gt;
All other cases are fine.</comment>
                    <comment id="39899" author="junyi" created="Thu, 27 Sep 2012 18:16:34 -0500"  >Pavel, with latest fix merged, do you still see the issue? Please try the build 1778 or later. </comment>
                    <comment id="39945" author="pavelpaulau" created="Fri, 28 Sep 2012 11:27:40 -0500"  >The simplest experiment:&lt;br/&gt;
-- 2 physical nodes as source, 2 physical nodes as destination. Both have ssd drives.&lt;br/&gt;
-- Load 10M x 2K items (lite DGM)&lt;br/&gt;
-- Start replication.&lt;br/&gt;
&lt;br/&gt;
~9K new items/sec. Build 1779.</comment>
                    <comment id="40161" author="junyi" created="Tue, 2 Oct 2012 16:31:17 -0500"  >Can you please test it with latest build?  From your post on Yammer seems the CPU usage is OK at destination given high front-end workload.</comment>
                    <comment id="40179" author="junyi" created="Tue, 2 Oct 2012 19:27:34 -0500"  >From Pavel&amp;#39;s tests on Yammer, the CPU usage is 60-70% &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://www.yammer.com/couchbase.com/#/inbox/show?threadId=218452800&quot;&gt;https://www.yammer.com/couchbase.com/#/inbox/show?threadId=218452800&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdE5FOGNuRzgzNFNvZnZQeXBqaFBDTmc#gid=4&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdE5FOGNuRzgzNFNvZnZQeXBqaFBDTmc#gid=4&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="40351" author="pavelpaulau" created="Thu, 4 Oct 2012 10:30:52 -0500"  >Opening it again.&lt;br/&gt;
&lt;br/&gt;
Frankly speaking 60-70% for initial unidirectional replication w/o front-end load, views and rebalance is too much.&lt;br/&gt;
Also take look at this chart:&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdFVPRnBlUEpqSzZSOUg1TmRRcDl5RUE#gid=8&quot;&gt;https://docs.google.com/spreadsheet/ccc?key=0AgLUessE73UXdFVPRnBlUEpqSzZSOUg1TmRRcDl5RUE#gid=8&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Sounds like regression. Even if this is .next candidate we should not close.</comment>
                    <comment id="40394" author="junyi" created="Thu, 4 Oct 2012 13:56:59 -0500"  >Is it a regression? What is the CPU usage you observed in previous build? I am under impression it is never less than 60-70%. &lt;br/&gt;
&lt;br/&gt;
Note XDCR requires at least 3 ops per item at destination side.  For a similar cluster without XDCR,  if you apply a front-end workload which is 3 times the XDCR rate, what is the CPU usage? They should be comparable. &lt;br/&gt;
</comment>
                    <comment id="40402" author="junyi" created="Thu, 4 Oct 2012 14:14:16 -0500"  >Just looked at the charts, actually the replication rate improves a from 4.5K to &amp;gt;7K (&amp;gt; 50% improvement) in bidir-XDCR , that explains why we see higher CPU usage. </comment>
                    <comment id="40651" author="junyi" created="Mon, 8 Oct 2012 13:20:41 -0500"  >Based on discussion with Pavel, and test results from Ketaki, it is ok to have current CPU usage and we will not try to further improve it in 2.0.</comment>
                    <comment id="42813" author="farshid" created="Mon, 29 Oct 2012 17:25:03 -0500"  >this bug was deferred for 2.0 . reopening so that we will make some performance improvements beyond 2.0</comment>
                    <comment id="43524" author="junyi" created="Wed, 7 Nov 2012 18:24:14 -0600"  >Since we will address this issue post-.2.0, it should be a blocker to performance team. </comment>
                </comments>
                    <attachments>
                    <attachment id="15194" name="1779_2_nodes_dest.png" size="40164" author="pavelpaulau" created="Fri, 28 Sep 2012 11:27:40 -0500" />
                    <attachment id="15195" name="1779_2_nodes_src.png" size="58449" author="pavelpaulau" created="Fri, 28 Sep 2012 11:27:40 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 21 Aug 2012 17:55:21 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3161</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-5622] Crash of master node may lead to autofailover in 2 minutes instead of configured shorter autofailover period</title>
                <link>http://www.couchbase.com/issues/browse/MB-5622</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>SUBJ. That&amp;#39;s remaining reason why autofailover may still require 2 minutes even with quick failover code. Fixing it however is not quite trivial.</description>
                <environment></environment>
            <key id="17910">MB-5622</key>
            <summary>Crash of master node may lead to autofailover in 2 minutes instead of configured shorter autofailover period</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jun 2012 17:19:17 -0500</created>
                <updated>Wed, 3 Oct 2012 16:20:57 -0500</updated>
                                    <version>2.0-beta</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3183</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-5552] Get unit tests running on windows</title>
                <link>http://www.couchbase.com/issues/browse/MB-5552</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="17769">MB-5552</key>
            <summary>Get unit tests running on windows</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="siri">Sriram Melkote</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                        <label>windows</label>
                    </labels>
                <created>Wed, 13 Jun 2012 14:50:56 -0500</created>
                <updated>Tue, 26 Feb 2013 15:26:28 -0600</updated>
                                    <version>2.0-developer-preview-4</version>
                                <fixVersion>.next</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="31508" author="peter" created="Thu, 28 Jun 2012 12:37:19 -0500"  >Can you update the affects and fixed version and if you know this is a current or next sprint item, the sprint status as well? Thank you.</comment>
                    <comment id="41132" author="mikew" created="Thu, 11 Oct 2012 12:17:14 -0500"  >This requires our memcached tests to run on windows first since ep-engine uses engine_testapp.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 28 Jun 2012 12:37:19 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3201</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-5430] public api to delete index files</title>
                <link>http://www.couchbase.com/issues/browse/MB-5430</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>In the case that index becomes corrupted, or contains duplicate, inconsistent, or invalid results, it would be great to delete them so that couch can rebuild.&lt;br/&gt;
Motivation: &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-5429&quot; title=&quot;dp4 - dupe keys in view_merge result&quot;&gt;&lt;strike&gt;MB-5429&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
We need this functionality for a better implementation of flush. However , not a blocker. &lt;br/&gt;
</description>
                <environment></environment>
            <key id="17484">MB-5430</key>
            <summary>public api to delete index files</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="FilipeManana">Filipe Manana</assignee>
                                <reporter username="tommie">Tommie McAfee</reporter>
                        <labels>
                        <label>2.0.1-candidate</label>
                    </labels>
                <created>Fri, 1 Jun 2012 20:25:19 -0500</created>
                <updated>Tue, 16 Oct 2012 18:47:23 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                <component>view-engine</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="28972" author="alkondratenko" created="Wed, 6 Jun 2012 12:31:15 -0500"  >Filipe, please advise best way how ns_server can do that and assign back to me</comment>
                    <comment id="29010" author="FilipeManana" created="Wed, 6 Jun 2012 17:08:11 -0500"  >I&amp;#39;ll have to add a public Erlang API for ns_server to call. Should be simple.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Jun 2012 12:31:15 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3198</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-4975] behavior when running out of disk space should be TMPOOM</title>
                <link>http://www.couchbase.com/issues/browse/MB-4975</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>(updated by alk: I cannot fix top posting but I took out some names out from this)&lt;br/&gt;
&lt;br/&gt;
Set up a node, fill the filesystem, watch processes run but see memcached take connections and just fail to respond.&lt;br/&gt;
&lt;br/&gt;
Also, set up a node, stop Couchbase.  Fill the filesystem.  Start Couchbase.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
On Wed, Mar 28, 2012 at 5:07 PM, Sharon Barr &amp;lt;XXXX&amp;gt; wrote:&lt;br/&gt;
&lt;br/&gt;
Unix is more mature then Couchbase at the edge cases. we are getting there.. or trying NOT to get there at all (another alternative..).&lt;br/&gt;
&lt;br/&gt;
From: Matt Ingenthron&lt;br/&gt;
Sent: Wednesday, March 28, 2012 8:04 AM&lt;br/&gt;
To: Frank Weigel; Perry Krug; Dipti Borkar&lt;br/&gt;
Cc: Sharon Barr; Alex Ma; support-internal&lt;br/&gt;
&lt;br/&gt;
Subject: Re: YYYY having issues&lt;br/&gt;
&lt;br/&gt;
Incidentally, while testing the hotfix for AAAA with TMP_OOM, I accidentally ran my CentOS out of disk.  The OS is running happily and so are our processes, but moxi is just returning errors and the memcached process isn&amp;#39;t responding to stats requests.&lt;br/&gt;
&lt;br/&gt;
There is still free memory available, but happily we&amp;#39;ve (kinda) lived within our quota.  Confusingly the quota is set to 512MByte, but the resident memory size of memcached is only 445MByte.  The virtual size is larger, but it&amp;#39;s likely not tried to allocate.&lt;br/&gt;
&lt;br/&gt;
So at least this UNIX-like OS is fine when out of disk.&lt;br/&gt;
&lt;br/&gt;
Matt&lt;br/&gt;
&lt;br/&gt;
On 3/27/12 9:55 PM, &amp;quot;Frank Weigel&amp;quot; &amp;lt;XXXXXX&amp;gt; wrote:&lt;br/&gt;
&lt;br/&gt;
In principal agree, but if this is the only disk, UNIX doesn&amp;#39;t do well when entirely out of disk AFAIK, so we may need to do this when poor man&amp;#39;s disk alert kicks in?&lt;br/&gt;
&lt;br/&gt;
That&amp;#39;s a myth.  Only buggy UNIXes (or UNIX-like OSs) don&amp;#39;t do well there.  I&amp;#39;ve worked with many a UNIX that is perfectly fine with a full disk.*&lt;br/&gt;
&lt;br/&gt;
I agree with Perry that it should end in TMP_OOM.  We should leave ourselves some memory of course (since we need to receive the packet to respond with TMP_OOM), but there is no reason why this is not doable.  It&amp;#39;s simply a matter of writing and testing the software.&lt;br/&gt;
&lt;br/&gt;
Matt&lt;br/&gt;
&lt;br/&gt;
* the myth came from BSD that way, way, way back when required 2x the swap possible per process&amp;#39;s memory to keep going.  that &amp;quot;2x&amp;quot; is another myth that seems to keep perpetuating.&lt;br/&gt;
&lt;br/&gt;
From: Perry Krug &amp;lt;XXX&amp;gt;&lt;br/&gt;
Date: Tue, 27 Mar 2012 02:27:01 -0700&lt;br/&gt;
To: Frank Weigel &amp;lt;XXX&amp;gt;&lt;br/&gt;
Cc: (skipped)&lt;br/&gt;
Subject: Re: YYYYY having issues&lt;br/&gt;
&lt;br/&gt;
Can we please actually do something about this in the code so that the entire server doesn&amp;#39;t just crash?  We should start sending tmp_oom or something as soon as we detect that we are unable to write to disk.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
From: Sharon Barr &amp;lt;xxX&amp;gt;&lt;br/&gt;
Date: Mon, 26 Mar 2012 17:11:58 -0700&lt;br/&gt;
To: Alex Ma &amp;lt;XXX&amp;gt;, Perry Krug &amp;lt;xXX&amp;gt;&lt;br/&gt;
Cc: skipped&lt;br/&gt;
Subject: RE: YYYYY having issues&lt;br/&gt;
&lt;br/&gt;
Apparently they run out of disk space on all nodes..&lt;br/&gt;
</description>
                <environment></environment>
            <key id="16425">MB-4975</key>
            <summary>behavior when running out of disk space should be TMPOOM</summary>
                <type id="7" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task_agile.png">Technical task</type>
                    <parent id="23630">MB-8067</parent>
                        <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="steve">Steve Yen</reporter>
                        <labels>
                        <label>customer</label>
                        <label>supportability</label>
                    </labels>
                <created>Thu, 29 Mar 2012 14:01:39 -0500</created>
                <updated>Wed, 10 Apr 2013 15:25:27 -0500</updated>
                                    <version>2.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>1</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="32153" author="peter" created="Thu, 5 Jul 2012 20:19:40 -0500"  >This issue cannot be addressed in the 2.0 timeframe. Deferred to .next for now.</comment>
                    <comment id="39080" author="chiyoung" created="Fri, 14 Sep 2012 20:03:04 -0500"  >Assign it back to me as Liang will work on the ns-server for the time being.</comment>
                    <comment id="45956" author="perry" created="Thu, 13 Dec 2012 06:08:14 -0600"  >Raising the awareness of this bug.&lt;br/&gt;
&lt;br/&gt;
We have had numerous occasions where a full disk has caused a total cluster collapse, corruption on a node and various other problems.&lt;br/&gt;
&lt;br/&gt;
The biggest source of pain is when the configuration partition fills up and ns_server can&amp;#39;t successfully write the config/stats/etc out.  This causes very strange and unpredictable behavior like the node becoming zombied (beam.smp not able to shut down, etc) as well as the rest of the cluster not being able to fail it over or communicate.&lt;br/&gt;
&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 5 Jul 2012 20:19:40 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2824</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                        </customfields>
    </item>

<item>
            <title>[MB-4840] hotfix release should reflect the change(version#) on the web console</title>
                <link>http://www.couchbase.com/issues/browse/MB-4840</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="16212">MB-4840</key>
            <summary>hotfix release should reflect the change(version#) on the web console</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="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="wayne">Wayne Siu</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Feb 2012 17:50:44 -0600</created>
                <updated>Wed, 17 Apr 2013 18:04:43 -0500</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>build</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="51995" author="plabee" created="Mon, 4 Mar 2013 19:54:52 -0600"  >When a hotfix is generated, capture the manifest.xml file from the build.  Diff with the GA manifest and update the installed manifest by appending with new commit info.</comment>
                    <comment id="53060" author="steve" created="Mon, 18 Mar 2013 19:13:55 -0500"  >Related to this, need to update the hotfix creation procedures / docs.</comment>
                    <comment id="53063" author="steve" created="Mon, 18 Mar 2013 19:25:17 -0500"  >Also, easier to wait for the next hotfix before updating this.</comment>
                    <comment id="55418" author="plabee" created="Wed, 17 Apr 2013 18:04:43 -0500"  >I need the diagnostic info that customers send to support, the one that includes the manifest.xml file.&lt;br/&gt;
&lt;br/&gt;
If the customer ran the  update.sh script the manifest.xml should have been updated in a way that is reflected in the diagnostic info.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;d also like general feedback on the hot-fix installation process, as I am trying to make it easier and more reliable.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 4 Mar 2013 19:54:52 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>431</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-4785] Meaningful alert when low-level packet corruption on node</title>
                <link>http://www.couchbase.com/issues/browse/MB-4785</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Logs showed that some low-level corruption in network data was apparent. Symptom is that nodes are going up and down. Not clear in the UI that this is happening only on 2 nodes. Not clear in UI that it&amp;#39;s low-level corruption. Not clear that these nodes are consistently having a problem, and need to be failed over. No info bubbles up about why the node flaps up and down, or how to report this up to data center or Amazon (in this case on EC2).&lt;br/&gt;
&lt;br/&gt;
Need a clear alert to user, suggesting to fail over a troublesome node. Ideal to have concrete examples of the corrupt data to pass on to data center ops.</description>
                <environment>See &lt;a href=&quot;http://www.couchbase.com/issues/browse/CBSE-101&quot;&gt;http://www.couchbase.com/issues/browse/CBSE-101&lt;/a&gt; for complete details</environment>
            <key id="16119">MB-4785</key>
            <summary>Meaningful alert when low-level packet corruption on node</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Feb 2012 18:21:32 -0600</created>
                <updated>Thu, 20 Sep 2012 02:17:07 -0500</updated>
                                    <version>1.7.2</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                <component>UI</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="24305" author="alkondratenko" created="Wed, 8 Feb 2012 18:30:07 -0600"  >are you sure this is really critical ?</comment>
                    <comment id="24306" author="TimSmith" created="Wed, 8 Feb 2012 18:38:21 -0600"  >My priority calibration may be off here. It is OK for product management or whoever to re-triage this request based on a larger picture of priorities.&lt;br/&gt;
&lt;br/&gt;
Tim</comment>
                    <comment id="24307" author="farshid" created="Wed, 8 Feb 2012 19:28:36 -0600"  >I would actually rephrase this bug saying that the node status should become red when nss_server detects a corruption during send/receive and change the issue type from enhancement into a bug.&lt;br/&gt;
&lt;br/&gt;
and the fact this happened in ec2 environment makes it more important</comment>
                    <comment id="33597" author="peter" created="Thu, 19 Jul 2012 16:10:37 -0500"  >Maybe this has been resolved because of recent infinity fixes in Erlang</comment>
                    <comment id="38083" author="alkondratenko" created="Fri, 7 Sep 2012 18:08:05 -0500"  >Not fixed.&lt;br/&gt;
&lt;br/&gt;
We indeed think we&amp;#39;ve fixed cause of this.&lt;br/&gt;
&lt;br/&gt;
But if this happens again, only thing we&amp;#39;ll see is node being red for a moment in UI.&lt;br/&gt;
&lt;br/&gt;
Unfortunately erlang doesn&amp;#39;t provide us a way to monitor and react on this particular condition. It&amp;#39;ll be just disconnect and you cannot know why.&lt;br/&gt;
&lt;br/&gt;
So only way to fix seems to be extending erlang&amp;#39;s vm.</comment>
                    <comment id="39385" author="alkondratenko" created="Thu, 20 Sep 2012 02:11:13 -0500"  >We haven&amp;#39;t fixed it.&lt;br/&gt;
&lt;br/&gt;
We think we _have_ fixed CBSE-whatever by working around some unknown subtle bug in infinity trapping via signals that&amp;#39;s specific to Linux on EC2 (or any linux or any xen, we don&amp;#39;t know).&lt;br/&gt;
&lt;br/&gt;
This particular request is to make this condition when low-level erlang code detects packet corruption and disconnects pair of nodes _visible to end user_. Via alert particularly. It makes sense to me.&lt;br/&gt;
&lt;br/&gt;
Regarding what Farshid said. We _do_ mark node as red, but next second we re-establish connection and things work again, until this happens next time.&lt;br/&gt;
</comment>
                    <comment id="39386" author="alkondratenko" created="Thu, 20 Sep 2012 02:16:58 -0500"  >Also I think we can fix it, but in not necessarily future-proof and pleasant way. We can grep log message that erlang logs via error logging facility that our logger implementation intercepts. That seems like the only path (excluding erlang VM modification) that can produce alerts from this kind of events.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 8 Feb 2012 18:30:07 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3207</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-4345] ns_server should use unique memcached admin/password for each cluster instance</title>
                <link>http://www.couchbase.com/issues/browse/MB-4345</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>steps to reproduce :&lt;br/&gt;
&lt;br/&gt;
1- create a cluster with 3 nodes&lt;br/&gt;
2- shut down membase on one of the nodes&lt;br/&gt;
3- create a new cluster with 3 nodes and reuse the public IP of one of the nodes&lt;br/&gt;
4- now you will see that ns_server from the old cluster now is trying to reset the vbuckets on the new cluster&lt;br/&gt;
&lt;br/&gt;
ns_server should use the otpCookie authentication when running _set_vbucket_state command against memcached (alk: see my comment below)</description>
                <environment></environment>
            <key id="15383">MB-4345</key>
            <summary>ns_server should use unique memcached admin/password for each cluster instance</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="Aliaksey Artamonau">Aliaksey Artamonau</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Oct 2011 18:33:11 -0500</created>
                <updated>Mon, 4 Mar 2013 02:41:50 -0600</updated>
                                    <version>1.7 GA</version>
                <version>1.7.1</version>
                <version>1.7.2</version>
                <version>1.8.0</version>
                <version>1.8.1</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="22380" author="alkondratenko" created="Tue, 11 Oct 2011 19:06:22 -0500"  >we cannot use otp cookie authentication against memcached.&lt;br/&gt;
&lt;br/&gt;
Previously it was discussed that we should generate unique admin user and/or password for memcached.&lt;br/&gt;
&lt;br/&gt;
Looks like it&amp;#39;s time.&lt;br/&gt;
</comment>
                    <comment id="26062" author="ingenthr" created="Fri, 20 Apr 2012 15:02:56 -0500"  >I think it should just be a unique cluster ID and configuration clock.  We probably already have one?  This would just be an additional credential required when trying to do vbucket type managing operations.&lt;br/&gt;
&lt;br/&gt;
(sorry for the delayed reply)</comment>
                    <comment id="36968" author="alkondratenko" created="Mon, 27 Aug 2012 13:54:01 -0500"  >Current cbcollect_info hardcodes this.&lt;br/&gt;
&lt;br/&gt;
I think we&amp;#39;ll need to rewrite collect info in erlang to fix this and other issues where config is either not consulted at all or is consulted somewhat kludgy.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 11 Oct 2011 19:06:22 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3234</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-4268] We should hash our REST API passwords</title>
                <link>http://www.couchbase.com/issues/browse/MB-4268</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="15120">MB-4268</key>
            <summary>We should hash our REST API passwords</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Wed, 7 Sep 2011 05:47:53 -0500</created>
                <updated>Mon, 4 Mar 2013 02:40:03 -0600</updated>
                                    <version>1.7.1</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                <component>RESTful-APIs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="22022" author="farshid" created="Wed, 7 Sep 2011 09:44:36 -0500"  >This also need to be taken care of properly during upgrade to 1.7,2 and also upgrading from 1.7.2 to future versions</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 7 Sep 2011 09:44:36 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>510</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-4167] moxi returns &quot;key not found&quot; on ascii-gets during rebalance_in and _out</title>
                <link>http://www.couchbase.com/issues/browse/MB-4167</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>steps to reproduce :&lt;br/&gt;
&lt;br/&gt;
1- insert 10k items&lt;br/&gt;
2- run a script which calls mc.get() on those existing items&lt;br/&gt;
3- add a node and rebalance&lt;br/&gt;
4- after 5-10 minutes , remove a node and rebalance&lt;br/&gt;
&lt;br/&gt;
2 get misses during rebalance_in&lt;br/&gt;
2 get misses during rebalance_out&lt;br/&gt;
&lt;br/&gt;
in my testing rebalance took 5 minutes and i got 2 get misses during rebalance ( 2 mins after rebalance started )</description>
                <environment>1.7.1</environment>
            <key id="14788">MB-4167</key>
            <summary>moxi returns &quot;key not found&quot; on ascii-gets during rebalance_in and _out</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="steve">Steve Yen</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Mon, 8 Aug 2011 14:16:07 -0500</created>
                <updated>Thu, 8 Nov 2012 19:03:30 -0600</updated>
                                    <version>1.7.1</version>
                                <fixVersion>1.7.3</fixVersion>
                <fixVersion>.next</fixVersion>
                                <component>moxi</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="21548" author="steve" created="Mon, 8 Aug 2011 15:43:13 -0500"  >If anyone (customer?) saw this while using binary protocol (python mc.get() ?), I&amp;#39;d would love to know the binary protocol error result code that the response had.&lt;br/&gt;
&lt;br/&gt;
Is there a script to help reproduce this?&lt;br/&gt;
&lt;br/&gt;
One possibility - could moxi be timing out on a slowly migrating vbucket?  Capturing the operation-start-time and end-time on the client-side could confirm this suspicion.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="21549" author="steve" created="Mon, 8 Aug 2011 16:13:51 -0500"  >See also bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-3884&quot; title=&quot;moxi returning 132 and 133 error when loading data during rebalance&quot;&gt;&lt;strike&gt;MB-3884&lt;/strike&gt;&lt;/a&gt;</comment>
                    <comment id="21550" author="farshid" created="Mon, 8 Aug 2011 16:14:29 -0500"  >only happens when using ascii client + using ruby sdk&lt;br/&gt;
&lt;br/&gt;
script i used to set items:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
require &amp;quot;rubygems&amp;quot;&lt;br/&gt;
require &amp;quot;memcache&amp;quot;&lt;br/&gt;
&lt;br/&gt;
m  = MemCache.new &amp;#39;10.1.6.105:11211&amp;#39;&lt;br/&gt;
&lt;br/&gt;
for i in 0..20000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;begin&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;key = &amp;quot;Hello #{i}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m.set key,key&lt;br/&gt;
&amp;nbsp;&amp;nbsp;rescue&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts &amp;quot;error&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
end&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
script to get items : &lt;br/&gt;
require &amp;quot;rubygems&amp;quot;&lt;br/&gt;
require &amp;quot;memcache&amp;quot;&lt;br/&gt;
&lt;br/&gt;
m  = MemCache.new &amp;#39;10.1.6.105:11211&amp;#39;&lt;br/&gt;
error_seen = 0&lt;br/&gt;
puts &amp;quot;#{Time.now}&amp;quot;&lt;br/&gt;
while error_seen &amp;lt; 100&lt;br/&gt;
&amp;nbsp;&amp;nbsp;for i in 0..20000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;key = &amp;quot;Hello #{i}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value = m.get key&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not value&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts &amp;quot;#{Time.now} unable to find the key #{key}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;error_seen += 1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
end&lt;br/&gt;
&lt;br/&gt;
used memcached gem</comment>
                    <comment id="21566" author="steve" created="Tue, 9 Aug 2011 11:11:03 -0500"  >minor bug in the script, where spaces are not allowed in key names for ascii protocol...&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;error illegal character in key &amp;quot;Hello 18613&amp;quot;&lt;br/&gt;
</comment>
                    <comment id="21567" author="steve" created="Tue, 9 Aug 2011 11:11:51 -0500"  >Another attempt at the script, with more timings (might have typos)...&lt;br/&gt;
&lt;br/&gt;
#!/usr/bin/env ruby&lt;br/&gt;
&lt;br/&gt;
require &amp;quot;rubygems&amp;quot;&lt;br/&gt;
require &amp;quot;memcache&amp;quot;&lt;br/&gt;
&lt;br/&gt;
p ARGV&lt;br/&gt;
&lt;br/&gt;
op = ARGV[0]&lt;br/&gt;
host = ARGV[1]&lt;br/&gt;
&lt;br/&gt;
m = MemCache.new(host+&amp;#39;:11211&amp;#39;)&lt;br/&gt;
&lt;br/&gt;
if op == &amp;#39;set&amp;#39;&lt;br/&gt;
&amp;nbsp;for i in 0..20000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;begin&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;key = &amp;quot;Hello#{i}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m.set key, key&lt;br/&gt;
&amp;nbsp;&amp;nbsp;rescue Exception =&amp;gt; err&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts &amp;quot;error #{err}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
&amp;nbsp;end&lt;br/&gt;
&amp;nbsp;exit&lt;br/&gt;
end&lt;br/&gt;
&lt;br/&gt;
error_seen = 0&lt;br/&gt;
puts &amp;quot;#{Time.now}&amp;quot;&lt;br/&gt;
while error_seen &amp;lt; 100&lt;br/&gt;
&amp;nbsp;&amp;nbsp;for i in 0..20000&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;key = &amp;quot;Hello#{i}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;before = Time.now&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;value = m.get key&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;after = Time.now&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if not value&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts &amp;quot;#{Time.now} unable to find the key #{key}, #{after - before}&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;error_seen += 1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
&amp;nbsp;&amp;nbsp;end&lt;br/&gt;
end&lt;br/&gt;
&lt;br/&gt;
p error_seen&lt;br/&gt;
</comment>
                    <comment id="21569" author="steve" created="Tue, 9 Aug 2011 11:25:27 -0500"  >I didn&amp;#39;t see missing keys, but I did see interesting ruby errors (OSX client)...&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
/Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:1138:in `rbuf_fill&amp;#39;: IO timeout (MemCache::MemCacheError)&lt;br/&gt;
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:1149:in `gets&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:742:in `cache_get&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:865:in `call&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:865:in `with_socket_management&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:740:in `cache_get&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:248:in `get&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:886:in `with_server&amp;#39;&lt;br/&gt;
	from /Users/steveyen/.gem/ruby/1.8/gems/memcache-client-1.8.5/lib/memcache.rb:246:in `get&amp;#39;&lt;br/&gt;
	from ./&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4167&quot; title=&quot;moxi returns &amp;quot;key not found&amp;quot; on ascii-gets during rebalance_in and _out&quot;&gt;MB-4167&lt;/a&gt;.rb:31&lt;br/&gt;
	from ./&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4167&quot; title=&quot;moxi returns &amp;quot;key not found&amp;quot; on ascii-gets during rebalance_in and _out&quot;&gt;MB-4167&lt;/a&gt;.rb:28:in `each&amp;#39;&lt;br/&gt;
	from ./&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4167&quot; title=&quot;moxi returns &amp;quot;key not found&amp;quot; on ascii-gets during rebalance_in and _out&quot;&gt;MB-4167&lt;/a&gt;.rb:28&lt;br/&gt;
</comment>
                    <comment id="21570" author="farshid" created="Tue, 9 Aug 2011 11:30:12 -0500"  >Steve,&lt;br/&gt;
&lt;br/&gt;
are you running this against ns_server cluster running on osx or an rpm installation ?</comment>
                    <comment id="21571" author="loopforever" created="Tue, 9 Aug 2011 13:54:52 -0500"  >I believe I&amp;#39;m also hitting this bug in my testing. It is reproducible on 1.7.0 and 1.7.1.&lt;br/&gt;
&lt;br/&gt;
See my forum post here: &lt;a href=&quot;http://www.couchbase.org/forums/thread/missing-keys-during-server-re-add-and-re-balance&quot;&gt;http://www.couchbase.org/forums/thread/missing-keys-during-server-re-add-and-re-balance&lt;/a&gt;</comment>
                    <comment id="25142" author="farshid" created="Mon, 26 Mar 2012 00:26:27 -0500"  >should we close these bugs as won&amp;#39;t fix ?</comment>
                    <comment id="25383" author="farshid" created="Fri, 30 Mar 2012 18:21:26 -0500"  >still seeing this issue when running tests against 1.8.1 builds&lt;br/&gt;
&lt;br/&gt;
it is transient and it goes away after a second or so.&lt;br/&gt;
&lt;br/&gt;
i connected to moxi later and verified that the key actually did exist&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="25384" author="steve" created="Fri, 30 Mar 2012 19:01:03 -0500"  >farshid: can you grab a &amp;#39;stats proxy&amp;#39; from that moxi &#8212; would be interesting to see if any timeouts by moxi.</comment>
                    <comment id="25385" author="farshid" created="Fri, 30 Mar 2012 19:06:57 -0500"  >Trying 10.1.2.35...&lt;br/&gt;
Connected to 10.1.2.35 (10.1.2.35).&lt;br/&gt;
Escape character is &amp;#39;^]&amp;#39;.&lt;br/&gt;
stat proxy&lt;br/&gt;
ERROR&lt;br/&gt;
stats&lt;br/&gt;
STAT delete_misses 0&lt;br/&gt;
STAT ep_io_num_write 5279427&lt;br/&gt;
STAT ep_num_checkpoint_remover_runs 5252&lt;br/&gt;
STAT ep_store_max_concurrency 60&lt;br/&gt;
STAT vb_pending_ops_update 0&lt;br/&gt;
STAT rejected_conns 0&lt;br/&gt;
STAT connection_structures 209&lt;br/&gt;
STAT ep_db_strategy multiMTVBDB&lt;br/&gt;
STAT ep_onlineupdate_revert_update 0&lt;br/&gt;
STAT ep_num_eject_replicas 2064383&lt;br/&gt;
STAT vb_dead_num 0&lt;br/&gt;
STAT vb_pending_perc_mem_resident 0&lt;br/&gt;
STAT vb_replica_queue_drain 1336301&lt;br/&gt;
STAT ep_uncommitted_items 0&lt;br/&gt;
STAT limit_maxbytes 67108864&lt;br/&gt;
STAT decr_hits 0&lt;br/&gt;
STAT ep_bg_load_avg 245252&lt;br/&gt;
STAT vb_replica_ops_create 1183909&lt;br/&gt;
STAT ep_pending_ops_max_duration 78351&lt;br/&gt;
STAT ep_flush_duration_total 2296&lt;br/&gt;
STAT ep_item_flush_expired 0&lt;br/&gt;
STAT ep_bg_wait 123544496&lt;br/&gt;
STAT ep_num_not_my_vbuckets 23&lt;br/&gt;
STAT vb_pending_queue_memory 0&lt;br/&gt;
STAT vb_active_queue_fill 1780352&lt;br/&gt;
STAT ep_bg_load 1242515&lt;br/&gt;
STAT ep_bg_wait_avg 29044493&lt;br/&gt;
STAT vb_pending_queue_drain 0&lt;br/&gt;
STAT vb_pending_eject 0&lt;br/&gt;
STAT vb_replica_ops_reject 4241&lt;br/&gt;
STAT vb_active_queue_drain 1781455&lt;br/&gt;
STAT ep_too_young 0&lt;br/&gt;
STAT curr_connections 157&lt;br/&gt;
STAT rusage_system 742.378174&lt;br/&gt;
STAT ep_io_write_bytes 11853309498&lt;br/&gt;
STAT ep_total_cache_size 7755263828&lt;br/&gt;
STAT vb_active_queue_age 0&lt;br/&gt;
STAT vb_active_ht_memory 12608512&lt;br/&gt;
STAT ep_storage_age 0&lt;br/&gt;
STAT vb_active_queue_size 0&lt;br/&gt;
STAT ep_flush_duration_highwat 472&lt;br/&gt;
STAT ep_flush_duration 13&lt;br/&gt;
STAT cas_misses 0&lt;br/&gt;
STAT vb_pending_itm_memory 0&lt;br/&gt;
STAT vb_replica_queue_age 0&lt;br/&gt;
STAT vb_active_ops_reject 100&lt;br/&gt;
STAT ep_flusher_todo 0&lt;br/&gt;
STAT ep_pending_ops 0&lt;br/&gt;
STAT vb_active_curr_items 1662394&lt;br/&gt;
STAT tap_mutation_received 4723335&lt;br/&gt;
STAT ep_db_cleaner_status complete&lt;br/&gt;
STAT mem_used 8327695592&lt;br/&gt;
STAT vb_pending_ht_memory 0&lt;br/&gt;
STAT vb_replica_ht_memory 12608512&lt;br/&gt;
STAT ep_dbshards 24&lt;br/&gt;
STAT vb_pending_ops_delete 0&lt;br/&gt;
STAT tap_checkpoint_start_received 752&lt;br/&gt;
STAT tap_mutation_sent 5101729&lt;br/&gt;
STAT ep_warmup_oom 0&lt;br/&gt;
STAT ep_vbucket_del 104&lt;br/&gt;
STAT get_misses 0&lt;br/&gt;
STAT ep_onlineupdate_revert_add 0&lt;br/&gt;
STAT ep_num_value_ejects 2759562&lt;br/&gt;
STAT ep_items_rm_from_checkpoints 2474117&lt;br/&gt;
STAT ep_queue_size 0&lt;br/&gt;
STAT ep_total_del_items 0&lt;br/&gt;
STAT bytes_read 13723505664&lt;br/&gt;
STAT vb_pending_queue_size 0&lt;br/&gt;
STAT vb_replica_queue_size 0&lt;br/&gt;
STAT get_hits 8218922&lt;br/&gt;
STAT vb_active_num 64&lt;br/&gt;
STAT tap_vbucket_set_received 136&lt;br/&gt;
STAT decr_misses 0&lt;br/&gt;
STAT ep_bg_min_wait 275&lt;br/&gt;
STAT vb_pending_queue_age 0&lt;br/&gt;
STAT vb_active_queue_memory 0&lt;br/&gt;
STAT ep_commit_num 6925&lt;br/&gt;
STAT tap_checkpoint_start_sent 963&lt;br/&gt;
STAT rusage_user 1112.579956&lt;br/&gt;
STAT bucket_conns 127&lt;br/&gt;
STAT ep_num_non_resident 1239742&lt;br/&gt;
STAT ep_store_max_readwrite 6&lt;br/&gt;
STAT ep_tap_keepalive 1800&lt;br/&gt;
STAT vb_pending_ops_reject 0&lt;br/&gt;
STAT ep_oom_errors 0&lt;br/&gt;
STAT vb_pending_curr_items 0&lt;br/&gt;
STAT ep_too_old 0&lt;br/&gt;
STAT cmd_flush 0&lt;br/&gt;
STAT ep_inconsistent_slave_chk 0&lt;br/&gt;
STAT ep_bg_max_load 437402&lt;br/&gt;
STAT ep_diskqueue_memory 0&lt;br/&gt;
STAT vb_pending_queue_pending 0&lt;br/&gt;
STAT vb_replica_queue_pending 0&lt;br/&gt;
STAT ep_max_txn_size 6000&lt;br/&gt;
STAT ep_version 1.8.0_32_gdac60c6&lt;br/&gt;
STAT uptime 5848&lt;br/&gt;
STAT ep_diskqueue_items 0&lt;br/&gt;
STAT vb_pending_queue_fill 0&lt;br/&gt;
STAT vb_active_queue_pending 0&lt;br/&gt;
STAT ep_vbucket_del_max_walltime 696893&lt;br/&gt;
STAT ep_flusher_deduplication 1251285&lt;br/&gt;
STAT ep_data_age_highwat 620&lt;br/&gt;
STAT ep_queue_age_cap 5400&lt;br/&gt;
STAT incr_hits 0&lt;br/&gt;
STAT time 1333126946&lt;br/&gt;
STAT ep_warmup_dups 0&lt;br/&gt;
STAT ep_total_persisted 5279427&lt;br/&gt;
STAT daemon_connections 60&lt;br/&gt;
STAT ep_flusher_state running&lt;br/&gt;
STAT pointer_size 64&lt;br/&gt;
STAT version 1.4.4_468_g1c1c4af&lt;br/&gt;
STAT ep_vbucket_del_avg_walltime 128469&lt;br/&gt;
STAT vb_replica_curr_items 1662394&lt;br/&gt;
STAT ep_max_data_size 12922650624&lt;br/&gt;
STAT ep_tap_bg_fetched 1252590&lt;br/&gt;
STAT ep_tmp_oom_errors 0&lt;br/&gt;
STAT vb_pending_num_non_resident 0&lt;br/&gt;
STAT ep_commit_time_total 2032&lt;br/&gt;
STAT ep_warmup_time 5973&lt;br/&gt;
STAT vb_pending_ops_create 0&lt;br/&gt;
STAT vb_replica_queue_fill 1299226&lt;br/&gt;
STAT vb_active_ops_update 100956&lt;br/&gt;
STAT ep_item_commit_failed 0&lt;br/&gt;
STAT total_connections 1640&lt;br/&gt;
STAT ep_onlineupdate false&lt;br/&gt;
STAT ep_diskqueue_pending 0&lt;br/&gt;
STAT vb_active_itm_memory 2608110862&lt;br/&gt;
STAT vb_active_eject 574469&lt;br/&gt;
STAT curr_items 1662394&lt;br/&gt;
STAT ep_total_new_items 4904961&lt;br/&gt;
STAT ep_data_age 385&lt;br/&gt;
STAT delete_hits 0&lt;br/&gt;
STAT ep_bg_max_wait 74704808&lt;br/&gt;
STAT ep_storage_type featured&lt;br/&gt;
STAT vb_replica_num_non_resident 675786&lt;br/&gt;
STAT curr_items_tot 3324788&lt;br/&gt;
STAT ep_total_enqueued 5407979&lt;br/&gt;
STAT ep_mem_low_wat 7753590372&lt;br/&gt;
STAT ep_kv_size 5010652141&lt;br/&gt;
STAT vb_replica_itm_memory 2362049838&lt;br/&gt;
STAT ep_vbucket_del_fail 0&lt;br/&gt;
STAT ep_min_data_age 0&lt;br/&gt;
STAT ep_io_num_read 1252621&lt;br/&gt;
STAT ep_warmed_up 0&lt;br/&gt;
STAT ep_item_flush_failed 0&lt;br/&gt;
STAT cas_hits 0&lt;br/&gt;
STAT ep_num_active_non_resident 563956&lt;br/&gt;
STAT ep_warmup true&lt;br/&gt;
STAT ep_dbname /opt/couchbase/var/lib/couchbase/data/default-data/default&lt;br/&gt;
STAT ep_num_expiry_pager_runs 5&lt;br/&gt;
STAT vb_pending_num 0&lt;br/&gt;
STAT vb_replica_ops_delete 0&lt;br/&gt;
STAT vb_active_ops_create 1636483&lt;br/&gt;
STAT ep_commit_time 0&lt;br/&gt;
STAT auth_errors 0&lt;br/&gt;
STAT ep_store_max_readers 54&lt;br/&gt;
STAT ep_vbucket_del_total_walltime 2015794&lt;br/&gt;
STAT ep_tap_bg_fetch_requeued 0&lt;br/&gt;
STAT ep_bg_fetched 31&lt;br/&gt;
STAT vb_active_num_non_resident 563956&lt;br/&gt;
STAT ep_storage_age_highwat 2227&lt;br/&gt;
STAT threads 24&lt;br/&gt;
STAT pid 4654&lt;br/&gt;
STAT ep_latency_get_cmd 8218982&lt;br/&gt;
STAT tap_checkpoint_end_received 336&lt;br/&gt;
STAT auth_cmds 1128&lt;br/&gt;
STAT vb_replica_queue_memory 0&lt;br/&gt;
STAT vb_replica_perc_mem_resident 357&lt;br/&gt;
STAT ep_flush_all false&lt;br/&gt;
STAT cas_badval 0&lt;br/&gt;
STAT cmd_set 1276349&lt;br/&gt;
STAT bucket_active_conns 6&lt;br/&gt;
STAT ep_io_read_bytes 2821958788&lt;br/&gt;
STAT ep_diskqueue_drain 3117756&lt;br/&gt;
STAT ep_vb_total 128&lt;br/&gt;
STAT vb_replica_eject 685338&lt;br/&gt;
STAT cmd_get 8218922&lt;br/&gt;
STAT ep_expired 0&lt;br/&gt;
STAT tap_vbucket_set_sent 280&lt;br/&gt;
STAT conn_yields 110786&lt;br/&gt;
STAT listen_disabled_num 0&lt;br/&gt;
STAT ep_warmup_thread complete&lt;br/&gt;
STAT ep_flush_preempts 0&lt;br/&gt;
STAT tap_connect_received 739&lt;br/&gt;
STAT ep_keep_closed_checkpoints 0&lt;br/&gt;
STAT ep_num_eject_failures 0&lt;br/&gt;
STAT vb_active_perc_mem_resident 398&lt;br/&gt;
STAT bytes_written 17977528932&lt;br/&gt;
STAT libevent 2.0.11-stable&lt;br/&gt;
STAT ep_bg_num_samples 31&lt;br/&gt;
STAT ep_num_pager_runs 13&lt;br/&gt;
STAT ep_mem_high_wat 9691987968&lt;br/&gt;
STAT accepting_conns 1&lt;br/&gt;
STAT ep_dbinit 0&lt;br/&gt;
STAT ep_diskqueue_fill 3079578&lt;br/&gt;
STAT incr_misses 0&lt;br/&gt;
STAT ep_latency_store_cmd 1276349&lt;br/&gt;
STAT ep_bg_min_load 660&lt;br/&gt;
STAT ep_pending_ops_total 6&lt;br/&gt;
STAT ep_onlineupdate_revert_delete 0&lt;br/&gt;
STAT vb_replica_ops_update 125768&lt;br/&gt;
STAT vb_replica_num 64&lt;br/&gt;
STAT ep_item_begin_failed 0&lt;br/&gt;
STAT tap_opaque_received 1991&lt;br/&gt;
STAT tap_checkpoint_end_sent 335&lt;br/&gt;
STAT ep_exp_pager_stime 21600&lt;br/&gt;
STAT ep_latency_arith_cmd 0&lt;br/&gt;
STAT ep_pending_ops_max 3&lt;br/&gt;
STAT tap_opaque_sent 2464&lt;br/&gt;
STAT ep_overhead 25422591&lt;br/&gt;
STAT ep_value_size 4640101458&lt;br/&gt;
STAT vb_active_ops_delete 0&lt;br/&gt;
END&lt;br/&gt;
stats proxy&lt;br/&gt;
STAT basic:version 1.8.1r_3_g5f01fa8&lt;br/&gt;
STAT basic:nthreads 5&lt;br/&gt;
STAT basic:hostname localhost.localdomain&lt;br/&gt;
STAT memcached:settings:maxbytes 67108864&lt;br/&gt;
STAT memcached:settings:maxconns 1024&lt;br/&gt;
STAT memcached:settings:tcpport 0&lt;br/&gt;
STAT memcached:settings:udpport -2&lt;br/&gt;
STAT memcached:settings:inter NULL&lt;br/&gt;
STAT memcached:settings:verbosity 0&lt;br/&gt;
STAT memcached:settings:oldest 0&lt;br/&gt;
STAT memcached:settings:evictions on&lt;br/&gt;
STAT memcached:settings:domain_socket NULL&lt;br/&gt;
STAT memcached:settings:umask 700&lt;br/&gt;
STAT memcached:settings:growth_factor 1.25&lt;br/&gt;
STAT memcached:settings:chunk_size 48&lt;br/&gt;
STAT memcached:settings:num_threads 5&lt;br/&gt;
STAT memcached:settings:stat_key_prefix :&lt;br/&gt;
STAT memcached:settings:detail_enabled no&lt;br/&gt;
STAT memcached:settings:reqs_per_event 20&lt;br/&gt;
STAT memcached:settings:cas_enabled yes&lt;br/&gt;
STAT memcached:settings:tcp_backlog 1024&lt;br/&gt;
STAT memcached:settings:binding_protocol auto-negotiate&lt;br/&gt;
STAT memcached:stats:pid 4637&lt;br/&gt;
STAT memcached:stats:uptime 3804&lt;br/&gt;
STAT memcached:stats:time 1333126948&lt;br/&gt;
STAT memcached:stats:version 1.8.1r_3_g5f01fa8&lt;br/&gt;
STAT memcached:stats:pointer_size 64&lt;br/&gt;
STAT memcached:stats:rusage_user 388.322965&lt;br/&gt;
STAT memcached:stats:rusage_system 818.152621&lt;br/&gt;
STAT memcached:stats:curr_connections 27&lt;br/&gt;
STAT memcached:stats:total_connections 228&lt;br/&gt;
STAT memcached:stats:connection_structures 28&lt;br/&gt;
STAT memcached:stats:cmd_get 0&lt;br/&gt;
STAT memcached:stats:cmd_set 0&lt;br/&gt;
STAT memcached:stats:cmd_flush 0&lt;br/&gt;
STAT memcached:stats:get_hits 0&lt;br/&gt;
STAT memcached:stats:get_misses 0&lt;br/&gt;
STAT memcached:stats:delete_misses 0&lt;br/&gt;
STAT memcached:stats:delete_hits 0&lt;br/&gt;
STAT memcached:stats:incr_misses 0&lt;br/&gt;
STAT memcached:stats:incr_hits 0&lt;br/&gt;
STAT memcached:stats:decr_misses 0&lt;br/&gt;
STAT memcached:stats:decr_hits 0&lt;br/&gt;
STAT memcached:stats:cas_misses 0&lt;br/&gt;
STAT memcached:stats:cas_hits 0&lt;br/&gt;
STAT memcached:stats:cas_badval 0&lt;br/&gt;
STAT memcached:stats:bytes_read 35802337080&lt;br/&gt;
STAT memcached:stats:bytes_written 18155784862&lt;br/&gt;
STAT memcached:stats:limit_maxbytes 67108864&lt;br/&gt;
STAT memcached:stats:accepting_conns 1&lt;br/&gt;
STAT memcached:stats:listen_disabled_num 0&lt;br/&gt;
STAT memcached:stats:threads 5&lt;br/&gt;
STAT memcached:stats:conn_yields 0&lt;br/&gt;
STAT proxy_main:conf_type dynamic&lt;br/&gt;
STAT proxy_main:behavior:cycle 200&lt;br/&gt;
STAT proxy_main:behavior:downstream_max 1024&lt;br/&gt;
STAT proxy_main:behavior:downstream_conn_max 4&lt;br/&gt;
STAT proxy_main:behavior:downstream_weight 0&lt;br/&gt;
STAT proxy_main:behavior:downstream_retry 1&lt;br/&gt;
STAT proxy_main:behavior:downstream_protocol 8&lt;br/&gt;
STAT proxy_main:behavior:downstream_timeout 5000&lt;br/&gt;
STAT proxy_main:behavior:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT proxy_main:behavior:connect_timeout 400&lt;br/&gt;
STAT proxy_main:behavior:auth_timeout 100&lt;br/&gt;
STAT proxy_main:behavior:wait_queue_timeout 200&lt;br/&gt;
STAT proxy_main:behavior:time_stats 0&lt;br/&gt;
STAT proxy_main:behavior:connect_max_errors 5&lt;br/&gt;
STAT proxy_main:behavior:connect_retry_interval 30000&lt;br/&gt;
STAT proxy_main:behavior:front_cache_max 200&lt;br/&gt;
STAT proxy_main:behavior:front_cache_lifespan 0&lt;br/&gt;
STAT proxy_main:behavior:front_cache_spec&lt;br/&gt;
STAT proxy_main:behavior:front_cache_unspec&lt;br/&gt;
STAT proxy_main:behavior:key_stats_max 4000&lt;br/&gt;
STAT proxy_main:behavior:key_stats_lifespan 0&lt;br/&gt;
STAT proxy_main:behavior:key_stats_spec&lt;br/&gt;
STAT proxy_main:behavior:key_stats_unspec&lt;br/&gt;
STAT proxy_main:behavior:optimize_set&lt;br/&gt;
STAT proxy_main:behavior:usr Administrator&lt;br/&gt;
STAT proxy_main:behavior:host&lt;br/&gt;
STAT proxy_main:behavior:port 0&lt;br/&gt;
STAT proxy_main:behavior:bucket&lt;br/&gt;
STAT proxy_main:behavior:port_listen 11211&lt;br/&gt;
STAT proxy_main:behavior:default_bucket_name default&lt;br/&gt;
STAT proxy_main:stats:stat_configs 144&lt;br/&gt;
STAT proxy_main:stats:stat_config_fails 0&lt;br/&gt;
STAT proxy_main:stats:stat_proxy_starts 2&lt;br/&gt;
STAT proxy_main:stats:stat_proxy_start_fails 0&lt;br/&gt;
STAT proxy_main:stats:stat_proxy_existings 143&lt;br/&gt;
STAT proxy_main:stats:stat_proxy_shutdowns 0&lt;br/&gt;
STAT 11211:default:info:port 11211&lt;br/&gt;
STAT 11211:default:info:name default&lt;br/&gt;
STAT 11211:default:info:config {	&amp;quot;name&amp;quot;:	&amp;quot;default&amp;quot;,	&amp;quot;nodeLocator&amp;quot;:	&amp;quot;vbucket&amp;quot;,	&amp;quot;saslPassword&amp;quot;:	&amp;quot;&amp;quot;,	&amp;quot;nodes&amp;quot;:	[{			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,	&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,			&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.30:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:	1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,			&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{				&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}, {			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,			&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,		&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.31:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,		&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{	&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}, {			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,			&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,		&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.33:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,		&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{	&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}, {			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,			&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,		&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.34:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,		&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{	&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}, {			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,			&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,		&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.35:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,		&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{	&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}, {			&amp;quot;replication&amp;quot;:	1,			&amp;quot;clusterMembership&amp;quot;:	&amp;quot;active&amp;quot;,			&amp;quot;status&amp;quot;:	&amp;quot;healthy&amp;quot;,		&amp;quot;hostname&amp;quot;:	&amp;quot;10.1.2.32:8091&amp;quot;,			&amp;quot;clusterCompatibility&amp;quot;:1,			&amp;quot;version&amp;quot;:	&amp;quot;1.8.1r-728-debug-community&amp;quot;,		&amp;quot;os&amp;quot;:	&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,			&amp;quot;ports&amp;quot;:	{	&amp;quot;proxy&amp;quot;:	11211,				&amp;quot;direct&amp;quot;:	11210			}],	&amp;quot;vBucketServerMap&amp;quot;:	{		&amp;quot;hashAlgorithm&amp;quot;:	&amp;quot;CRC&amp;quot;,	&amp;quot;numReplicas&amp;quot;:	1,		&amp;quot;serverList&amp;quot;:	[&amp;quot;10.1.2.35:11210&amp;quot;, &amp;quot;10.1.2.30:11210&amp;quot;, &amp;quot;10.1.2.31:11210&amp;quot;, &amp;quot;10.1.2.32:11210&amp;quot;, &amp;quot;10.1.2.33:11210&amp;quot;, &amp;quot;10.1.2.34:11210&amp;quot;],		&amp;quot;vBucketMap&amp;quot;:	[[1, 2], [1, 2], [1, 2], [1, 3], [1, 3], [1, 4], [1, 4], [1, 5], [1, 5], [1, 0], [1, 0], [2, 1], [2, 1], [2, 1], [2, 3], [2, 3], [2, 4], [2, 4], [2, 5], [2, 5], [2, 0], [2, 0], [3, 1], [3, 1], [3, 2], [3, 2], [3, 4], [3, 4], [3, 4], [3, 5], [3, 5], [3, 0], [3, 0], [4, 1], [4, 1], [4, 2], [4, 2], [4, 3], [4, 3], [4, 3], [4, 5], [4, 5], [4, 0], [4, 0], [5, 1], [5, 1], [5, 2], [5, 2], [5, 3], [5, 3], [5, 4], [5, 4], [5, 0], [5, 0], [0, 1], [0, 1], [0, 2], [0, 2], [0, 3], [0, 3], [0, 4], [0, 4], [0, 5], [0, 5]]	}}&lt;br/&gt;
STAT 11211:default:info:config_ver 144&lt;br/&gt;
STAT 11211:default:info:behaviors_num 6&lt;br/&gt;
STAT 11211:default:behavior:downstream_max 1024&lt;br/&gt;
STAT 11211:default:behavior:downstream_conn_max 4&lt;br/&gt;
STAT 11211:default:behavior:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior:wait_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior:time_stats 0&lt;br/&gt;
STAT 11211:default:behavior:connect_max_errors 5&lt;br/&gt;
STAT 11211:default:behavior:connect_retry_interval 30000&lt;br/&gt;
STAT 11211:default:behavior:front_cache_max 200&lt;br/&gt;
STAT 11211:default:behavior:front_cache_lifespan 0&lt;br/&gt;
STAT 11211:default:behavior:front_cache_spec&lt;br/&gt;
STAT 11211:default:behavior:front_cache_unspec&lt;br/&gt;
STAT 11211:default:behavior:key_stats_max 4000&lt;br/&gt;
STAT 11211:default:behavior:key_stats_lifespan 0&lt;br/&gt;
STAT 11211:default:behavior:key_stats_spec&lt;br/&gt;
STAT 11211:default:behavior:key_stats_unspec&lt;br/&gt;
STAT 11211:default:behavior:optimize_set&lt;br/&gt;
STAT 11211:default:behavior:usr default&lt;br/&gt;
STAT 11211:default:behavior:host&lt;br/&gt;
STAT 11211:default:behavior:port 0&lt;br/&gt;
STAT 11211:default:behavior:bucket&lt;br/&gt;
STAT 11211:default:behavior:port_listen 11211&lt;br/&gt;
STAT 11211:default:behavior:default_bucket_name default&lt;br/&gt;
STAT 11211:default:behavior-0:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-0:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-0:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-0:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-0:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-0:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-0:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-0:usr default&lt;br/&gt;
STAT 11211:default:behavior-0:host 10.1.2.35&lt;br/&gt;
STAT 11211:default:behavior-0:port 11210&lt;br/&gt;
STAT 11211:default:behavior-0:bucket&lt;br/&gt;
STAT 11211:default:behavior-1:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-1:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-1:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-1:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-1:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-1:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-1:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-1:usr default&lt;br/&gt;
STAT 11211:default:behavior-1:host 10.1.2.30&lt;br/&gt;
STAT 11211:default:behavior-1:port 11210&lt;br/&gt;
STAT 11211:default:behavior-1:bucket&lt;br/&gt;
STAT 11211:default:behavior-2:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-2:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-2:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-2:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-2:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-2:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-2:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-2:usr default&lt;br/&gt;
STAT 11211:default:behavior-2:host 10.1.2.31&lt;br/&gt;
STAT 11211:default:behavior-2:port 11210&lt;br/&gt;
STAT 11211:default:behavior-2:bucket&lt;br/&gt;
STAT 11211:default:behavior-3:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-3:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-3:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-3:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-3:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-3:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-3:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-3:usr default&lt;br/&gt;
STAT 11211:default:behavior-3:host 10.1.2.32&lt;br/&gt;
STAT 11211:default:behavior-3:port 11210&lt;br/&gt;
STAT 11211:default:behavior-3:bucket&lt;br/&gt;
STAT 11211:default:behavior-4:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-4:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-4:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-4:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-4:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-4:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-4:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-4:usr default&lt;br/&gt;
STAT 11211:default:behavior-4:host 10.1.2.33&lt;br/&gt;
STAT 11211:default:behavior-4:port 11210&lt;br/&gt;
STAT 11211:default:behavior-4:bucket&lt;br/&gt;
STAT 11211:default:behavior-5:downstream_weight 0&lt;br/&gt;
STAT 11211:default:behavior-5:downstream_retry 1&lt;br/&gt;
STAT 11211:default:behavior-5:downstream_protocol 8&lt;br/&gt;
STAT 11211:default:behavior-5:downstream_timeout 5000&lt;br/&gt;
STAT 11211:default:behavior-5:downstream_conn_queue_timeout 200&lt;br/&gt;
STAT 11211:default:behavior-5:connect_timeout 400&lt;br/&gt;
STAT 11211:default:behavior-5:auth_timeout 100&lt;br/&gt;
STAT 11211:default:behavior-5:usr default&lt;br/&gt;
STAT 11211:default:behavior-5:host 10.1.2.34&lt;br/&gt;
STAT 11211:default:behavior-5:port 11210&lt;br/&gt;
STAT 11211:default:behavior-5:bucket&lt;br/&gt;
STAT 11211:default:stats:listening 2&lt;br/&gt;
STAT 11211:default:stats:listening_failed 0&lt;br/&gt;
STAT 11211:default:frontcache:max 0&lt;br/&gt;
STAT 11211:default:frontcache:oldest_live 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_get_hits 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_get_expires 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_get_misses 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_get_bytes 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_adds 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_add_skips 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_add_fails 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_add_bytes 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_deletes 0&lt;br/&gt;
STAT 11211:default:frontcache:tot_evictions 0&lt;br/&gt;
STAT 11211:default:pstd_stats:num_upstream 2&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_upstream 8&lt;br/&gt;
STAT 11211:default:pstd_stats:num_downstream_conn 24&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn 216&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn_acquired 8545599&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn_released 8537481&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_released 8545583&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_reserved 8545574&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_reserved_time 0&lt;br/&gt;
STAT 11211:default:pstd_stats:max_downstream_reserved_time 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_freed 6&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_quit_server 192&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_max_reached 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_create_failed 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_started 216&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_wait 216&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect 212&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_failed 4&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_timeout 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_interval 7925&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_connect_max_reached 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_waiting_errors 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_auth 212&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_auth_failed 3&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_bucket 212&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_bucket_failed 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_propagate_failed 7929&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_close_on_upstream_close 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn_queue_timeout 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn_queue_add 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_conn_queue_remove 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_downstream_timeout 5&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_wait_queue_timeout 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_auth_timeout 3&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_assign_downstream 8545574&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_assign_upstream 8545574&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_assign_recursion 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_reset_upstream_avail 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_multiget_keys 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_multiget_keys_dedupe 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_multiget_bytes_dedupe 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_optimize_sets 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_retry 117&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_retry_time 0&lt;br/&gt;
STAT 11211:default:pstd_stats:max_retry_time 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_retry_vbucket 25&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_upstream_paused 8545482&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_upstream_unpaused 8545481&lt;br/&gt;
STAT 11211:default:pstd_stats:err_oom 0&lt;br/&gt;
STAT 11211:default:pstd_stats:err_upstream_write_prep 0&lt;br/&gt;
STAT 11211:default:pstd_stats:err_downstream_write_prep 0&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_cmd_time 3125538218&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_cmd_count 8545481&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_local_cmd_time 262950992&lt;br/&gt;
STAT 11211:default:pstd_stats:tot_local_cmd_count 1381246&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:seen 8278673&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:hits 8273258&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:write_bytes 17059590539&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_get_key:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:seen 266806&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:read_bytes 553901479&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_set:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_add:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_replace:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_delete:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_append:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_prepend:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_incr:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_decr:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_flush_all:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_cas:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:seen 3&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:read_bytes 15&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_stats_reset:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_version:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_verbosity:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_quit:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_getl:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_unl:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:seen 1&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:read_bytes 10&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:regular_ERROR:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_get_key:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_set:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_add:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_replace:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_delete:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_append:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_prepend:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_incr:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_decr:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_flush_all:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_cas:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_stats_reset:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_version:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_verbosity:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_quit:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_getl:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_unl:cas 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:seen 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:hits 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:misses 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:read_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:write_bytes 0&lt;br/&gt;
STAT 11211:default:pstd_stats_cmd:quiet_ERROR:cas 0</comment>
                    <comment id="25389" author="steve" created="Fri, 30 Mar 2012 20:04:23 -0500"  >Thanks.  From the stats...&lt;br/&gt;
&lt;br/&gt;
Most importantly, moxi was backing off after it saw too many errors trying to connect to a server...&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:pstd_stats:tot_downstream_connect_interval 7925 &lt;br/&gt;
&lt;br/&gt;
That reads as &amp;quot;moxi had 7925 attempts to get a connection from its conn pool, but failed, since it was in backoff mode (also called having a blacklisted server)&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Moxi is configured to backoff for 30 seconds.  That is, it blacklists a troublesome server for 30 seconds before trying to connect to that server again...&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:behavior:connect_retry_interval 30000&lt;br/&gt;
&lt;br/&gt;
A server is considered troublesome (and then blacklisted) if moxi fails to connect() to the server (by default) 5 times in a row...&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT proxy_main:behavior:connect_max_errors 5 &lt;br/&gt;
&lt;br/&gt;
There were also at least some timeouts.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:pstd_stats:tot_downstream_timeout 5&lt;br/&gt;
&lt;br/&gt;
And, moxi also saw connection and SASL auth errors...&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:pstd_stats:tot_downstream_connect_failed 4&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:pstd_stats:tot_downstream_auth_failed 3&lt;br/&gt;
&amp;nbsp;&amp;nbsp;STAT 11211:default:pstd_stats:tot_auth_timeout 3&lt;br/&gt;
&lt;br/&gt;
Next step is to figure out what happened to the memcached server during the rebalance.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="43619" author="steve" created="Thu, 8 Nov 2012 19:03:30 -0600"  >in sprint planning</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 8 Aug 2011 15:43:13 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3246</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-3726] Certain stats cannot be aggregated for all nodes</title>
                <link>http://www.couchbase.com/issues/browse/MB-3726</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I.e. it&amp;#39;s not possible to show e.g. cpu or swap usage across all nodes.</description>
                <environment></environment>
            <key id="14004">MB-3726</key>
            <summary>Certain stats cannot be aggregated for all nodes</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 May 2011 12:18:57 -0500</created>
                <updated>Thu, 19 Jul 2012 16:17:12 -0500</updated>
                                    <version>1.7 alpha 2</version>
                                <fixVersion>.next</fixVersion>
                                <component>RESTful-APIs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="20681" author="farshid" created="Thu, 12 May 2011 16:12:20 -0500"  >some system level stats ( cpu , ram and swap ) missing from stats page</comment>
                    <comment id="20925" author="alkondratenko" created="Tue, 24 May 2011 18:20:33 -0500"  >not fixed yet</comment>
                    <comment id="29699" author="alkondratenko" created="Tue, 12 Jun 2012 19:03:05 -0500"  >reopening. We don&amp;#39;t support them</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="13989">MB-3715</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="14226">MB-3905</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 12 May 2011 16:12:20 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3262</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-3971] windows upgrade fails if machine&apos;s ip have changed from the original IP address</title>
                <link>http://www.couchbase.com/issues/browse/MB-3971</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>the workaround is cleanup the old mnesia database under c:\program files\membase &lt;br/&gt;
\server\var\lib\membase\mnesia and try again&lt;br/&gt;
&lt;br/&gt;
ref : &lt;a href=&quot;https://groups.google.com/forum/#!topic/membase/wqoq9EJ6Z5A&quot;&gt;https://groups.google.com/forum/#!topic/membase/wqoq9EJ6Z5A&lt;/a&gt;</description>
                <environment>1.7 GA</environment>
            <key id="14330">MB-3971</key>
            <summary>windows upgrade fails if machine&apos;s ip have changed from the original IP address</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="-1">Unassigned</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                        <label>1.7.0-release-notes</label>
                        <label>1.7.1-release-notes</label>
                        <label>1.7.2-release-notes</label>
                        <label>2.0.1-candidate</label>
                    </labels>
                <created>Wed, 8 Jun 2011 12:48:07 -0500</created>
                <updated>Thu, 14 Mar 2013 12:30:37 -0500</updated>
                                    <version>1.7 GA</version>
                                <fixVersion>.next</fixVersion>
                                <component>installer</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="39354" author="peter" created="Wed, 19 Sep 2012 19:05:03 -0500"  >Farshid, is this still valid?</comment>
                    <comment id="39357" author="farshid" created="Wed, 19 Sep 2012 19:07:59 -0500"  >yes this is still valid and users are advised to try the workaround mentioned.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 19 Sep 2012 19:05:03 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3254</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-3256] Raise a warning message about time on local machines does not match when adding a node.</title>
                <link>http://www.couchbase.com/issues/browse/MB-3256</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>When adding a node, we may raise a warning if local time on a node and node/cluster does not match.  </description>
                <environment>All</environment>
            <key id="13357">MB-3256</key>
            <summary>Raise a warning message about time on local machines does not match when adding a node.</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="thuan">Thuan Nguyen</reporter>
                        <labels>
                        <label>2.0.1-candidate</label>
                    </labels>
                <created>Mon, 3 Jan 2011 16:01:08 -0600</created>
                <updated>Tue, 16 Oct 2012 18:51:31 -0500</updated>
                                    <version>1.6.5</version>
                <version>1.7.2</version>
                <version>1.8.0</version>
                <version>2.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>UI</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="20028" author="alkondratenko" created="Fri, 15 Apr 2011 19:21:26 -0500"  >looks quite related to alerts. Needs prioritization</comment>
                    <comment id="20899" author="farshid" created="Mon, 23 May 2011 18:54:22 -0500"  >assigning to Frank for prioritization</comment>
                    <comment id="28712" author="farshid" created="Sun, 3 Jun 2012 17:49:35 -0500"  >given that this happened many times on our testing and customer deployments i think its worth visiting again ?</comment>
                    <comment id="34771" author="dipti" created="Fri, 3 Aug 2012 19:15:05 -0500"  >Yes, I think it is work a warning message during add time given all our stats depend on the time being the same across the cluster. </comment>
                    <comment id="34784" author="alkondratenko" created="Fri, 3 Aug 2012 20:05:22 -0500"  >unfortunately, that&amp;#39;s serverside-only change</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 15 Apr 2011 19:21:26 -0500</customfieldvalue>

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

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-2899] configurable lifespans in moxi should be 64-bit and parsed as unsigned (safe_strtoul)</title>
                <link>http://www.couchbase.com/issues/browse/MB-2899</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description></description>
                <environment></environment>
            <key id="12979">MB-2899</key>
            <summary>configurable lifespans in moxi should be 64-bit and parsed as unsigned (safe_strtoul)</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="steve">Steve Yen</assignee>
                                <reporter username="steve">Steve Yen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Nov 2010 12:05:16 -0600</created>
                <updated>Thu, 28 Feb 2013 12:34:49 -0600</updated>
                                                    <fixVersion>Backlog</fixVersion>
                                <component>moxi</component>
                                <votes>0</votes>
                        <watches>1</watches>
                          <timeoriginalestimate seconds="3600">1h</timeoriginalestimate>
                    <timeestimate seconds="3600">1h</timeestimate>
                                          <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9093</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-1905] open service after loading x items during warmup( starting a server with many items can potentially take hours to fully load hashtable and values)</title>
                <link>http://www.couchbase.com/issues/browse/MB-1905</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Fast startup time for EP engine&lt;br/&gt;
&lt;br/&gt;
We need ep engine to start within 1 minute regardless the amount of data stored on the node.&lt;br/&gt;
&lt;br/&gt;
in addition, we need to load the hot keys (and values) to prevent cold startup.&lt;br/&gt;
This means that for some test scenarios, i.e. loading the server with random set of keys, there won&amp;#39;t be &amp;quot;hot&amp;quot; keys to load upon startup.&lt;br/&gt;
&lt;br/&gt;
The behavior of the startup time should be documented on the membase wiki for ep engine.</description>
                <environment>Operating System: All&lt;br/&gt;
Platform: All</environment>
            <key id="11914">MB-1905</key>
            <summary>open service after loading x items during warmup( starting a server with many items can potentially take hours to fully load hashtable and values)</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="dipti">Dipti Borkar</assignee>
                                <reporter username="sharon">Sharon Barr</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Aug 2010 14:23:55 -0500</created>
                <updated>Thu, 5 Jul 2012 20:02:55 -0500</updated>
                                    <version>1.6.5</version>
                <version>1.6.5.1</version>
                <version>1.6.5.2</version>
                <version>1.6.5.2.1</version>
                <version>1.6.5.3</version>
                <version>1.6.5.3.1</version>
                <version>1.6.5.4</version>
                <version>1.7 GA</version>
                <version>1.7.1</version>
                <version>2.0-beta</version>
                                <fixVersion>.next</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>1</votes>
                        <watches>7</watches>
                                                    <comments>
                    <comment id="16563" author="matt@northscale.com" created="Wed, 25 Aug 2010 22:53:56 -0500"  ></comment>
                    <comment id="16564" author="dustin@sallings.org" created="Wed, 8 Sep 2010 04:26:20 -0500"  >&lt;a href=&quot;https://gist.github.com/267d6fd0528be71aa58d&quot;&gt;https://gist.github.com/267d6fd0528be71aa58d&lt;/a&gt;</comment>
                    <comment id="16565" author="matt@northscale.com" created="Wed, 8 Sep 2010 22:18:23 -0500"  >re-targetting to next milestone, per discussion of Dustin&amp;#39;s options.</comment>
                    <comment id="16566" author="sean@northscale.com" created="Sat, 18 Sep 2010 22:25:28 -0500"  >Should this stay on beta4?</comment>
                    <comment id="16567" author="matt@northscale.com" created="Sat, 18 Sep 2010 22:31:17 -0500"  >Ideally yes, but it can slip if need be so it&amp;#39;s more of a GA release blocker.  Retargeting.</comment>
                    <comment id="16568" author="sean@northscale.com" created="Tue, 28 Sep 2010 01:36:51 -0500"  >Chiyoung or Dustin, is work happening on this?</comment>
                    <comment id="16569" author="chiyoung@northscale.com" created="Tue, 28 Sep 2010 01:44:57 -0500"  >&lt;br/&gt;
No, I haven&amp;#39;t had any chance to work on this, but think this might take some time to be completed and tested. I would suggest to move this to post GA</comment>
                    <comment id="19276" author="perry" created="Thu, 6 Jan 2011 12:06:09 -0600"  >Bringing this back to the forefront as it is still outstanding and something often requested by customers, especially with very large datasets.</comment>
                    <comment id="21499" author="ingenthr" created="Wed, 3 Aug 2011 15:37:12 -0500"  >Assigning to Frank for prioritization.  I&amp;#39;ve (for now) set this to a blocker, mainly to force some decisions to be made on it w.r.t. prioritization in the 2.0 release cycle.</comment>
                    <comment id="21500" author="farshid" created="Wed, 3 Aug 2011 15:42:34 -0500"  >changed the fix by to 2.0 GA</comment>
                    <comment id="21501" author="ingenthr" created="Wed, 3 Aug 2011 15:46:43 -0500"  >There are two candidate proposals for how to address this.&lt;br/&gt;
&lt;br/&gt;
One would be to leverage the new (since 1.7) loading-servicing state during startup.  WIth that, we can return errors for things like gets, but allow all idempotent mutation operations to proceed.  This works well with the behavior of many applications, as it would allow users for whom data is loaded to start working, would allow newly added data to be immediately available, and it&amp;#39;s just the items that aren&amp;#39;t yet loaded that would not be available.&lt;br/&gt;
&lt;br/&gt;
Another candidate proposal is to add functionality to write the indexes to persistent storage during a clean shutdown.  This would allow us to load all data in an ejected state very quickly (though could still be up to 5 minutes).  It would move the thrashing a bit further down the road, but for idempotent mutations and failing gets, it&amp;#39;d still be fast.&lt;br/&gt;
&lt;br/&gt;
The two solutions can be combined, and I can think of at least a couple of other possible solutions in the 2.0 timeframe.</comment>
                    <comment id="21506" author="perry" created="Wed, 3 Aug 2011 17:00:21 -0500"  >Isn&amp;#39;t the second proposal already done with CouchDB under the hood and all we need to do is read in the index and start servicing things (albeit slowly) as we warm up the rest?</comment>
                    <comment id="21507" author="ingenthr" created="Wed, 3 Aug 2011 17:07:59 -0500"  >I don&amp;#39;t think the second proposal is already done in that walking the B+Tree is fast, but still seeky rather than linear to get the info we need to have ejected items in memory (key, expiration, flags and a couple of other things).  If it&amp;#39;s a lot of data in an aged DB file, that could be rather IO intensive.&lt;br/&gt;
&lt;br/&gt;
That said, I&amp;#39;ll leave that with Frank/Dustin to determine.  &lt;br/&gt;
&lt;br/&gt;
It should be verified though.</comment>
                    <comment id="24977" author="MichaelDeGroot" created="Mon, 19 Mar 2012 10:53:27 -0500"  >We - GamePoint - have a membase 1.7.1 server, we have a bucket with 24GB RAM quota, also it has 30.4 million items which was stored in 4 data files of 139GB per data file, 556GB in total. &lt;br/&gt;
After rebooting the server it took 391577 seconds to reload this bucket - 4 days and 12 hours! &lt;br/&gt;
This feature would be greatly appreciated.</comment>
                    <comment id="32140" author="peter" created="Thu, 5 Jul 2012 19:55:43 -0500"  >Already addressed by new warmup implementation.</comment>
                    <comment id="32143" author="dipti" created="Thu, 5 Jul 2012 20:02:27 -0500"  >Opening service based on a configurable number of items / % of RAMs is not in 2.0 and is meant for a future release. </comment>
                    <comment id="32144" author="dipti" created="Thu, 5 Jul 2012 20:02:55 -0500"  >will be prioritized for a future release</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="11706">MB-1697</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 25 Aug 2010 22:53:56 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>892</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-1875] Our log contains information about the target system we shouldn&apos;t reveal</title>
                <link>http://www.couchbase.com/issues/browse/MB-1875</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>The log contains a list of _all_ of the filesystems I&amp;#39;ve got on my system, and we certainly don&amp;#39;t need information about all of my users home directories, all my installed applications etc.&lt;br/&gt;
&lt;br/&gt;
Instead of listing all of the filesystems we should generate an entry if the filesystem we&amp;#39;re configured to use for data storage doesn&amp;#39;t contain enough free space.&lt;br/&gt;
&lt;br/&gt;
We might ask the user to send us the logs, and they shouldn&amp;#39;t have to edit the logs before sending them to us. This sounds to me like the good old Microsoft reports that contained list of all installed software on the machine....</description>
                <environment>Operating System: All&lt;br/&gt;
Platform: All</environment>
            <key id="11884">MB-1875</key>
            <summary>Our log contains information about the target system we shouldn&apos;t reveal</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="trond@northscale.com">Trond Norbye</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Aug 2010 05:48:07 -0500</created>
                <updated>Tue, 12 Jun 2012 18:59:22 -0500</updated>
                                    <version>1.6.0 beta3</version>
                                <fixVersion>.next</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="16477" author="sharon.barr@northscale.com" created="Wed, 18 Aug 2010 05:50:50 -0500"  >Sounds like a privacy issue. we should clean it.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 18 Aug 2010 05:50:50 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>888</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7737] Swap usage shoots up with view querying or indexing</title>
                <link>http://www.couchbase.com/issues/browse/MB-7737</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>- Setup a 7 node cluster,&lt;br/&gt;
- RAM (for each physical machine): ~32GB&lt;br/&gt;
- create 2 buckets: default (bucket quota: 12000MB per node) and saslbucket (bucket quota: 7000MB per node)&lt;br/&gt;
- run a load (with just creates), until the item count hits a mark&lt;br/&gt;
- create 2 views over each of the buckets&lt;br/&gt;
- Run load that pushes system into DGM, ~80% resident ratio for default, and ~60% resident ratio for saslbucket &lt;br/&gt;
- Run queries continuously against the views as the load continues.&lt;br/&gt;
(for e.g.: &lt;br/&gt;
curl -X GET &amp;#39;&lt;a href=&quot;http://10.1.3.235:8092/default/_design/d1/_view/v1?startkey=0&amp;stale=ok&amp;limit=1000&amp;#39;)&quot;&gt;http://10.1.3.235:8092/default/_design/d1/_view/v1?startkey=0&amp;amp;stale=ok&amp;amp;limit=1000&amp;amp;#39;)&lt;/a&gt;&lt;br/&gt;
- Noticed the increased swap usage.&lt;br/&gt;
- Start a new mixed load on both the buckets (creates, updates, deletes, expires).&lt;br/&gt;
- Setup XDCR to another 5 node cluster.&lt;br/&gt;
- Continue querying, noticed considerable increase in swap usage.&lt;br/&gt;
</description>
                <environment>Seen on the latest few builds&lt;br/&gt;
Observed on:&lt;br/&gt;
2.0.1-153 Linux&lt;br/&gt;
4 Core 30GB SSD machines&lt;br/&gt;
</environment>
            <key id="22683">MB-7737</key>
            <summary>Swap usage shoots up with view querying or indexing</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="abhinav">Abhinav Dangeti</assignee>
                                <reporter username="abhinav">Abhinav Dangeti</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Feb 2013 19:04:57 -0600</created>
                <updated>Wed, 27 Feb 2013 16:00:39 -0600</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="50370" author="jin" created="Wed, 13 Feb 2013 19:17:08 -0600"  >Abhinav,&lt;br/&gt;
If available please provide more information regarding test environment setup and test scenario (manual steps to reproduce or test suite, etc). &lt;br/&gt;
Also, can you please confirm if this is a regression or existing since 2.0.0. Please assign back to Jin after the requested info. Thanks!</comment>
                    <comment id="50371" author="farshid" created="Wed, 13 Feb 2013 19:25:32 -0600"  >This is an existing behavior from 2.0 and the bug is opened as placeholder where system test team keeps adding more information based on the weekly runs.&lt;br/&gt;
&lt;br/&gt;
Abhinav,&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
please add the test spec and the hardware which this test runs on ( things like how many buckets , how much ram left for indexing )..</comment>
                    <comment id="50431" author="mikew" created="Thu, 14 Feb 2013 12:43:48 -0600"  >I also want to note here that memcached is pretty good about using roughly the memory it has been told it can use. If ns_server or couchdb are using too much memory when running view related tasks and pushing memcached into swap then I think this issue should be addressed from the ns_server/couchdb side. On the other hand if memcached is using more memory than it is told it can use then the ep-engine team should be looking at this.</comment>
                    <comment id="50736" author="farshid" created="Mon, 18 Feb 2013 16:44:50 -0600"  >this is seen on performance tests as well.&lt;br/&gt;
&lt;br/&gt;
test case &lt;br/&gt;
&lt;br/&gt;
vperf&#8722;lnx.conf&lt;br/&gt;
# View performance test for Linux:&lt;br/&gt;
# 8K ops/sec&lt;br/&gt;
# 80% reads, 20% write (12% updates/deletes, 8% inserts)&lt;br/&gt;
# 8M dataset (non&#8722;DGM)&lt;br/&gt;
# Stop after 6M total queries&lt;br/&gt;
# 3 ddocs with 3 views per ddoc&lt;br/&gt;
performance.iperf.MultiClientTests.test_vperf&lt;br/&gt;
params:&lt;br/&gt;
# general&lt;br/&gt;
batch=50&lt;br/&gt;
kind=json&lt;br/&gt;
mem_quota=15000&lt;br/&gt;
# load phase&lt;br/&gt;
items=8000000&lt;br/&gt;
hot_init_items=1000&lt;br/&gt;
# index phase&lt;br/&gt;
views=[3, 3, 3]&lt;br/&gt;
# access phase&lt;br/&gt;
ratio_sets=0.2&lt;br/&gt;
ratio_misses=0.04&lt;br/&gt;
ratio_creates=0.40&lt;br/&gt;
ratio_deletes=0.50&lt;br/&gt;
ratio_hot=0.2&lt;br/&gt;
ratio_hot_gets=0.95&lt;br/&gt;
ratio_hot_sets=0.95&lt;br/&gt;
ratio_expirations=0.03&lt;br/&gt;
bg_max_ops_per_sec=500&lt;br/&gt;
fg_max_ops=6000000&lt;br/&gt;
total_clients=16&lt;br/&gt;
# control (defaults: pytests/performance/perf_defaults.py)&lt;br/&gt;
load_wait_until_drained=1&lt;br/&gt;
loop_wait_until_drained=0&lt;br/&gt;
mcsoda_heartbeat=3&lt;br/&gt;
tear_down=1&lt;br/&gt;
tear_down_proxy=1&lt;br/&gt;
tear_down_bucket=0&lt;br/&gt;
tear_down_cluster=1&lt;br/&gt;
tear_down_on_setup=0</comment>
                    <comment id="50871" author="farshid" created="Tue, 19 Feb 2013 16:54:51 -0600"  >abhinav,&lt;br/&gt;
&lt;br/&gt;
please rephrase :&lt;br/&gt;
&lt;br/&gt;
- create 2 buckets: default (RAM: 12000MB per node) and saslbucket (RAM: 7000MB per node) &lt;br/&gt;
to&lt;br/&gt;
&lt;br/&gt;
- create 2 buckets: default (bucket qouta: 12000MB per node) and saslbucket (qouta: 7000MB per node) &lt;br/&gt;
&lt;br/&gt;
also how much RAM does each physica machine have ?&lt;br/&gt;
</comment>
                    <comment id="50988" author="abhinav" created="Wed, 20 Feb 2013 15:18:47 -0600"  >*Added in description</comment>
                    <comment id="51025" author="jin" created="Wed, 20 Feb 2013 18:02:37 -0600"  >Per bug scrubs:&lt;br/&gt;
* not a regression from 2.0 (2.0 must have this issue as well)&lt;br/&gt;
* swappiness set = 10 &amp;amp; swap memory = 5G&lt;br/&gt;
* will need to start looking at it now</comment>
                </comments>
                    <attachments>
                    <attachment id="16749" name="Screen Shot 2013-02-13 at 4.46.23 PM.png" size="126898" author="abhinav" created="Wed, 13 Feb 2013 19:04:57 -0600" />
                    <attachment id="16771" name="Screen Shot 2013-02-18 at 2.38.32 PM.png" size="36318" author="farshid" created="Mon, 18 Feb 2013 16:48:03 -0600" />
                    <attachment id="16772" name="vperf-lnx.loop_2.0.1-153-rel-enterprise_2.0.1-153-rel-enterprise_VESTA_Feb-11-2013_15-40-09.pdf" size="2666398" author="farshid" created="Mon, 18 Feb 2013 16:48:03 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Feb 2013 19:17:08 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8810</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7514] Monitoring and Best Practices Out of Date/Incorrect</title>
                <link>http://www.couchbase.com/issues/browse/MB-7514</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Intake from Perry on Server Guide:&lt;br/&gt;
&lt;br/&gt;
-We also severely need to update our best practices and monitoring guides.  These pages are very out of date (and in some cases, patently incorrect):&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-ongoing.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-ongoing.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-ongoing-ui.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-ongoing-ui.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-monitoring.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-monitoring.html&lt;/a&gt;</description>
                <environment></environment>
            <key id="21698">MB-7514</key>
            <summary>Monitoring and Best Practices Out of Date/Incorrect</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="kzeller">Karen Zeller</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Jan 2013 13:49:16 -0600</created>
                <updated>Thu, 2 May 2013 16:39:58 -0500</updated>
                                    <version>2.0</version>
                                                <component>documentation</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48664" author="kzeller" created="Fri, 25 Jan 2013 13:26:21 -0600"  >MC- It would be great if you can sync with Perry these next few weeks and 1) get details from Perry, 2) start updating in chapter, and 3) prepare handoff/list-of-info of anything that can&amp;#39;t be completed in next few weeks. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Karen&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2986</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-1143] Allow for &quot;grouping&quot; servers for replication affinity (rack awareness)</title>
                <link>http://www.couchbase.com/issues/browse/MB-1143</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Customer wants to configure replication so that copies of data are kept in separate racks within a data center to mitigate power failures and/or Amazon EC2 (or other cloud) &amp;quot;zones&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Will need UI/management control as well as underlying ns_server improvements.</description>
                <environment>Operating System: All&lt;br/&gt;
Platform: All</environment>
            <key id="11152">MB-1143</key>
            <summary>Allow for &quot;grouping&quot; servers for replication affinity (rack awareness)</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                    </labels>
                <created>Tue, 15 Jun 2010 18:24:59 -0500</created>
                <updated>Fri, 3 May 2013 02:33:00 -0500</updated>
                                    <version>1.6.0 beta1</version>
                <version>1.8.1</version>
                <version>2.0</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="14542" author="steve.yen@northscale.com" created="Tue, 15 Jun 2010 18:44:21 -0500"  >cc&amp;#39;ing more of the crew, as I believe this is probably on their minds already.</comment>
                    <comment id="14543" author="steve.yen@northscale.com" created="Wed, 15 Sep 2010 00:07:05 -0500"  >Assigning to Frank for roadmap-ization.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="21556">MB-7478</issuekey>
        </issuelink>
                    </outwardlinks>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="22024">MB-7616</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22025">MB-7617</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 15 Jun 2010 18:44:21 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>518</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-7965] bucket-flush takes over 8 seconds to complete on an empty bucket</title>
                <link>http://www.couchbase.com/issues/browse/MB-7965</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Simply running bucket-flush from the CLI takes over 8 seconds to return when run against a bucket with no items in it.</description>
                <environment></environment>
            <key id="23376">MB-7965</key>
            <summary>bucket-flush takes over 8 seconds to complete on an empty bucket</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>PM-PRIORITIZED</label>
                        <label>customer</label>
                    </labels>
                <created>Mon, 25 Mar 2013 18:50:08 -0500</created>
                <updated>Wed, 8 May 2013 09:43:19 -0500</updated>
                                    <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="53474" author="alkondratenko" created="Mon, 25 Mar 2013 19:57:32 -0500"  >This is duplicated somewhere. Mike currently owns this issue.</comment>
                    <comment id="55815" author="maria" created="Mon, 22 Apr 2013 18:19:26 -0500"  >hi mike, do u have the orig bug number? if you can locate it, can u update this bug so I can close this one? thanks.</comment>
                    <comment id="55834" author="mikew" created="Mon, 22 Apr 2013 18:43:55 -0500"  >I didn&amp;#39;t know we had another one. Also moving to 2.1.</comment>
                    <comment id="57370" author="dipti" created="Tue, 7 May 2013 00:48:29 -0500"  >Can&amp;#39;t find any duplicate bug for this issue. </comment>
                    <comment id="57372" author="dipti" created="Tue, 7 May 2013 00:52:42 -0500"  >Duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6232&quot; title=&quot;ep-engine needs 1.5 minutes to create 1k vbuckets. Seems too slow (but gets fast with barrier=0)&quot;&gt;MB-6232&lt;/a&gt;</comment>
                    <comment id="57448" author="alkondratenko" created="Tue, 7 May 2013 13:58:20 -0500"  >Last customer (and restricted) comment actually looks like some unrelated bug. Please proceed with CBSE and feel free to assign to me.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Mar 2013 19:57:32 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10206</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-8211] making lots of streaming connections in general, or lots of streaming connections in a short period of time causes unexpected resource usage and/or crashing owing to OOM</title>
                <link>http://www.couchbase.com/issues/browse/MB-8211</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Going into version 2.0, we&amp;#39;d integrated changes that make handling of many streaming connections much less expensive in terms of memory, but there is some evidence that creating a lot of them at the same time or creating a large number of streaming connections could cause instability and crashing in ns_server.&lt;br/&gt;
&lt;br/&gt;
Note that in the case of PHP deployments, we&amp;#39;ve found the number of worker processes to be 256, 512, or 5000 processes in some deployments.  That is per server.&lt;br/&gt;
&lt;br/&gt;
Then, deployments can be 50 or more systems.&lt;br/&gt;
&lt;br/&gt;
Thus, we could have 12,000+ or 25,000+ or 250,000 processes which may all try to connect to a cluster.&lt;br/&gt;
&lt;br/&gt;
This issue is to track possible solutions to this kind of thing occurring.&lt;br/&gt;
&lt;br/&gt;
Possible solutions could be to drop connections or to only allow a number of connections tested to work in our minimum system configuration.&lt;br/&gt;
&lt;br/&gt;
Note that at the client library side we have a method of sharing the configuration between multiple processes.  However, it is not currently a complete solution and may never be because:&lt;br/&gt;
- It is not on by default as it requires the configuration of a file path.&lt;br/&gt;
- In some cases, during a rebalance, we can still have a rush of processes trying to get a configuration.&lt;br/&gt;
- We do not currently have a good solution for updating the configuration quickly if it&amp;#39;s a memcached type bucket, as there is no NOT_MY_VBUCKET response.&lt;br/&gt;
&lt;br/&gt;
Even if we can solve all of those issues at the client library side, a bug or an very large number of client systems can still cause problems, so we will need ns_server to be reliable even in the face of lots of requests.</description>
                <environment>Note this is not centos-64 bit, but we now require OS as a field even if it&amp;#39;s OS independent.</environment>
            <key id="24104">MB-8211</key>
            <summary>making lots of streaming connections in general, or lots of streaming connections in a short period of time causes unexpected resource usage and/or crashing owing to OOM</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 18:23:07 -0500</created>
                <updated>Wed, 8 May 2013 12:51:10 -0500</updated>
                                    <version>2.0</version>
                                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="57576" author="perry" created="Wed, 8 May 2013 12:51:10 -0500"  >From Matt:&lt;br/&gt;
I would argue that if ns-server starts defending itself and logging, we&amp;#39;ll fail in a far more reliable way.&lt;br/&gt;
&lt;br/&gt;
For instance, if the customer has thousands of PHP clients and they start throwing exceptions when trying to initialize, we&amp;#39;ll be in a position to ask them to turn on the configuration cache. Right now, the failure is much harder to diagnose (requires someone to analyze logs).&lt;br/&gt;
&lt;br/&gt;
From Perry:&lt;br/&gt;
I fully agree with Matt.  We are frequently running into situations where it takes a few iterrations back and forth to even understand what the issue is...the symptoms range from general slowness, to timeouts, to crashes.  If we have a much clearer failure mode it will allow immense shortcutting of investigation down to the solution.  It&amp;#39;s something we can document, we can write about, we can share with the support team, etc.&lt;br/&gt;
&lt;br/&gt;
So from my perspective there are two things we can do and should probably do both:&lt;br/&gt;
1) Improve ns_server&amp;#39;s general behavior as much as reasonably possible to prevent it from using so much memory and causing timeouts, etc.  I think this is somewhat captured in &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-8033&quot; title=&quot;Document &amp;amp; cleanup our REST API&quot;&gt;MB-8033&lt;/a&gt; but may need further discussion&lt;br/&gt;
2) Provide some mechanism where ns_server will actively refuse new connections after a certain rate or threshold and provide a captureable message back to the requester stating &amp;quot;this server is currently overloaded...perhaps you&amp;#39;d like to not create so many client connections all at once&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
Further thoughts?  Disagreements?  Code changes?  :)</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 8 May 2013 12:51:10 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Operating System</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10020"><![CDATA[Centos 64-bit]]></customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11054</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8207] moxi does not allow a noop before authentication on binary protocol</title>
                <link>http://www.couchbase.com/issues/browse/MB-8207</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>We had added a feature to spymemcached based on a Couchbase user&amp;#39;s request to detect hung processes.  This tries to complete a noop before doing auth.&lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s fine against memcached/ep-engine in all cases, and it appears to be fine for ascii (where there is no authentication and it fails back to the version command), but moxi does not seem to allow auth after the noop.  This may be because it&amp;#39;s expecting the first command to wire it up to a downstream for the &amp;quot;gateway&amp;quot; moxi?&lt;br/&gt;
&lt;br/&gt;
We&amp;#39;re going to search for a workaround, but I wanted to make sure this issue was known.&lt;br/&gt;
&lt;br/&gt;
See also:&lt;br/&gt;
&lt;a href=&quot;https://code.google.com/p/spymemcached/issues/detail?id=272&amp;thanks=272&amp;ts=1364702110&quot;&gt;https://code.google.com/p/spymemcached/issues/detail?id=272&amp;amp;thanks=272&amp;amp;ts=1364702110&lt;/a&gt;&lt;br/&gt;
and&lt;br/&gt;
&lt;a href=&quot;https://github.com/mumoshu/play2-memcached/issues/17&quot;&gt;https://github.com/mumoshu/play2-memcached/issues/17&lt;/a&gt;</description>
                <environment></environment>
            <key id="24087">MB-8207</key>
            <summary>moxi does not allow a noop before authentication on binary protocol</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ronnie">Ronnie Sun</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 10:46:08 -0500</created>
                <updated>Wed, 8 May 2013 15:16:05 -0500</updated>
                                    <version>2.0</version>
                                                <component>moxi</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="57619" author="maria" created="Wed, 8 May 2013 15:16:05 -0500"  >per bug triage, assigning to ronnie.&lt;br/&gt;
ronnie --- pls take a look. thanks.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 8 May 2013 15:16:05 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11040</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-4030] After two nodes crashed, curr_items remained 0 after warmup for extended period of time</title>
                <link>http://www.couchbase.com/issues/browse/MB-4030</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>we had two nodes crash at Tribal Crossing, possibly related to a disk space issue, but I don&amp;#39;t think so.  &lt;br/&gt;
&lt;br/&gt;
After they crashed, the nodes warmed up relatively quickly, but immediately &amp;quot;discarded&amp;quot; their items.  I say that because I see that they warmed up ~10m items, but the current item counts were both 0.&lt;br/&gt;
&lt;br/&gt;
I tried shutting down the service and had to kill memcached manually (kill  -9).  Restarting it went through the same process of warming up and then nothing.&lt;br/&gt;
&lt;br/&gt;
While I was looking around, I left it sit for a little while and magically all of the items came back.  I seem to recall this bug previously where a node wouldn&amp;#39;t be told to be active until all the nodes in the cluster were active...and it got into trouble when not all of the nodes restarted.&lt;br/&gt;
&lt;br/&gt;
Diags for all nodes will be attached</description>
                <environment></environment>
            <key id="14470">MB-4030</key>
            <summary>After two nodes crashed, curr_items remained 0 after warmup for extended period of time</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="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Wed, 6 Jul 2011 04:11:02 -0500</created>
                <updated>Sun, 17 Mar 2013 23:05:03 -0500</updated>
                                    <version>1.7 GA</version>
                <version>1.8.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="21300" author="perry" created="Wed, 6 Jul 2011 04:37:05 -0500"  >Full set of logs at \\corp-fs1\export_support_cases\bug_4030</comment>
                    <comment id="25001" author="alkondratenko" created="Tue, 20 Mar 2012 19:00:56 -0500"  >It _is_ ns_server issue caused by janitor needing all nodes to be up for vbuckets activation. We planned fix for 1.8.1 (now 1.8.2)</comment>
                    <comment id="25002" author="alkondratenko" created="Tue, 20 Mar 2012 19:01:11 -0500"  >Fix would land as part of fast warmup integration</comment>
                    <comment id="33418" author="perry" created="Wed, 18 Jul 2012 15:51:04 -0500"  >Peter, can we get a second look at this one?  We&amp;#39;ve seen this before, and the problem is that the janitor did not run until all nodes had joined the cluster and warmed up.  I&amp;#39;m not sure we&amp;#39;ve fixed that already...</comment>
                    <comment id="33450" author="alkondratenko" created="Wed, 18 Jul 2012 16:33:53 -0500"  >Latest 2.0 will mark nodes as green and enable memcached traffic when all of them are up. So easy part is done.&lt;br/&gt;
&lt;br/&gt;
Partial janitor (i.e. enabling traffic for some nodes when others are still down/warming up) is something that will unlikely be done soon</comment>
                    <comment id="33454" author="perry" created="Wed, 18 Jul 2012 16:40:55 -0500"  >Thanks Alk...what&amp;#39;s the difference in behavior (in this area) between 1.x and 2.0?  It &amp;quot;sounds&amp;quot; like they&amp;#39;re the same, no?&lt;br/&gt;
&lt;br/&gt;
And this bug should still remain open until we fix the primary issue which is the partial janitor...correct?</comment>
                    <comment id="33455" author="alkondratenko" created="Wed, 18 Jul 2012 16:46:16 -0500"  >1.8.1 will show node as green when ep-engine thinks it&amp;#39;s warmed up. But confusingly it&amp;#39;ll not be really ready. All vbuckets will be in state dead and curr_items will be 0.&lt;br/&gt;
&lt;br/&gt;
2.0 fixes this confusion. Node is marked green when it&amp;#39;s actually warmed up from user&amp;#39;s perspective. I.e. right vbucket states are set and it&amp;#39;ll serve clients traffic.&lt;br/&gt;
&lt;br/&gt;
2.0 is still very conservative about only making vbucket state changes when all nodes are up and warmed up. Thats &amp;quot;impartial&amp;quot; janitor. Whether it&amp;#39;s a bug or &amp;quot;lack of feature&amp;quot; is debatable. But I think main concern that users are confused  by green-ness of nodes is resolved.</comment>
                    <comment id="33488" author="alkondratenko" created="Wed, 18 Jul 2012 19:31:23 -0500"  >Closing as fixed. We&amp;#39;ll get to partial janitor some day in future which is feature we lack today, not bug we have IMHO</comment>
                    <comment id="43784" author="perry" created="Mon, 12 Nov 2012 04:50:46 -0600"  >Reopening this for the need for partial janitor.  Recent customer had multiple nodes need to be hard-booted and none returned to service until all were warmed up</comment>
                    <comment id="43806" author="steve" created="Mon, 12 Nov 2012 13:36:01 -0600"  >bug-scrub: moving out of 2.0, as this looks like a feature req.</comment>
                    <comment id="43885" author="farshid" created="Tue, 13 Nov 2012 08:22:18 -0600"  >in system testing we have noticed many times that if multiple nodes crash until all nodes are warmed up node status for those that are already warmed up appears as yellow.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
user won&amp;#39;t be able to understand which node has successfully warmed up from the console and if one node is actually not recovering or not warm up in a reasonable time they have to figure it out some other way ( cbstats ... ) &lt;br/&gt;
&lt;br/&gt;
another issue with this is that user won&amp;#39;t be able to perform a fail over for 1 node even though N-1 nodes has warmed up already.&lt;br/&gt;
&lt;br/&gt;
i am not sure if fixing this bug will impact cluster-restore functionality but something important to fix or suggest a workaround to the user ( by workaround i mean a documented , tested and supported set of commands )</comment>
                    <comment id="52952" author="mikew" created="Sun, 17 Mar 2013 23:05:03 -0500"  >Comments say this is an ns_server issue so I am removing couchbase-bucket from affected components. Please re-add if there is a couchbase-bucket task for this issue.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 20 Mar 2012 19:00:56 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2825</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                                </customfields>
    </item>

<item>
            <title>[MB-7930] Find a way to avoid creating too many erlang crash dumps</title>
                <link>http://www.couchbase.com/issues/browse/MB-7930</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>We have some new code that ensures unique names of erlang crash dumps. That&amp;#39;s useful for preserving multiple different crashes. But it&amp;#39;s also dangerous w.r.t. filling disk with those crash dumps. It&amp;#39;ll be more dangerous with babysitting VM change.</description>
                <environment></environment>
            <key id="23259">MB-7930</key>
            <summary>Find a way to avoid creating too many erlang crash dumps</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Mar 2013 12:42:19 -0500</created>
                <updated>Fri, 10 May 2013 13:49:39 -0500</updated>
                                    <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="55925" author="maria" created="Tue, 23 Apr 2013 13:31:04 -0500"  >alk, can we limit the number of crash dumps?</comment>
                    <comment id="56340" author="maria" created="Fri, 26 Apr 2013 16:18:39 -0500"  >assigning to alk k to take a look.</comment>
                    <comment id="57818" author="maria" created="Fri, 10 May 2013 13:49:39 -0500"  >moving to 2.1</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 23 Apr 2013 13:31:04 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10080</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8008] [system test]rebalance failure due to bad replicators after rebalance</title>
                <link>http://www.couchbase.com/issues/browse/MB-8008</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Install couchbase server 2.0.1-185 on 9 windows ssd vms.&lt;br/&gt;
Create a cluster with 7 nodes &lt;br/&gt;
10.3.121.173 &lt;br/&gt;
10.3.121.169 &lt;br/&gt;
10.3.121.171 &lt;br/&gt;
10.3.3.214 &lt;br/&gt;
10.3.121.47 &lt;br/&gt;
10.3.3.180&lt;br/&gt;
10.3.3.181&lt;br/&gt;
&lt;br/&gt;
Create 2 buckets:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;quot;buckets&amp;quot; : {&amp;quot;default&amp;quot; : {&amp;quot;quota&amp;quot;: &amp;quot;3500 MB&amp;quot;, &amp;quot;replicas&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;replica_index&amp;quot;: &amp;quot;enable&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;sasl&amp;quot;: {&amp;quot;count&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;quota&amp;quot;: &amp;quot;2000MB&amp;quot;, &amp;quot;replicas&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;replica_index&amp;quot;: &amp;quot;disable&amp;quot;}}&lt;br/&gt;
&lt;br/&gt;
Create 2 design docs:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;quot;ddocs&amp;quot; : {&amp;quot;create&amp;quot;: [{&amp;quot;ddoc&amp;quot;:&amp;quot;ddoc1&amp;quot;, &amp;quot;view&amp;quot;:&amp;quot;view1&amp;quot;, &amp;quot;map&amp;quot;:&amp;quot;function(doc,meta){emit(doc.city,null);}&amp;quot;, &amp;quot;bucket&amp;quot;:&amp;quot;default&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;ddoc&amp;quot;:&amp;quot;ddoc1&amp;quot;, &amp;quot;view&amp;quot;:&amp;quot;view2&amp;quot;, &amp;quot;map&amp;quot;:&amp;quot;function(doc,meta){emit(doc.city, [doc.st, doc.email]);}&amp;quot;, &amp;quot;bucket&amp;quot;:&amp;quot;default&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;ddoc&amp;quot;:&amp;quot;ddoc2&amp;quot;, &amp;quot;view&amp;quot;:&amp;quot;view1&amp;quot;, &amp;quot;map&amp;quot;:&amp;quot;function(doc,meta){emit(doc.city,null);}&amp;quot;, &amp;quot;bucket&amp;quot;:&amp;quot;saslbucket&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;ddoc&amp;quot;:&amp;quot;ddoc2&amp;quot;, &amp;quot;view&amp;quot;:&amp;quot;view2&amp;quot;, &amp;quot;map&amp;quot;:&amp;quot;function(doc,meta){emit(doc.city, [doc.st, doc.email]);}&amp;quot;, &amp;quot;bucket&amp;quot;:&amp;quot;saslbucket&amp;quot;}]}&lt;br/&gt;
&lt;br/&gt;
no xdcr created&lt;br/&gt;
&amp;nbsp;&lt;br/&gt;
Load 20+ million items to both bucket until resident ratio on both bucket around 70% &lt;br/&gt;
Access cluster in 3 hours with spec in this page and run query with 200~500 ops per second on both buckets &lt;br/&gt;
5% expire - 5% delete - 5% add - 5% update , 80% gets - 3 hours access phase for default&lt;br/&gt;
70% expire - 20% delete - 5% add - 5% gets - 3 hours access phase for saslbucket&lt;br/&gt;
&lt;br/&gt;
Then the test go through a &amp;quot;swap rebalance the orchestrator node&amp;quot; phase and a &amp;quot;rebalance in one node&amp;quot; phase&lt;br/&gt;
In &amp;quot;rebalance out one node&amp;quot; phase, rebalance failed with error:&lt;br/&gt;
&lt;br/&gt;
Started rebalancing bucket saslbucket	ns_rebalancer000	&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;	03:42:54 - Sat Mar 30, 2013&lt;br/&gt;
Starting rebalance, KeepNodes = [&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.243&apos;&gt;ns_1@10.3.121.243&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.47&apos;&gt;ns_1@10.3.121.47&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.182&apos;&gt;ns_1@10.3.3.182&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.214&apos;&gt;ns_1@10.3.3.214&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&lt;br/&gt;
&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.169&apos;&gt;ns_1@10.3.121.169&lt;/a&gt;&amp;#39;], EjectNodes = [&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.173&apos;&gt;ns_1@10.3.121.173&lt;/a&gt;&amp;#39;]&lt;br/&gt;
ns_orchestrator004	&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;	03:42:54 - Sat Mar 30, 2013&lt;br/&gt;
&lt;br/&gt;
Bad replicators after rebalance:&lt;br/&gt;
Missing = [{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,173},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,174},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,175},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,176},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,177},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,178},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,246},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,247},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,248},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,249},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,250},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,251},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,252},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,253},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,254},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,255},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,256},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,257},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,258},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,259},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,260},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,261},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,262},&lt;br/&gt;
{&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;&amp;#39;,&amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.3.181&apos;&gt;ns_1@10.3.3.181&lt;/a&gt;&amp;#39;,263}]&lt;br/&gt;
Extras = []	ns_rebalancer002	&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;	06:18:36 - Sat Mar 30, 2013&lt;br/&gt;
Rebalance exited with reason bad_replicas ns_orchestrator002	&lt;a href=&apos;mailto:ns_1@10.3.121.171&apos;&gt;ns_1@10.3.121.171&lt;/a&gt;	06:18:36 - Sat Mar 30, 2013&lt;br/&gt;
Shutting down bucket &amp;quot;saslbucket&amp;quot; on &amp;#39;&lt;a href=&apos;mailto:ns_1@10.3.121.173&apos;&gt;ns_1@10.3.121.173&lt;/a&gt;&amp;#39; for deletion	ns_memcached002 &lt;a href=&apos;mailto:ns_1@10.3.121.173&apos;&gt;ns_1@10.3.121.173&lt;/a&gt;	06:18:37 - Sat Mar 30, 2013&lt;br/&gt;
&lt;br/&gt;
Link to manifest file of this build &lt;a href=&quot;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.setup.exe.manifest.xml&quot;&gt;http://builds.hq.northscale.net/latestbuilds/couchbase-server-community_x86_64_2.0.1-185-rel.setup.exe.manifest.xml&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
Diags link &lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/9ssd-win2.0.1-185-ns-diag-20130330.txt.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/9ssd-win2.0.1-185-ns-diag-20130330.txt.zip&lt;/a&gt;</description>
                <environment>windows server 2008 R2 64bit ssd vms</environment>
            <key id="23497">MB-8008</key>
            <summary>[system test]rebalance failure due to bad replicators after rebalance</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="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="Chisheng">Chisheng Hong</reporter>
                        <labels>
                        <label>system-test</label>
                        <label>windows</label>
                    </labels>
                <created>Tue, 2 Apr 2013 11:56:09 -0500</created>
                <updated>Mon, 13 May 2013 14:27:43 -0500</updated>
                                    <version>2.0.1</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="54083" author="maria" created="Tue, 2 Apr 2013 17:24:09 -0500"  >moving to 2.0.2.</comment>
                    <comment id="55203" author="maria" created="Tue, 16 Apr 2013 13:36:23 -0500"  >siri will do profiling and may need help from alk.</comment>
                    <comment id="55239" author="kzeller" created="Tue, 16 Apr 2013 16:20:29 -0500"  >Confirmed with Abhinav 4/16 - not a RN candidate</comment>
                    <comment id="58045" author="maria" created="Mon, 13 May 2013 14:27:43 -0500"  >per bug triage, bumping up to critical.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 2 Apr 2013 17:24:09 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10330</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8040] 2.0 needs to support use couchbase for all the REST endpoints. (no membase)</title>
                <link>http://www.couchbase.com/issues/browse/MB-8040</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&amp;quot;Part of membase -&amp;gt; couchbase transition is renaming of bucket type.&lt;br/&gt;
&lt;br/&gt;
But because we also need to support mixed clusters for rebalance upgrade we&amp;#39;ll have to handle both membase and couchbase bucket types internally. We won&amp;#39;t upgrade membase -&amp;gt; couchbase during upgrade. But rather new buckets will be created with type couchbase.&lt;br/&gt;
&lt;br/&gt;
Heres relevant parts from emails from 1.8 rebranding times:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
From: Matt Ingenthron &amp;lt;&lt;a href=&apos;mailto:matt@couchbase.com&apos;&gt;matt@couchbase.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Date: Wed, 30 Nov 2011 14:41:44 -0800&lt;br/&gt;
To: Dipti Borkar &amp;lt;&lt;a href=&apos;mailto:dipti@couchbase.com&apos;&gt;dipti@couchbase.com&lt;/a&gt;&amp;gt;, Aliaksey &amp;lt;&lt;a href=&apos;mailto:alkondratenko@gmail.com&apos;&gt;alkondratenko@gmail.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Cc: Benjamin Young &amp;lt;&lt;a href=&apos;mailto:benjamin@couchbase.com&apos;&gt;benjamin@couchbase.com&lt;/a&gt;&amp;gt;, mgmt_dev &amp;lt;&lt;a href=&apos;mailto:mgmt_dev@couchbase.com&apos;&gt;mgmt_dev@couchbase.com&lt;/a&gt;&amp;gt;, Frank Weigel &amp;lt;&lt;a href=&apos;mailto:frank@couchbase.com&apos;&gt;frank@couchbase.com&lt;/a&gt;&amp;gt;, Perry Krug &amp;lt;&lt;a href=&apos;mailto:perry@couchbase.com&apos;&gt;perry@couchbase.com&lt;/a&gt;&amp;gt;, Farshid Ghods &amp;lt;&lt;a href=&apos;mailto:farshid@couchbase.com&apos;&gt;farshid@couchbase.com&lt;/a&gt;&amp;gt;, sdk_dev &amp;lt;&lt;a href=&apos;mailto:sdk_dev@couchbase.com&apos;&gt;sdk_dev@couchbase.com&lt;/a&gt;&amp;gt;, Steve Yen &amp;lt;&lt;a href=&apos;mailto:steve@couchbase.com&apos;&gt;steve@couchbase.com&lt;/a&gt;&amp;gt;, MC Brown &amp;lt;&lt;a href=&apos;mailto:mc@couchbase.com&apos;&gt;mc@couchbase.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
&lt;br/&gt;
Subject: Re: Renaming buckettype from membase to couchbase in 1.8.0&lt;br/&gt;
&lt;br/&gt;
Alk brought up one other case which hasn&amp;#39;t been considered though.  What about mixed clusters?&lt;br/&gt;
&lt;br/&gt;
I think the answer is that it *should* say &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot; from all nodes if possible.  If that&amp;#39;s too hard, it&amp;#39;s okay for some to say &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; and some to say &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot;, but the key thing is that after rebalancing out all 1.8 nodes, it should say &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
Dipti: if you agree, please let Alk know.&lt;br/&gt;
&lt;br/&gt;
(alk: this is in-line reply by Dipti)&lt;br/&gt;
Yes, agreed. ns_server needs to be able to handle both types to handle upgrades. &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Matt&lt;br/&gt;
&lt;br/&gt;
p.s.: I hope we&amp;#39;re starting testing of upgrade from 1.8 to 2.0 early, so we can wring out any problems to avoid forcing people to take an incremental patch of 1.8 just so they can get to 2.0.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
On 11/30/11 2:36 PM, &amp;quot;&amp;quot;Dipti Borkar&amp;quot;&amp;quot; &amp;lt;&lt;a href=&apos;mailto:dipti@couchbase.com&apos;&gt;dipti@couchbase.com&lt;/a&gt;&amp;gt; wrote:&lt;br/&gt;
&lt;br/&gt;
Frank, Matt and I talked about it today and agreed on the following. &lt;br/&gt;
&lt;br/&gt;
For 1.8.0 &lt;br/&gt;
UI reflects &amp;quot;&amp;quot;Couchbase&amp;quot;&amp;quot; as the bucket type  &amp;#xE2;&#8364;&amp;quot; on the Manage data buckets page and on the Create bucket page &lt;br/&gt;
REST API &lt;br/&gt;
Post takes in both &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; or &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot; as bucket type but internally, it is still stored as &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; (most people will continue to use membase until they are forced to change it to 2.0&lt;br/&gt;
Get sends back &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; as buckettype&lt;br/&gt;
Documentation section on deprecation will list buckettype &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; as deprecated in 1.8.0  &lt;br/&gt;
For 2.0 &lt;br/&gt;
REST API &lt;br/&gt;
Post takes in both &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; or &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot; as bucket type and is  stored as &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot;&lt;br/&gt;
Get sends back &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot; as buckettype&lt;br/&gt;
Documentation release notes will mention that  buckettype &amp;quot;&amp;quot;membase&amp;quot;&amp;quot; was deprecated and &amp;quot;&amp;quot;couchbase&amp;quot;&amp;quot; is the new buckettype name&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.pivotaltracker.com/story/show/24607551&quot;&gt;http://www.pivotaltracker.com/story/show/24607551&lt;/a&gt;</description>
                <environment></environment>
            <key id="17274">MB-8040</key>
            <summary>2.0 needs to support use couchbase for all the REST endpoints. (no membase)</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                        <label>sec-upgrade</label>
                        <label>transferred</label>
                    </labels>
                <created>Mon, 21 May 2012 20:44:50 -0500</created>
                <updated>Mon, 13 May 2013 18:42:26 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="34736" author="peter" created="Fri, 3 Aug 2012 17:40:25 -0500"  >Dustin, can you take this one?</comment>
                    <comment id="37426" author="peter" created="Thu, 30 Aug 2012 19:31:14 -0500"  >Dipti, are we going to tackle this in 2.0 or .next?</comment>
                    <comment id="54589" author="alkondratenko" created="Mon, 8 Apr 2013 20:15:38 -0500"  >IMHO should be strongly considered for 2.1</comment>
                    <comment id="54590" author="dipti" created="Mon, 8 Apr 2013 20:46:04 -0500"  >Anil, this is an interface discussion. please consider for next release. </comment>
                    <comment id="54591" author="dipti" created="Mon, 8 Apr 2013 20:46:29 -0500"  >Anil, please see earlier comment. </comment>
                    <comment id="58087" author="dipti" created="Mon, 13 May 2013 18:42:26 -0500"  >We should get this into 2.1. &lt;br/&gt;
&lt;br/&gt;
We should document that using the &amp;quot;membase&amp;quot; type is deprecated in 2.0.2 so that everyone is warned. &lt;br/&gt;
Should update the deprecated list for 2.0.2. &lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 3 Aug 2012 17:40:25 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2148</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>
                                                                                        </customfields>
    </item>

<item>
            <title>[MB-8015] Avoid the full rematerizaliztion when the cluster is restarted.</title>
                <link>http://www.couchbase.com/issues/browse/MB-8015</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>When the whole cluster is restarted, we sometimes observe that the replication starts from the beginning, which would be very expensive. To avoid this, we should be able to identify the list of items that weren&amp;#39;t replicated upon restarting the cluster, and replicate them only when the cluster is ready.</description>
                <environment></environment>
            <key id="21803">MB-8015</key>
            <summary>Avoid the full rematerizaliztion when the cluster is restarted.</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="chiyoung">Chiyoung Seo</reporter>
                        <labels>
                        <label>Perf_Optimization</label>
                    </labels>
                <created>Wed, 16 Jan 2013 12:51:14 -0600</created>
                <updated>Mon, 13 May 2013 18:56:29 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.1</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="54675" author="mikew" created="Tue, 9 Apr 2013 14:37:11 -0500"  >Chiyoung,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m moving this out to 2.1 since I don&amp;#39;t think we will have time for it in 2.0.2. If you have already begun work and think you can get it in soon feel free to change the fix version back to 2.0.2.</comment>
                    <comment id="58088" author="dipti" created="Mon, 13 May 2013 18:51:53 -0500"  >This will likely be fixed if we have UPR. Need to have a snapshotting mechanism to be able to avoid backfill for a replication. &lt;br/&gt;
</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 9 Apr 2013 14:37:11 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>538</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-7216] Allow XDCR configuration at bucket replication level, not just the cluster level</title>
                <link>http://www.couchbase.com/issues/browse/MB-7216</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>There are scenarios where you may want to tune the XDCR parameters differently on a per replicator basis.  Specifically, if you&amp;#39;re using normal XDCR and integration with ElasticSearch you may want to adjust the checkpoint intervals separately.&lt;br/&gt;
&lt;br/&gt;
Currently the XDCR parameters are cluster wide. Allow users to set these on a per XDCR basis. </description>
                <environment></environment>
            <key id="20842">MB-7216</key>
            <summary>Allow XDCR configuration at bucket replication level, not just the cluster level</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="anil">Anil Kumar</assignee>
                                <reporter username="mschoch">Marty Schoch</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Nov 2012 17:09:08 -0600</created>
                <updated>Mon, 13 May 2013 19:00:16 -0500</updated>
                                    <version>2.0</version>
                <version>2.0.1</version>
                                <fixVersion>2.1</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="44368" author="junyi" created="Mon, 19 Nov 2012 19:48:20 -0600"  >Modify the title to &amp;quot;bucket replication level&amp;quot;.  &lt;br/&gt;
&lt;br/&gt;
Today the replicator is one per vbucket, there is no need to set up parameter to each single vbucket replicator. Instead, we may need a &amp;quot;localized parameters&amp;quot; for different replications. </comment>
                    <comment id="50403" author="junyi" created="Thu, 14 Feb 2013 08:12:12 -0600"  >Today AFAIK we do not have any bucket-level ns_server parameter but it is going to be more and more useful. It would be nice that ns_server can provide such infrastructure so in future xdcr and other component will be able to benefit from it. &lt;br/&gt;
&lt;br/&gt;
I would position this requirement as a general bucket-level parameter infrastructure implemented in ns_server, not just something very specific to XDCR. </comment>
                    <comment id="50404" author="junyi" created="Thu, 14 Feb 2013 08:14:31 -0600"  >Not sure how hard to implement that and if ns_server team has cycles on this issue. Tentatively make the fix version 2.1</comment>
                    <comment id="50893" author="dipti" created="Tue, 19 Feb 2013 19:36:42 -0600"  >We need this much before 2.1. We are seeing the need for this not only for Elasticsearch plugin but also for customers as they tune XDCR for their use cases.  &lt;br/&gt;
&lt;br/&gt;
Aliaksey, can you comment on how much work this is on the ns_server side? </comment>
                    <comment id="50894" author="dipti" created="Tue, 19 Feb 2013 19:37:02 -0600"  >Sorry Siri, Can you comment on how much work this is ? </comment>
                    <comment id="51311" author="siri" created="Mon, 25 Feb 2013 09:25:17 -0600"  >Currently, we store it as &amp;quot;Internal Settings&amp;quot; - we would want to remove it from there and add it at the XDCR configuration screen. Perhaps as an &amp;quot;Advanced&amp;quot; accordion that is collapsed by default. It is a few days of work from server side, and same amount of work on UI side. As Junyi assigned this back to ns_server, I&amp;#39;m assuming the XDCR replicator can already handle different settings per replicator, and so no effort there.&lt;br/&gt;
</comment>
                    <comment id="53423" author="maria" created="Mon, 25 Mar 2013 13:38:02 -0500"  >bug scrub: if there&amp;#39;s time to fix this in 2.0.2, we should seriously consider.</comment>
                    <comment id="58095" author="anil" created="Mon, 13 May 2013 18:59:29 -0500"  >assigning this ALK for ns_server related work</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 19 Nov 2012 19:48:20 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2138</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                            </customfields>
    </item>

<item>
            <title>[MB-4114] Better protect passwords in /opt/membase/var/lib/membase/data/isasl.pw</title>
                <link>http://www.couchbase.com/issues/browse/MB-4114</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Either encrypt the passwords contained within the /opt/membase/var/lib/membase/data/isasl.pw file, or change the permissions on that file so that it is not easily readable.</description>
                <environment></environment>
            <key id="14640">MB-4114</key>
            <summary>Better protect passwords in /opt/membase/var/lib/membase/data/isasl.pw</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="dipti">Dipti Borkar</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Mon, 25 Jul 2011 13:47:57 -0500</created>
                <updated>Mon, 13 May 2013 19:10:18 -0500</updated>
                                    <version>1.7 GA</version>
                                <fixVersion>2.0.3</fixVersion>
                                <component>ns_server</component>
                                <votes>1</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="22021" author="ingenthr" created="Wed, 7 Sep 2011 09:43:20 -0500"  >&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-4268&quot; title=&quot;We should hash our REST API passwords&quot;&gt;MB-4268&lt;/a&gt; is related</comment>
                    <comment id="27155" author="trond" created="Mon, 14 May 2012 06:13:43 -0500"  >It&amp;#39;s easier to just protect the f