<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:00 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-2107] unable to drop old db using dropDatabase()</title>
                <link>https://jira.mongodb.org/browse/SERVER-2107</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>
&lt;p&gt;&amp;gt; show dbs&lt;br/&gt;
admin&lt;br/&gt;
local&lt;br/&gt;
lp&lt;br/&gt;
mortage&lt;br/&gt;
mortgage&lt;br/&gt;
mortgagecache&lt;br/&gt;
purchase&lt;br/&gt;
refinance&lt;br/&gt;
refinancecash&lt;br/&gt;
refinancecashe&lt;br/&gt;
&amp;gt; use mortage&lt;br/&gt;
switched to db mortage&lt;br/&gt;
&amp;gt; db.dropDatabase()&lt;/p&gt;
{ &quot;dropped&quot; : &quot;mortage&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
&amp;gt; show dbs&lt;br/&gt;
admin&lt;br/&gt;
local&lt;br/&gt;
lp&lt;br/&gt;
mortage&lt;br/&gt;
mortgage&lt;br/&gt;
mortgagecache&lt;br/&gt;
purchase&lt;br/&gt;
refinance&lt;br/&gt;
refinancecash&lt;br/&gt;
refinancecashe&lt;/p&gt;</description>
                <environment></environment>
        <key id="13715">SERVER-2107</key>
            <summary>unable to drop old db using dropDatabase()</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="joseph.wang">Joseph Wang </reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Nov 2010 19:47:22 +0000</created>
                <updated>Mon, 29 Aug 2011 15:59:19 +0000</updated>
                            <resolved>Mon, 29 Aug 2011 15:59:19 +0000</resolved>
                                    <version>1.6.3</version>
                                                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="51212" author="eliot" created="Mon, 29 Aug 2011 15:59:19 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2329&quot; title=&quot;Dropped database doesn&amp;#39;t disappear due to replication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2329&quot;&gt;&lt;del&gt;SERVER-2329&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35754" author="behackett" created="Thu, 2 Jun 2011 16:54:10 +0000"  >&lt;p&gt;&amp;gt; actually, we are using master-slave setting &amp;#8211; 1 master and 2 slaves. The operation is done on the master.&lt;/p&gt;

&lt;p&gt;It looks like &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2859&quot; title=&quot;dropping a database may not be replicated properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2859&quot;&gt;&lt;del&gt;SERVER-2859&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2329&quot; title=&quot;Dropped database doesn&amp;#39;t disappear due to replication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2329&quot;&gt;&lt;del&gt;SERVER-2329&lt;/del&gt;&lt;/a&gt; are this same issue. Compare the log output in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2329&quot; title=&quot;Dropped database doesn&amp;#39;t disappear due to replication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2329&quot;&gt;&lt;del&gt;SERVER-2329&lt;/del&gt;&lt;/a&gt; to Aaron&apos;s description in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2859&quot; title=&quot;dropping a database may not be replicated properly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2859&quot;&gt;&lt;del&gt;SERVER-2859&lt;/del&gt;&lt;/a&gt;. I&apos;ll leave it up to you to decide about dupes.&lt;/p&gt;</comment>
                            <comment id="20645" author="kristina" created="Tue, 23 Nov 2010 21:12:20 +0000"  >&lt;p&gt;Okay, leave a comment if you can and I&apos;ll reopen.&lt;/p&gt;</comment>
                            <comment id="20644" author="joseph.wang" created="Tue, 23 Nov 2010 21:07:54 +0000"  >&lt;p&gt;Yes, saw this problem with replica set - 1 primary, 1 secondary, &amp;amp; 1 arbiter.&lt;br/&gt;
This was on EC2 linux. &lt;/p&gt;

&lt;p&gt;Unfortunately, we deallocated EC2 instance few days ago. Will send the logs if I can reproduce it on staging environment.&lt;/p&gt;</comment>
                            <comment id="20642" author="kristina" created="Tue, 23 Nov 2010 21:01:12 +0000"  >&lt;p&gt;So this &lt;em&gt;is&lt;/em&gt; with a replica set?&lt;/p&gt;

&lt;p&gt;I&apos;m having trouble reproducing this.  Could you try a couple of things?&lt;/p&gt;

&lt;p&gt;Can you drop other dbs?  Can you try:&lt;/p&gt;

&lt;p&gt;&amp;gt; use x&lt;br/&gt;
&amp;gt; db.runCommand(&lt;/p&gt;
{create:&quot;y&quot;}
&lt;p&gt;)&lt;br/&gt;
&amp;gt; db.dropDatabase()&lt;br/&gt;
&amp;gt; show dbs&lt;/p&gt;

&lt;p&gt;and see if x is still listed?&lt;/p&gt;

&lt;p&gt;Can you run:&lt;/p&gt;

&lt;p&gt;&amp;gt; use admin&lt;br/&gt;
&amp;gt; db.runCommand(&lt;/p&gt;
{getCmdLineOpts : 1}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;and send the output?&lt;/p&gt;

&lt;p&gt;What OS are you on?  Has your db crashed or had an unclean shutdown?&lt;/p&gt;</comment>
                            <comment id="20632" author="joseph.wang" created="Tue, 23 Nov 2010 19:37:30 +0000"  >&lt;p&gt;We didn&apos;t see anything in the log.&lt;/p&gt;

&lt;p&gt;Note that this problem only shows up in replica set.&lt;/p&gt;</comment>
                            <comment id="20629" author="kristina" created="Tue, 23 Nov 2010 17:39:44 +0000"  >&lt;p&gt;Is there anything in the mongod log?&lt;/p&gt;</comment>
                            <comment id="20374" author="joseph.wang" created="Tue, 16 Nov 2010 20:58:40 +0000"  >&lt;p&gt;actually, we are using master-slave setting &amp;#8211; 1 master and 2 slaves. The operation is done on the master.&lt;/p&gt;</comment>
                            <comment id="20367" author="joseph.wang" created="Tue, 16 Nov 2010 20:01:11 +0000"  >&lt;p&gt;in replication set setting. Using 1.6.3. Did the operation on the master.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Nov 2010 17:39:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 25 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 25 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bernie@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>joseph.wang</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpba7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrih47:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21425</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0ezr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>