<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:03 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-756] dropDatabase silently fails after mapReduce in other connection</title>
                <link>https://jira.mongodb.org/browse/SERVER-756</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;After a mapReduce command has been performed in a database over one connection, an attempt to drop the same database in a second connection will silently fail. The command returns no error, but the database remains.&lt;/p&gt;

&lt;p&gt;To reproduce, use the mongo shell to create two connections.&lt;/p&gt;

&lt;p&gt;Connection1: &lt;br/&gt;
1. use mydb&lt;br/&gt;
2. db.items.save(&lt;/p&gt;
{n:1}
&lt;p&gt;)&lt;br/&gt;
3. res = db.items.mapReduce(&quot;function() &lt;/p&gt;
{ emit(1, 1); }
&lt;p&gt;&quot;, &quot;function(k,v) { var c=0; for(i in v) &lt;/p&gt;
{ c+= v[i]; }
&lt;p&gt; return c; }&quot;);&lt;br/&gt;
4. db&lt;span class=&quot;error&quot;&gt;&amp;#91;res.result&amp;#93;&lt;/span&gt;.find()&lt;/p&gt;

&lt;p&gt;Connection2:&lt;br/&gt;
1. use mydb&lt;br/&gt;
2. db.dropDatabase()&lt;/p&gt;

&lt;p&gt;Expect: Either an error message stating a decent reason why the database could not be deleted, or the database to go away.&lt;/p&gt;

&lt;p&gt;Actual: &quot;show dbs&quot; still lists &quot;mydb&quot;&lt;/p&gt;</description>
                <environment>ubuntu 9.10, linux 32-bit build (1.3.3), java driver and mongo shell (1.3.3)</environment>
        <key id="11520">SERVER-756</key>
            <summary>dropDatabase silently fails after mapReduce in other connection</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="richard.kreuter">Richard Kreuter</assignee>
                                    <reporter username="steven.m.reed@gmail.com">Steve Reed</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Mar 2010 17:41:35 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:31 +0000</updated>
                            <resolved>Wed, 5 May 2010 13:05:31 +0000</resolved>
                                    <version>1.3.3</version>
                                    <fixVersion>1.5.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="14104" author="auto" created="Thu, 6 May 2010 11:51:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kreuter&apos;, &apos;name&apos;: &apos;Richard Kreuter&apos;, &apos;email&apos;: &apos;richard@10gen.com&apos;}
&lt;p&gt;Message: Try #2 at &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-756&quot; title=&quot;dropDatabase silently fails after mapReduce in other connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-756&quot;&gt;&lt;del&gt;SERVER-756&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/71431eb9709e6ecb1dc7072ff06c06db9b9a4b6f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/71431eb9709e6ecb1dc7072ff06c06db9b9a4b6f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14081" author="auto" created="Wed, 5 May 2010 16:15:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kreuter&apos;, &apos;name&apos;: &apos;Richard Kreuter&apos;, &apos;email&apos;: &apos;richard@10gen.com&apos;}
&lt;p&gt;Message: Revert &quot;New methods dropTempCollectionsInDB &amp;amp; dropAllTempCollectionsInDB. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-756&quot; title=&quot;dropDatabase silently fails after mapReduce in other connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-756&quot;&gt;&lt;del&gt;SERVER-756&lt;/del&gt;&lt;/a&gt;.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 59645ef064b05f5743a0ea3d0274cee479cd1088.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c8f781ce32c70ac8eaffed33322fc136fccc1394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c8f781ce32c70ac8eaffed33322fc136fccc1394&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14069" author="richard@10gen.com" created="Wed, 5 May 2010 13:05:31 +0000"  >&lt;p&gt;Resolved.&lt;/p&gt;</comment>
                            <comment id="14068" author="auto" created="Wed, 5 May 2010 13:04:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kreuter&apos;, &apos;name&apos;: &apos;Richard Kreuter&apos;, &apos;email&apos;: &apos;richard@10gen.com&apos;}
&lt;p&gt;Message: Merge branch &apos;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-756&quot; title=&quot;dropDatabase silently fails after mapReduce in other connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-756&quot;&gt;&lt;del&gt;SERVER-756&lt;/del&gt;&lt;/a&gt;&apos;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/39eb68c5923cdece99e1d44b46508e2e56501bb1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/39eb68c5923cdece99e1d44b46508e2e56501bb1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14067" author="auto" created="Wed, 5 May 2010 13:04:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kreuter&apos;, &apos;name&apos;: &apos;Richard Kreuter&apos;, &apos;email&apos;: &apos;richard@10gen.com&apos;}
&lt;p&gt;Message: New methods dropTempCollectionsInDB &amp;amp; dropAllTempCollectionsInDB. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-756&quot; title=&quot;dropDatabase silently fails after mapReduce in other connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-756&quot;&gt;&lt;del&gt;SERVER-756&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/59645ef064b05f5743a0ea3d0274cee479cd1088&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/59645ef064b05f5743a0ea3d0274cee479cd1088&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14054" author="auto" created="Tue, 4 May 2010 20:11:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;kreuter&apos;, &apos;name&apos;: &apos;Richard Kreuter&apos;, &apos;email&apos;: &apos;richard@10gen.com&apos;}
&lt;p&gt;Message: Modulo &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-756&quot; title=&quot;dropDatabase silently fails after mapReduce in other connection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-756&quot;&gt;&lt;del&gt;SERVER-756&lt;/del&gt;&lt;/a&gt;, most &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-14&quot; title=&quot;clean up after tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-14&quot;&gt;&lt;del&gt;JAVA-79&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo-java-driver/commit/d47631dda6c5f41586e553a25cb219cd451d2e54&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo-java-driver/commit/d47631dda6c5f41586e553a25cb219cd451d2e54&lt;/a&gt;&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 4 May 2010 20:11:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 41 weeks, 6 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 41 weeks, 6 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>richard.kreuter</customfieldvalue>
            <customfieldvalue>steven.m.reed@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpqjr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22538</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|ht0jrj:</customfieldvalue>

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