<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu May 23 21:47:02 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-4864/MB-4864.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-4864] rebalancing can get stuck due to a bug detecting the backfill completion during vbucket takeover</title>
                <link>http://www.couchbase.com/issues/browse/MB-4864</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Install couchbase  server 1.8.0 release with hotfix mb-4738 on 4 nodes (12 GB RAM each) cluster in ec2.&lt;br/&gt;
Load 38 million items to cluster.&lt;br/&gt;
Resident ratio: 41%&lt;br/&gt;
Data size on disk: 78GB&lt;br/&gt;
Remove a node. &lt;br/&gt;
Rebalance OK.&lt;br/&gt;
Add another node in (not the removed node).&lt;br/&gt;
Rebalance hang at around 80+%&lt;br/&gt;
</description>
                <environment>windows 2008 R2 64bit</environment>
            <key id="16249">MB-4864</key>
            <summary>rebalancing can get stuck due to a bug detecting the backfill completion during vbucket takeover</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="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="chiyoung">Chiyoung Seo</assignee>
                                <reporter username="thuan">Thuan Nguyen</reporter>
                        <labels>
                        <label>1.8.0-release-notes</label>
                        <label>1.8.1-release-notes</label>
                    </labels>
                <created>Fri, 2 Mar 2012 16:55:38 -0600</created>
                <updated>Wed, 9 Jan 2013 22:53:00 -0600</updated>
                    <resolved>Wed, 14 Mar 2012 20:38:38 -0500</resolved>
                            <version>1.8.0</version>
                                <fixVersion>1.8.1</fixVersion>
                <fixVersion>1.8.2</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="24831" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600"  >Do rebalance out 2 nodes and rebalance hang&lt;br/&gt;
&lt;br/&gt;
eq_tapq:rebalance_169:ack_log_size:                                0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:ack_playback_size:                           0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:ack_seqno:                                   41291&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:ack_window_full:                             false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:backfill_completed:                          false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_backlog_size:                             0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_jobs_completed:                           37724&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_jobs_issued:                              37724&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_queued:                                   37724&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_result_size:                              0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_results:                                  0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:bg_wait_for_results:                         false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:complete:                                    false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:connected:                                   true&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:created:                                     1019807&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:empty:                                       false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:flags:                                       93 (ack,backfill,vblist,takeover,checkpoints)&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:has_item:                                    false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:has_queued_item:                             true&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:idle:                                        false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:num_tap_nack:                                0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:num_tap_tmpfail_survivors:                   0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:paused:                                      1&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:pending_backfill:                            false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:pending_disconnect:                          false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:pending_disk_backfill:                       false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:qlen:                                        0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:qlen_high_pri:                               0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:qlen_low_pri:                                1&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_backfillremaining:                     0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_backoff:                               0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_drain:                                 41329&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_fill:                                  0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_itemondisk:                            0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:queue_memory:                                0&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:rec_fetched:                                 3609&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:recv_ack_seqno:                              41290&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:reserved:                                    1&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:seqno_ack_requested:                         41290&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:supports_ack:                                true&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:suspended:                                   false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:total_backlog_size:                          1&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:total_noops:                                 7935&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:type:                                        producer&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:vb_filter:                                   { 169 }&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_169:vb_filters:                                  1&lt;br/&gt;
</comment>
                    <comment id="24918" author="chiyoung" created="Wed, 14 Mar 2012 20:38:38 -0500"  >Fixed in 1.8.1 branch</comment>
                    <comment id="25754" author="farshid" created="Wed, 11 Apr 2012 19:53:07 -0500"  >This reason was that there is a bug in detecting the backfill completion for a vbucket takeover during rebalance.&lt;br/&gt;
&lt;br/&gt;
For example, the following are the TAP stats for vbucket 685 takeover:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:ack_window_full:                           false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:backfill_completed:                        false&lt;br/&gt;
&amp;nbsp;...&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:pending_backfill:                          false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:pending_disconnect:                        false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:pending_disk_backfill:                     false&lt;br/&gt;
&amp;nbsp;eq_tapq:rebalance_685:queue_backfillremaining:                   0&lt;br/&gt;
&lt;br/&gt;
You can see that there are no items remaining for backfill, but &amp;quot;backfill_completed&amp;quot; flag is still false, which caused the takeover operation to be stuck.&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                    <attachment id="12467" name="107.22.11.161_tap.txt" size="4312" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600" />
                    <attachment id="12468" name="107.22.70.136_tap.txt" size="20302" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600" />
                    <attachment id="12428" name="107.22.84.123-8091-diag.txt.zip" size="7971800" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12435" name="107.22.84.123_stat.txt" size="8149" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12469" name="107.22.84.123_tap.txt" size="22423" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600" />
                    <attachment id="12436" name="107.22.84.123_tap.txt" size="18688" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12425" name="23.20.45.23-8091-diag.txt.zip" size="11352813" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12429" name="23.20.45.23_stat.txt" size="8142" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12465" name="23.20.45.23_tap.txt" size="17483" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600" />
                    <attachment id="12430" name="23.20.45.23_tap.txt" size="16859" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12426" name="23.20.50.242-8091-diag.txt.zip" size="7958365" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12431" name="23.20.50.242_stat.txt" size="8149" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12466" name="23.20.50.242_tap.txt" size="24326" author="thuan" created="Thu, 8 Mar 2012 17:30:39 -0600" />
                    <attachment id="12432" name="23.20.50.242_tap.txt" size="20183" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12427" name="50.17.157.98-8091-diag.txt.zip" size="2396765" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12433" name="50.17.157.98_stat.txt" size="7539" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -0600" />
                    <attachment id="12434" name="50.17.157.98_tap.txt" size="15454" author="thuan" created="Fri, 2 Mar 2012 16:55:38 -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, 14 Mar 2012 20:38:38 -0500</customfieldvalue>

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