<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:28 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-896] Segmentation Fault in Mongos when database not found</title>
                <link>https://jira.mongodb.org/browse/SERVER-896</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The setup:&lt;/p&gt;

&lt;p&gt;2x Replica Pairs &lt;br/&gt;
1x Config Server&lt;br/&gt;
1x Mongos server&lt;/p&gt;

&lt;p&gt;Script running inserting data into database test.&lt;/p&gt;

&lt;p&gt;1. From mongos machine, drop database that script is inserting into&lt;br/&gt;
2. Shut down config server. Leave everything else running. Wipe out data/db dir.&lt;br/&gt;
3. Restart config server&lt;br/&gt;
4. Mongos crashes with the following error:&lt;/p&gt;

&lt;p&gt;Tue Nov 17 23:07:54 ./mongos v0.2.5 (alpha 2.5) starting (--help for usage)&lt;br/&gt;
Tue Nov 17 23:07:54 git version: aa8b12e13fbbdfb293d94786dcc0df589cabef99&lt;br/&gt;
Tue Nov 17 23:07:54 sys info: Linux ofc-n1.10gen.com 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:02:29 EDT 2008 x86_64&lt;br/&gt;
Tue Nov 17 23:07:54 waiting for connections on port 27017&lt;br/&gt;
Tue Nov 17 23:07:58 connection accepted from 192.168.8.32:33937 #1&lt;br/&gt;
Tue Nov 17 23:07:58 couldn&apos;t find database &lt;span class=&quot;error&quot;&gt;&amp;#91;test&amp;#93;&lt;/span&gt; in config db&lt;br/&gt;
Tue Nov 17 23:07:58 	 can&apos;t find a server&lt;br/&gt;
Segmentation fault&lt;/p&gt;</description>
                <environment></environment>
        <key id="10886">SERVER-896</key>
            <summary>Segmentation Fault in Mongos when database not found</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="electic">Raj Kadam</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Nov 2009 02:25:12 +0000</created>
                <updated>Tue, 12 Jul 2016 00:30:09 +0000</updated>
                            <resolved>Thu, 19 Nov 2009 21:50:05 +0000</resolved>
                                                    <fixVersion>1.1.4</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11199" author="auto" created="Thu, 19 Nov 2009 22:55:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11197" author="auto" created="Thu, 19 Nov 2009 22:32:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11195" author="auto" created="Thu, 19 Nov 2009 22:26:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11193" author="auto" created="Thu, 19 Nov 2009 22:24:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11191" author="auto" created="Thu, 19 Nov 2009 22:23:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11189" author="auto" created="Thu, 19 Nov 2009 22:19:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11187" author="auto" created="Thu, 19 Nov 2009 22:13:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11185" author="auto" created="Thu, 19 Nov 2009 22:12:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11183" author="auto" created="Thu, 19 Nov 2009 21:49:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: assert when no shards &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-896&quot; title=&quot;Segmentation Fault in Mongos when database not found&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-896&quot;&gt;&lt;del&gt;SHARDING-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c7fb263e1a33883515e3f069fac3e5def7988359&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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Nov 2009 21:49:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 13 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>
                            14 years, 13 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>electic</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpp5b:</customfieldvalue>

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

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

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