<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sat May 25 09:27:16 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-4828/MB-4828.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-4828] rebalancing multiple nodes can hang if a bucket has less than 100k items due to a race condition in tap take-over</title>
                <link>http://www.couchbase.com/issues/browse/MB-4828</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>this was observed by one of our users which had 10 buckets . some buckets had less than 10k items and tap takeover got stuck.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
tap stats : &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;6179: vb_1014:cursor_checkpoint_id:eq_tapq:rebalance_1014: 1 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97312: eq_tapq:rebalance_1014:ack_log_size: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97313: eq_tapq:rebalance_1014:ack_playback_size: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97314: eq_tapq:rebalance_1014:ack_seqno: 10 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97315: eq_tapq:rebalance_1014:ack_window_full: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97316: eq_tapq:rebalance_1014:backfill_completed: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97317: eq_tapq:rebalance_1014:bg_backlog_size: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97318: eq_tapq:rebalance_1014:bg_jobs_completed: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97319: eq_tapq:rebalance_1014:bg_jobs_issued: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97320: eq_tapq:rebalance_1014:bg_queued: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97321: eq_tapq:rebalance_1014:bg_result_size: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97322: eq_tapq:rebalance_1014:bg_results: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97323: eq_tapq:rebalance_1014:bg_wait_for_results: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97324: eq_tapq:rebalance_1014:complete: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97325: eq_tapq:rebalance_1014:connected: true &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97326: eq_tapq:rebalance_1014:created: 1272317 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97327: eq_tapq:rebalance_1014:empty: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97328: eq_tapq:rebalance_1014:flags: 93 (ack,backfill,vblist,takeover,checkpoints) &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97329: eq_tapq:rebalance_1014:has_item: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97330: eq_tapq:rebalance_1014:has_queued_item: true &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97331: eq_tapq:rebalance_1014:idle: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97332: eq_tapq:rebalance_1014:num_tap_nack: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97333: eq_tapq:rebalance_1014:num_tap_tmpfail_survivors: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97334: eq_tapq:rebalance_1014:paused: 1 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97335: eq_tapq:rebalance_1014:pending_backfill: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97336: eq_tapq:rebalance_1014:pending_disconnect: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97337: eq_tapq:rebalance_1014:pending_disk_backfill: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97338: eq_tapq:rebalance_1014:qlen: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97339: eq_tapq:rebalance_1014:qlen_high_pri: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97340: eq_tapq:rebalance_1014:qlen_low_pri: 1 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97341: eq_tapq:rebalance_1014:queue_backfillremaining: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97342: eq_tapq:rebalance_1014:queue_backoff: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97343: eq_tapq:rebalance_1014:queue_drain: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97344: eq_tapq:rebalance_1014:queue_fill: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97345: eq_tapq:rebalance_1014:queue_itemondisk: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97346: eq_tapq:rebalance_1014:queue_memory: 0 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97347: eq_tapq:rebalance_1014:rec_fetched: 5 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97348: eq_tapq:rebalance_1014:recv_ack_seqno: 8 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97349: eq_tapq:rebalance_1014:reserved: 1 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97350: eq_tapq:rebalance_1014:seqno_ack_requested: 9 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97351: eq_tapq:rebalance_1014:supports_ack: true &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97352: eq_tapq:rebalance_1014:suspended: false &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97353: eq_tapq:rebalance_1014:total_backlog_size: 10 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97354: eq_tapq:rebalance_1014:total_noops: 20036 &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97355: eq_tapq:rebalance_1014:type: producer &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97356: eq_tapq:rebalance_1014:vb_filter: { 1014 } &lt;br/&gt;
&amp;nbsp;&amp;nbsp;97357: eq_tapq:rebalance_1014:vb_filters: 1 </description>
                <environment></environment>
            <key id="16197">MB-4828</key>
            <summary>rebalancing multiple nodes can hang if a bucket has less than 100k items due to a race condition in tap take-over</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="farshid">Farshid Ghods</reporter>
                        <labels>
                        <label>1.8.0-release-notes</label>
                        <label>1.8.1-release-notes</label>
                        <label>customer</label>
                    </labels>
                <created>Thu, 23 Feb 2012 16:15:54 -0600</created>
                <updated>Thu, 10 Jan 2013 01:09:45 -0600</updated>
                    <resolved>Fri, 24 Feb 2012 13:22:09 -0600</resolved>
                            <version>1.8.0</version>
                                <fixVersion>1.8.1</fixVersion>
                <fixVersion>1.8.2</fixVersion>
                <fixVersion>2.0</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="24572" author="farshid" created="Thu, 23 Feb 2012 16:16:11 -0600"  >workaround is to pad the bucket with more items ( 100k )</comment>
                    <comment id="24574" author="chiyoung" created="Thu, 23 Feb 2012 17:16:51 -0600"  >There is a very small time window that causes race condition in detecting a backfill completion for a vbucket takeover with a small number of items (e.g., 10 items per vbucket). The fix to this issue is now in gerrit for review:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#change,13562&quot;&gt;http://review.couchbase.org/#change,13562&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Farshid plans to reproduce this issue on windows cluster. </comment>
                    <comment id="24583" author="thuan" created="Fri, 24 Feb 2012 01:36:42 -0600"  >Integrated in github-ep-engine-2-0 #205 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/205/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/205/&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-4828&quot; title=&quot;rebalancing multiple nodes can hang if a bucket has less than 100k items due to a race condition in tap take-over&quot;&gt;&lt;strike&gt;MB-4828&lt;/strike&gt;&lt;/a&gt; Check backfill completion in TapProducer::nextFgFetched() (Revision 4140edecc57912851998f30e9bbe076ddff96fc5)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Chiyoung Seo : &lt;br/&gt;
Files : &lt;br/&gt;
* tapconnection.cc&lt;br/&gt;
</comment>
                    <comment id="24587" author="chiyoung" created="Fri, 24 Feb 2012 13:22:09 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#change,13562&quot;&gt;http://review.couchbase.org/#change,13562&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, 23 Feb 2012 17:16:51 -0600</customfieldvalue>

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