<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed Jun 19 16:54:15 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-6382/MB-6382.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-6382] Bucket deletion fails to delete on-disk data and indexes</title>
                <link>http://www.couchbase.com/issues/browse/MB-6382</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Deleted default-p and default-s buckets, while the indexing/compaction was still in progress&lt;br/&gt;
&lt;br/&gt;
Post deletion of these buckets, we stil have dangling databases (eg from node 17 and node 20) &lt;br/&gt;
On node 20 (default bucket is not deleted), on node 17 (default-s bucket is not deleted) &lt;br/&gt;
the indexes for these databases still exists on disk.&lt;br/&gt;
&lt;br/&gt;
node 20 &lt;br/&gt;
ls -latr /data/&lt;br/&gt;
total 76&lt;br/&gt;
drwxr-xr-x.  3 couchbase couchbase  4096 Aug 19 17:43 .bucket-0&lt;br/&gt;
-rw-r--r--.  1 couchbase couchbase  4175 Aug 20 16:56 _users.couch.1&lt;br/&gt;
-rw-r--r--.  1 couchbase couchbase  4175 Aug 20 16:56 _replicator.couch.1&lt;br/&gt;
drwxr-xr-x.  3 couchbase couchbase  4096 Aug 20 17:38 .default&lt;br/&gt;
dr-xr-xr-x. 26 root      root       4096 Aug 20 19:22 ..&lt;br/&gt;
drwxr-xr-x.  2 couchbase couchbase  4096 Aug 21 15:03 .default-p&lt;br/&gt;
drwxr-xr-x.  3 couchbase couchbase  4096 Aug 22 13:05 @indexes&lt;br/&gt;
drwxr-xr-x.  2 couchbase couchbase  4096 Aug 22 13:05 .default-s&lt;br/&gt;
drwxr-xr-x.  2 couchbase couchbase  4096 Aug 22 13:09 ._replicator_design&lt;br/&gt;
drwxr-xr-x. 11 couchbase couchbase  4096 Aug 22 13:09 .&lt;br/&gt;
drwxr-xr-x.  2 couchbase couchbase 12288 Aug 22 13:11 default&lt;br/&gt;
drwxr-xr-x.  2 couchbase couchbase  4096 Aug 22 13:28 go&lt;br/&gt;
drwxr-xr-x. 70 couchbase couchbase  4096 Aug 22 13:28 .delete&lt;br/&gt;
&lt;br/&gt;
node 17&lt;br/&gt;
Dont see message like following for the default-s bucket here&lt;br/&gt;
[ns_server:info,2012-08-22T13:12:25.807,&lt;a href=&apos;mailto:ns_1@10.3.121.17&apos;&gt;ns_1@10.3.121.17&lt;/a&gt;:&amp;#39;ns_memcached-default&amp;#39;:ns_storage_conf:delete_couch_database:410]Deleting database &amp;lt;&amp;lt;&amp;quot;default/master&amp;quot;&amp;gt;&amp;gt;: ok&lt;br/&gt;
[ns_server:info,2012-08-22T13:12:25.808,&lt;a href=&apos;mailto:ns_1@10.3.121.17&apos;&gt;ns_1@10.3.121.17&lt;/a&gt;:&amp;#39;ns_memcached-default&amp;#39;:ns_storage_conf:delete_databases_and_files:462]Couch dbs are deleted. Proceeding with bucket directory&lt;br/&gt;
&lt;br/&gt;
node 20 &lt;br/&gt;
Dont see message like following for the default bucket here&lt;br/&gt;
[ns_server:info,2012-08-22T13:05:51.167,&lt;a href=&apos;mailto:ns_1@10.3.121.20&apos;&gt;ns_1@10.3.121.20&lt;/a&gt;:&amp;#39;ns_memcached-default-s&amp;#39;:ns_storage_conf:delete_databases_and_files:462]Couch dbs are deleted. Proceeding with bucket directory</description>
                <environment>Centos 64 bit&lt;br/&gt;
1613</environment>
            <key id="19272">MB-6382</key>
            <summary>Bucket deletion fails to delete on-disk data and indexes</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="5">Cannot Reproduce</resolution>
                    <security id="10011">Public</security>
                        <assignee username="alkondratenko">Aleksey Kondratenko</assignee>
                                <reporter username="karan">Karan Kumar</reporter>
                        <labels>
                        <label>2.0-beta-release-notes</label>
                        <label>system-test</label>
                    </labels>
                <created>Wed, 22 Aug 2012 15:49:53 -0500</created>
                <updated>Wed, 9 Jan 2013 23:13:19 -0600</updated>
                    <resolved>Fri, 5 Oct 2012 12:26:06 -0500</resolved>
                            <version>2.0-beta</version>
                                <fixVersion>2.0</fixVersion>
                                <component>ns_server</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="36545" author="karan" created="Wed, 22 Aug 2012 15:50:38 -0500"  >&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/deletion_bug/deletion_node17.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/deletion_bug/deletion_node17.zip&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://s3.amazonaws.com/bugdb/jira/deletion_bug/deletion_node20.zip&quot;&gt;https://s3.amazonaws.com/bugdb/jira/deletion_bug/deletion_node20.zip&lt;/a&gt;</comment>
                    <comment id="36546" author="karan" created="Wed, 22 Aug 2012 16:03:16 -0500"  >Dont see this either in the logs&lt;br/&gt;
&lt;br/&gt;
Error -&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;ale:error(?USER_LOGGER, &amp;quot;Unable to delete some DBs for bucket ~s. Leaving bucket directory undeleted~n~p&amp;quot;, [Bucket, Error]),&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;Error&lt;br/&gt;
</comment>
                    <comment id="36547" author="karan" created="Wed, 22 Aug 2012 16:03:42 -0500"  >To update, on all the nodes, out of 2 buckets, we have node deleting only 1 bucket. </comment>
                    <comment id="40514" author="alkondratenko" created="Fri, 5 Oct 2012 12:26:06 -0500"  >Looks like this happened because of timeout listing vbuckets to delete, but we don&amp;#39;t do it via couch_server calls anymore. Thus fixed by unrelated commit.</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, 5 Oct 2012 12:26:06 -0500</customfieldvalue>

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