<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu May 23 01:20:49 CDT 2013

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

<item>
            <title>[MB-4375] rebalance failing with retry_not_ready_vbuckets error if ns_server janitors sets the vbucket state from pending to dead when rebalance fails or stops</title>
                <link>http://www.couchbase.com/issues/browse/MB-4375</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>when rebalance fails or is stopped by the user the vbucket state for those rebalance operations which were making progress are still pending.&lt;br/&gt;
ns_server janitor runs every few seconds which will change the vbucket state from pending-&amp;gt;dead&lt;br/&gt;
&lt;br/&gt;
now when the user restarts the rebalance sooner than 5 minutes ep-engine will try to reuse that tap stream and will not send TAP_VBUCKET_SET when restarting the takeover and since the vbucket state is dead now ep-engine will not start the vbucket transfer and this will result in rebalance getting stuck.</description>
                <environment></environment>
            <key id="15465">MB-4375</key>
            <summary>rebalance failing with retry_not_ready_vbuckets error if ns_server janitors sets the vbucket state from pending to dead when rebalance fails or stops</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="farshid">Farshid Ghods</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Oct 2011 02:15:01 -0500</created>
                <updated>Wed, 9 Jan 2013 22:59:22 -0600</updated>
                    <resolved>Tue, 24 Jul 2012 22:40:30 -0500</resolved>
                            <version>1.7 GA</version>
                <version>1.7.1.1</version>
                <version>1.8.0</version>
                                <fixVersion>1.7.2</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="22440" author="farshid" created="Mon, 24 Oct 2011 02:15:17 -0500"  >&lt;a href=&quot;https://github.com/membase/ep-engine/commit/4af628082a4407c37b33dd16196c5a47a51332aa&quot;&gt;https://github.com/membase/ep-engine/commit/4af628082a4407c37b33dd16196c5a47a51332aa&lt;/a&gt;</comment>
                    <comment id="24775" author="ingenthr" created="Mon, 5 Mar 2012 12:11:02 -0600"  >A user of 1.8.0 has run into this issue it seems.  The specific message in the log is:&lt;br/&gt;
&lt;br/&gt;
CRASH REPORT  &amp;lt;0.2530.13&amp;gt;                                   2012-03-01 09:40:29&lt;br/&gt;
===============================================================================&lt;br/&gt;
Crashing process                                                               &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;initial_call                      {ebucketmigrator_srv,init,[&amp;#39;Argument__1&amp;#39;]}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;pid                                                              &amp;lt;0.2530.13&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;registered_name                                                           []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;error_info&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{exit,retry_not_ready_vbuckets,&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;[{ebucketmigrator_srv,init,1},{proc_lib,init_p_do_apply,3}]}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;ancestors      [&amp;#39;ns_vbm_sup-default&amp;#39;,&amp;#39;single_bucket_sup-default&amp;#39;,&amp;lt;0.1025.0&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;messages                                                                  []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;links                                                           [&amp;lt;0.1063.0&amp;gt;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;dictionary                                                                []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;trap_exit                                                              false&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;status                                                               running&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;heap_size                                                               4181&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;stack_size                                                                24&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;reductions                                                            218220</comment>
                    <comment id="24776" author="farshid" created="Mon, 5 Mar 2012 12:22:25 -0600"  >Hi Matt,&lt;br/&gt;
&lt;br/&gt;
do you have access to the user to grab diags from their cluster ?</comment>
                    <comment id="24778" author="alkondratenko" created="Mon, 5 Mar 2012 13:58:11 -0600"  >Folks, retry_not_ready_vbucket is actually a &amp;quot;voluntarily crash&amp;quot;. We do that in order to restart replication later. I.e. when replicating from some node if some of vbuckets we need to replicate from are not ready yet (i.e. we&amp;#39;re second replica and 1st is not yet ready to be replicated from) we just don&amp;#39;t replicate those vbuckets, but after 30 seconds we perform harakiri so that supervisor restarts us and we check again. This was quick fix in few days before 1.7.0 and I&amp;#39;m really sorry for not making log messages clearer that it&amp;#39;s not a problem at all. 1.8.1 will fix that.&lt;br/&gt;
&lt;br/&gt;
So this message has nothing at all to do with rebalance failing. May we ask logs from master node ? Master node can be identified by looking at user visible logs. Server that logs &amp;quot;rebalance failed&amp;quot; message is the master node for that failed rebalance.</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, 5 Mar 2012 12:11:02 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>6069</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>