<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Thu Jun 20 01:19:54 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-6323/MB-6323.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-6323] Disk not drain (windows)</title>
                <link>http://www.couchbase.com/issues/browse/MB-6323</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Please refer to the screenshot. For build 1578, disk did not drain.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; Loaded 7M items. Waited for them to be flushed. 3.5M active items stayed in the queue.&lt;br/&gt;
&lt;br/&gt;
&amp;gt; Memory fragmentation was nearly 2.4G. May relate to disk too.&lt;br/&gt;
&lt;br/&gt;
Node: 10.2.2.231 (vms)&lt;br/&gt;
&lt;br/&gt;
Created issue:&lt;br/&gt;
</description>
                <environment>2.0.0-1578, windows</environment>
            <key id="19178">MB-6323</key>
            <summary>Disk not drain (windows)</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="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="jin">Jin Lim</assignee>
                                <reporter username="ronnie">Ronnie Sun</reporter>
                        <labels>
                        <label>pblock</label>
                    </labels>
                <created>Mon, 20 Aug 2012 13:32:24 -0500</created>
                <updated>Fri, 31 Aug 2012 20:02:16 -0500</updated>
                    <resolved>Wed, 29 Aug 2012 21:42:29 -0500</resolved>
                                            <fixVersion>2.0-beta</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="36040" author="steve" created="Mon, 20 Aug 2012 13:36:24 -0500"  >(seemed assigned to wrong folk)</comment>
                    <comment id="36072" author="chiyoung" created="Mon, 20 Aug 2012 17:00:20 -0500"  >Ronnie,&lt;br/&gt;
&lt;br/&gt;
When you have this kind of problems, please grab the diag log file and attach it to the bug. Otherwise, it is difficult for us to debug this issue.&lt;br/&gt;
</comment>
                    <comment id="36315" author="ronnie" created="Tue, 21 Aug 2012 12:18:16 -0500"  >attached diag logs</comment>
                    <comment id="36316" author="ronnie" created="Tue, 21 Aug 2012 12:22:09 -0500"  >@chiyoung,&lt;br/&gt;
&lt;br/&gt;
Attached diag logs.&lt;br/&gt;
&lt;br/&gt;
The cluster is live, 10.2.2.231.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll leave it to you for debugging. Thanks</comment>
                    <comment id="36323" author="chiyoung" created="Tue, 21 Aug 2012 13:02:09 -0500"  >The write dispatcher thread on 10.2.2.231 got an exception and terminated and that&amp;#39;s the reason why disk write queue is not drained at all:&lt;br/&gt;
&lt;br/&gt;
[ns_server:info,2012-08-19T14:27:38.036,&lt;a href=&apos;mailto:ns_1@10.2.2.231&apos;&gt;ns_1@10.2.2.231&lt;/a&gt;:ns_port_memcached:ns_port_server:log:169]memcached&amp;lt;0.751.0&amp;gt;: 38 3: RW_Dispatcher: Caught an exception: MUTEX ERROR: Failed to destroy mutex: Invalid argument&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="36784" author="jin" created="Thu, 23 Aug 2012 20:21:21 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/20109/&quot;&gt;http://review.couchbase.org/#/c/20109/&lt;/a&gt;</comment>
                    <comment id="36797" author="thuan" created="Thu, 23 Aug 2012 23:59:17 -0500"  >Integrated in github-ep-engine-2-0 #409 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/409/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/409/&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-6323&quot; title=&quot;Disk not drain (windows)&quot;&gt;&lt;strike&gt;MB-6323&lt;/strike&gt;&lt;/a&gt; Remove a race condition in Dispatcher wake method (Revision 5ea867c641d33eb31b57bdb709e8513a3a57152a)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Jin Lim : &lt;br/&gt;
Files : &lt;br/&gt;
* src/bgfetcher.hh&lt;br/&gt;
* src/flusher.cc&lt;br/&gt;
* src/dispatcher.cc&lt;br/&gt;
* src/dispatcher.hh&lt;br/&gt;
</comment>
                    <comment id="36860" author="chiyoung" created="Fri, 24 Aug 2012 17:35:39 -0500"  >This happened it again with the latest fix.</comment>
                    <comment id="36861" author="chiyoung" created="Fri, 24 Aug 2012 17:36:14 -0500"  >Ronnie, please attach the diag file.</comment>
                    <comment id="36862" author="ronnie" created="Fri, 24 Aug 2012 17:40:07 -0500"  >Node 10-2-2-232 went down&lt;br/&gt;
&lt;br/&gt;
Attached diag logs.</comment>
                    <comment id="36869" author="jin" created="Fri, 24 Aug 2012 18:58:33 -0500"  >Please reattache the diag logs. Don&amp;#39;t see them. Thanks!&lt;br/&gt;
</comment>
                    <comment id="36870" author="jin" created="Fri, 24 Aug 2012 19:05:02 -0500"  >Got the logs. Both write commit failure and mutex error occurred again. Looking into it.</comment>
                    <comment id="37317" author="chiyoung" created="Wed, 29 Aug 2012 21:42:29 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/20322/&quot;&gt;http://review.couchbase.org/#/c/20322/&lt;/a&gt;</comment>
                    <comment id="37329" author="thuan" created="Thu, 30 Aug 2012 03:19:39 -0500"  >Integrated in github-ep-engine-2-0 #419 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/419/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/419/&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-6323&quot; title=&quot;Disk not drain (windows)&quot;&gt;&lt;strike&gt;MB-6323&lt;/strike&gt;&lt;/a&gt; Ignore EINVAL from pthread_mutex/cond_destroy() (Revision 92e8151fcd8ea25b0799a5f9f59d1459f1aaea48)&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6323&quot; title=&quot;Disk not drain (windows)&quot;&gt;&lt;strike&gt;MB-6323&lt;/strike&gt;&lt;/a&gt; attempt to open db with initial rev = 1 if file is not found (Revision aea990ac4f589f785b283d8b98e7d09d6e140884)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Jin Lim : &lt;br/&gt;
Files : &lt;br/&gt;
* src/mutex.cc&lt;br/&gt;
* Makefile.am&lt;br/&gt;
* src/syncobject.hh&lt;br/&gt;
&lt;br/&gt;
Jin Lim : &lt;br/&gt;
Files : &lt;br/&gt;
* src/couch-kvstore/couch-kvstore.cc&lt;br/&gt;
</comment>
                    <comment id="37527" author="thuan" created="Fri, 31 Aug 2012 20:02:16 -0500"  >Integrated in github-ep-engine-2-0 #421 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/421/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/421/&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-6323&quot; title=&quot;Disk not drain (windows)&quot;&gt;&lt;strike&gt;MB-6323&lt;/strike&gt;&lt;/a&gt; return TMPFAIL for failed bgfetch instead of assert (Revision 4bf1696c646d8a7706d29de86d6814b0ff1004bf)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Jin Lim : &lt;br/&gt;
Files : &lt;br/&gt;
* src/ep.cc&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                    <attachment id="14509" name="Archive.zip" size="14376572" author="ronnie" created="Tue, 21 Aug 2012 12:18:16 -0500" />
                    <attachment id="14485" name="cbstats.png" size="134325" author="ronnie" created="Mon, 20 Aug 2012 13:32:24 -0500" />
                    <attachment id="14484" name="disk_not_drain_windows.png" size="71114" author="ronnie" created="Mon, 20 Aug 2012 13:32:24 -0500" />
                    <attachment id="14588" name="ns_diag.zip" size="8301575" author="ronnie" created="Fri, 24 Aug 2012 17:40:07 -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 13:36:24 -0500</customfieldvalue>

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