<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:16 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>[JAVA-867] db.getCollectionNames() returns phantom &apos;system.profile&apos; table</title>
                <link>https://jira.mongodb.org/browse/JAVA-867</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;db.getCollectionNames() among others, return &apos;system.profile&apos; table, which is already deleted on all replica sets and profiling was turned off. Profiling was enabled for a while, but now it is disabled and collection &apos;system.profile&apos; deleted everywhere.&lt;/p&gt;

&lt;p&gt;Invoking command db.getCollectionNames() from mongo console does not return this table.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81692">JAVA-867</key>
            <summary>db.getCollectionNames() returns phantom &apos;system.profile&apos; table</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="anatoly">Anatoly Borisov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Jul 2013 14:09:51 +0000</created>
                <updated>Mon, 31 Mar 2014 11:59:00 +0000</updated>
                            <resolved>Mon, 31 Mar 2014 11:59:00 +0000</resolved>
                                    <version>2.11.1</version>
                                                    <component>Command Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="529032" author="anatoly" created="Mon, 31 Mar 2014 09:12:12 +0000"  >&lt;p&gt;I&apos;ve just suppressed this error so actually I don&apos;t know if it still persists. Ok, lets close this.&lt;/p&gt;</comment>
                            <comment id="525257" author="jeff.yemin" created="Thu, 27 Mar 2014 22:09:00 +0000"  >&lt;p&gt;Are you still experiencing this issue?  We have been unable to reproduce it.&lt;/p&gt;</comment>
                            <comment id="380033" author="jeff.yemin" created="Fri, 12 Jul 2013 19:06:25 +0000"  >&lt;p&gt;I&apos;m not able to explain this discrepancy.  I looked at the shell code and the driver code, and both are just querying the &quot;system.namespaces&quot; collection in the given database.&lt;/p&gt;</comment>
                            <comment id="377259" author="anatoly" created="Tue, 9 Jul 2013 17:07:20 +0000"  >&lt;p&gt;Yes, I&apos;ve just ran the shell on the same mongos host and verified that &apos;system.profile&apos; collection does not exist.&lt;/p&gt;</comment>
                            <comment id="377242" author="jeff.yemin" created="Tue, 9 Jul 2013 16:34:47 +0000"  >&lt;p&gt;And can I assume you were connecting to the same mongos from the shell?&lt;/p&gt;</comment>
                            <comment id="377169" author="anatoly" created="Tue, 9 Jul 2013 15:23:59 +0000"  >&lt;p&gt;My app connects to mongos, version 2.4.4&lt;br/&gt;
Environment runs 3 replica sets (3 servers each)&lt;/p&gt;</comment>
                            <comment id="377161" author="jeff.yemin" created="Tue, 9 Jul 2013 15:15:07 +0000"  >&lt;p&gt;What server(s) are you connecting to and what type are they: replica set member(s) or mongos(s)?&lt;/p&gt;</comment>
                            <comment id="377095" author="anatoly" created="Tue, 9 Jul 2013 14:15:01 +0000"  >&lt;p&gt;The following code raises exception (&quot;errmsg&quot; : &quot;ns not found&quot;)&lt;/p&gt;

&lt;p&gt;for (String collectionName : db.getCollectionNames()) {&lt;br/&gt;
    DBCollection c = db.getCollection(collectionName);&lt;br/&gt;
    CommandResult stats = c.getStats();&lt;br/&gt;
    stats.throwOnError();&lt;br/&gt;
}&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrtvfr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>88225</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>