<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:13 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-3841] Profiling in admin DB can stick entries in other DBs (listDatabases command)</title>
                <link>https://jira.mongodb.org/browse/SERVER-3841</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Not quite sure how to accurately characterize the problem. But clearly with a DB that started in auth mode with no bowtiesarecool database it seems like a problem that without anyone with credentials mentioning the database it got created and populated with data.&lt;/p&gt;

&lt;p&gt;Certainly related to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2080&quot; title=&quot;Connecting to an authenticated server creates the database namespace regardless of success or failure.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2080&quot;&gt;&lt;del&gt;SERVER-2080&lt;/del&gt;&lt;/a&gt;. It&apos;s not clear to me if fixing that is the only thing that needs to happen or if the profiling behavior is an issue in its own right.&lt;/p&gt;

&lt;p&gt;% mongo localhost/admin -u *** -p ***&lt;br/&gt;
MongoDB shell version: 1.8.2&lt;br/&gt;
connecting to: localhost/admin&lt;br/&gt;
&amp;gt; show dbs&lt;br/&gt;
admin	5GB&lt;br/&gt;
local	5GB&lt;br/&gt;
&amp;gt; exit&lt;br/&gt;
bye&lt;br/&gt;
% mongo localhost/bowtiesarecool                           &lt;br/&gt;
MongoDB shell version: 1.8.2&lt;br/&gt;
connecting to: localhost/bowtiesarecool&lt;br/&gt;
&amp;gt; db.setProfilingLevel(2)&lt;/p&gt;
{
	&quot;assertion&quot; : &quot;unauthorized db:bowtiesarecool lock type:1 client:127.0.0.1&quot;,
	&quot;assertionCode&quot; : 10057,
	&quot;errmsg&quot; : &quot;db assertion failure&quot;,
	&quot;ok&quot; : 0
}
&amp;gt; exit
bye
% mongo localhost/admin -u *** -p ***
MongoDB shell version: 1.8.2
connecting to: localhost/admin
&amp;gt; show dbs
admin	5GB
bowtiesarecool	(empty)
local	5GB
&amp;gt; db.setProfilingLevel(2)
{ &quot;was&quot; : 0, &quot;slowms&quot; : 100, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; show dbs&lt;br/&gt;
admin	5GB&lt;br/&gt;
bowtiesarecool	(empty)&lt;br/&gt;
local	5GB&lt;br/&gt;
&amp;gt; show dbs&lt;br/&gt;
admin	5GB&lt;br/&gt;
bowtiesarecool	5GB&lt;br/&gt;
local	5GB&lt;br/&gt;
&amp;gt; use bowtiesarecool&lt;br/&gt;
switched to db bowtiesarecool&lt;br/&gt;
&amp;gt; show collections&lt;br/&gt;
system.profile&lt;br/&gt;
&amp;gt; db.system.profile.find()&lt;br/&gt;
{ &quot;ts&quot; : ISODate(&quot;2011-09-14T01:37:04.458Z&quot;), &quot;info&quot; : &quot;query admin.$cmd ntoreturn:1 command: &lt;/p&gt;
{ listDatabases: 1.0 }
&lt;p&gt; reslen:308 bytes:292&quot;, &quot;millis&quot; : 0 }&lt;br/&gt;
&amp;gt; exit&lt;br/&gt;
bye&lt;/p&gt;</description>
                <environment>64-bit Mac OS X Lion</environment>
        <key id="22220">SERVER-3841</key>
            <summary>Profiling in admin DB can stick entries in other DBs (listDatabases command)</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="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="jared">Jared D. Cottrell</reporter>
                        <labels>
                            <label>cloud</label>
                            <label>profiling</label>
                            <label>security</label>
                    </labels>
                <created>Wed, 14 Sep 2011 01:47:35 +0000</created>
                <updated>Tue, 19 Mar 2013 20:18:29 +0000</updated>
                            <resolved>Mon, 11 Mar 2013 21:26:41 +0000</resolved>
                                    <version>1.8.2</version>
                                                    <component>Admin</component>
                    <component>Security</component>
                    <component>Tools</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="286650" author="spencer" created="Mon, 11 Mar 2013 21:26:41 +0000"  >&lt;p&gt;Reproduced in 1.8.5, but could not repro in 2.0.7, 2.2.3 or 2.4.0-RC2.&lt;/p&gt;</comment>
                            <comment id="55117" author="tonyh" created="Mon, 19 Sep 2011 17:20:32 +0000"  >&lt;p&gt;This is probably a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2080&quot; title=&quot;Connecting to an authenticated server creates the database namespace regardless of success or failure.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2080&quot;&gt;&lt;del&gt;SERVER-2080&lt;/del&gt;&lt;/a&gt;, at a minimum this depends on it.&lt;/p&gt;</comment>
                            <comment id="54952" author="akung0324" created="Sat, 17 Sep 2011 19:44:47 +0000"  >&lt;p&gt;Following on to Jared&apos;s bug report above, we&apos;ve been seeing the same databases come back again even after dropping them.  And sometimes they can come back again with the following state:&lt;/p&gt;

&lt;p&gt;MongoDB shell version: 1.8.2&lt;br/&gt;
connecting to: localhost:27107/admin&lt;br/&gt;
&amp;gt; use bowtiesarecool/&lt;br/&gt;
switched to db bowtiesarecool/&lt;br/&gt;
&amp;gt; show collections&lt;br/&gt;
Thu Sep 15 23:27:04 uncaught exception: error: {&lt;br/&gt;
       &quot;$err&quot; : &quot;invalid db name: bowtiesarecool/.system.namespaces&quot;,&lt;br/&gt;
       &quot;code&quot; : 13280&lt;br/&gt;
}&lt;br/&gt;
&amp;gt; db.dropDatabase()&lt;br/&gt;
{&lt;br/&gt;
       &quot;assertion&quot; : &quot;invalid db name: bowtiesarecool/&quot;,&lt;br/&gt;
       &quot;assertionCode&quot; : 13280,&lt;br/&gt;
       &quot;errmsg&quot; : &quot;db assertion failure&quot;,&lt;br/&gt;
       &quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="13655">SERVER-2080</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 17 Sep 2011 19:44:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 49 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-2080'>SERVER-2080</a></s>]]></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>
                            10 years, 49 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="10021"><![CDATA[OS X]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>akung0324</customfieldvalue>
            <customfieldvalue>jared</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>tonyh</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroqvb:</customfieldvalue>

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

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

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