<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:26 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-3919] db.printShardingStatus() refuses work with &quot;not a shard db!&quot; message</title>
                <link>https://jira.mongodb.org/browse/SERVER-3919</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongos&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
mongos&amp;gt; db.runCommand( &lt;/p&gt;
{ enablesharding : &quot;catalog_ru&quot; }
&lt;p&gt; );&lt;/p&gt;
{ &quot;ok&quot; : 0, &quot;errmsg&quot; : &quot;already enabled&quot; }
&lt;p&gt;mongos&amp;gt; db.printShardingStatus();&lt;br/&gt;
printShardingStatus: not a shard db!&lt;/p&gt;


&lt;p&gt;mongos&amp;gt; use config&lt;br/&gt;
switched to db config&lt;br/&gt;
mongos&amp;gt; db.databases.find();&lt;/p&gt;
{ &quot;_id&quot; : &quot;catalog_ru&quot;, &quot;partitioned&quot; : true, &quot;primary&quot; : &quot;shard0000&quot; }
&lt;p&gt;mongos&amp;gt; db.locks.find();&lt;/p&gt;
{ &quot;_id&quot; : &quot;balancer&quot;, &quot;process&quot; : &quot;u2dev-mongo-03:27017:1316615709:1804289383&quot;, &quot;state&quot; : 0, &quot;ts&quot; : ObjectId(&quot;4e79ffe070639be433e17f71&quot;), &quot;when&quot; : ISODate(&quot;2011-09-21T15:16:48.839Z&quot;), &quot;who&quot; : &quot;u2dev-mongo-03:27017:1316615709:1804289383:Balancer:846930886&quot;, &quot;why&quot; : &quot;doing balance round&quot; }
&lt;p&gt;mongos&amp;gt; db.shards.find();&lt;/p&gt;
{ &quot;_id&quot; : &quot;shard0000&quot;, &quot;host&quot; : &quot;192.168.9.213:27018&quot; }
{ &quot;_id&quot; : &quot;shard0001&quot;, &quot;host&quot; : &quot;192.168.9.214:27018&quot; }
{ &quot;_id&quot; : &quot;shard0002&quot;, &quot;host&quot; : &quot;192.168.9.215:27018&quot; }
{ &quot;_id&quot; : &quot;shard0003&quot;, &quot;host&quot; : &quot;192.168.9.216:27018&quot; }
{ &quot;_id&quot; : &quot;shard0004&quot;, &quot;host&quot; : &quot;192.168.9.217:27018&quot; }
&lt;p&gt;mongos&amp;gt; db.collections.find();&lt;br/&gt;
{ &quot;_id&quot; : &quot;catalog_ru.catalog_search_index&quot;, &quot;lastmod&quot; : ISODate(&quot;1970-01-16T05:43:38.084Z&quot;), &quot;dropped&quot; : false, &quot;key&quot; : &lt;/p&gt;
{ &quot;catalog_node_id&quot; : 1 }
&lt;p&gt;, &quot;unique&quot; : false }&lt;/p&gt;</description>
                <environment>Linux  2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
</environment>
        <key id="22639">SERVER-3919</key>
            <summary>db.printShardingStatus() refuses work with &quot;not a shard db!&quot; message</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="5">Cannot Reproduce</resolution>
                                        <assignee username="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="rosco">Rosco</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Sep 2011 15:37:47 +0000</created>
                <updated>Tue, 6 Dec 2022 05:40:22 +0000</updated>
                            <resolved>Fri, 31 May 2019 18:24:47 +0000</resolved>
                                    <version>2.0.0</version>
                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="164795" author="scotthernandez" created="Sun, 16 Sep 2012 13:18:08 +0000"  >&lt;p&gt;Sam, what version are you using?&lt;/p&gt;

&lt;p&gt;You can manually delete collections in the config db but it is not something you should do.&lt;/p&gt;</comment>
                            <comment id="164787" author="samueldarwin" created="Sun, 16 Sep 2012 10:24:29 +0000"  >
&lt;p&gt;I just reproduced this issue.&lt;/p&gt;

&lt;p&gt;mongos&amp;gt; use config&lt;br/&gt;
switched to db config&lt;br/&gt;
mongos&amp;gt; show collections&lt;br/&gt;
chunks&lt;br/&gt;
collections&lt;br/&gt;
databases&lt;br/&gt;
lockpings&lt;br/&gt;
locks&lt;br/&gt;
mongos&lt;br/&gt;
shards&lt;br/&gt;
system.indexes&lt;br/&gt;
mongos&amp;gt;&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;On the config db, seems to not have a version collection.  Was it deleted?&lt;/p&gt;

&lt;p&gt;The config db itself was manually deleted.   suppose that&apos;s not permitted...&lt;/p&gt;
</comment>
                            <comment id="96482" author="greg_10gen" created="Wed, 7 Mar 2012 18:48:12 +0000"  >&lt;p&gt;Weird - tried to reconfirm with official 2.0.2 release - worked fine this time.  Can&apos;t repro anymore...&lt;/p&gt;</comment>
                            <comment id="82731" author="greg_10gen" created="Fri, 27 Jan 2012 04:37:16 +0000"  >&lt;p&gt;Just created a fresh cluster on 2.0.2 - seems like the version collection isn&apos;t created for some reason.&lt;/p&gt;

&lt;p&gt;1) Start single config server&lt;br/&gt;
2) Start mongos&lt;br/&gt;
3) No version collection?&lt;/p&gt;
</comment>
                            <comment id="56648" author="rosco" created="Mon, 26 Sep 2011 15:58:04 +0000"  >&lt;p&gt;Rebuilding cluster solved this problem.&lt;br/&gt;
Thank you.&lt;/p&gt;</comment>
                            <comment id="56504" author="eliot" created="Sun, 25 Sep 2011 05:36:36 +0000"  >&lt;p&gt;On the config db, seems to not have a version collection.&lt;br/&gt;
Was it deleted?&lt;br/&gt;
Have you tried bouncing mongos?&lt;/p&gt;</comment>
                            <comment id="55798" author="eliot" created="Thu, 22 Sep 2011 03:09:51 +0000"  >&lt;p&gt;Can you run &quot;show tables&quot; &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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 22 Sep 2011 03:09:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 22 weeks, 3 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 22 weeks, 3 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>rosco</customfieldvalue>
            <customfieldvalue>samueldarwin</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hropxz:</customfieldvalue>

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

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

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