<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:56 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-2431] mongos throws an uncaught socket exception when it can&apos;t reach the config server</title>
                <link>https://jira.mongodb.org/browse/SERVER-2431</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Repro steps:&lt;/p&gt;

&lt;p&gt;Start mongos with the --configdb parameter referring to a mongod that doesn&apos;t exist:&lt;/p&gt;

&lt;p&gt;Fri Jan 28 17:51:17 mongos db version v1.8.0-rc0-pre-, pdfile version 4.5 starting (--help for usage)&lt;br/&gt;
Fri Jan 28 17:51:17 git version: 7fa627b35627e94c94aafe9b0275de665129acd2&lt;br/&gt;
Fri Jan 28 17:51:17 sys info: Linux behackett-dt 2.6.36-gentoo-r5 #4 SMP Mon Jan 24 10:24:02 PST 2011 x86_64 BOOST_LIB_VERSION=1_42&lt;br/&gt;
terminate called after throwing an instance of &apos;mongo::SocketException&apos;&lt;br/&gt;
  what():  socket exception&lt;br/&gt;
Aborted&lt;/p&gt;

&lt;p&gt;I can also reproduce this by passing a configdb that hasn&apos;t completely settled down yet. Logging mongos to a file you can see something like this:&lt;/p&gt;

&lt;p&gt;Fri Jan 28 17:41:26 mongos db version v1.8.0-rc0-pre-, pdfile version 4.5 starting (--help for usage)&lt;br/&gt;
Fri Jan 28 17:41:26 git version: 7fa627b35627e94c94aafe9b0275de665129acd2&lt;br/&gt;
Fri Jan 28 17:41:26 sys info: Linux behackett-dt 2.6.36-gentoo-r5 #4 SMP Mon Jan 24 10:24:02 PST 2011 x86_64 BOOST_LIB_VERSION=1_42&lt;br/&gt;
Received signal 6&lt;br/&gt;
Backtrace: 0x50ba14 0x7f6f3609d1e0 0x7f6f3609d165 0x7f6f3609e580 0x7f6f378b65d5 0x7f6f378b4a06 0x7f6f378b4a33 0x7f6f378b4b2e 0x51046e 0x510819 0x5a70dd 0x61736b 0x611e38 0x7f6f36089bbd 0x48ecb9 &lt;br/&gt;
mongos(_ZN5mongo17printStackAndExitEi+0x64)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x50ba14&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/libc.so.6(+0x321e0)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f3609d1e0&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/libc.so.6(gsignal+0x35)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f3609d165&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/libc.so.6(abort+0x180)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f3609e580&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libstdc++.so.6(&lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv+0x115)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f378b65d5&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libstdc++.so.6(+0xcaa06)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f378b4a06&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libstdc++.so.6(+0xcaa33)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f378b4a33&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/libstdc++.so.6(+0xcab2e)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f378b4b2e&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos(_ZN5mongo16DBConnectionPool3getERKSs+0x34e)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x51046e&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos(_ZN5mongo18ScopedDbConnectionC1ERKNS_5ShardE+0x89)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x510819&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos(_ZN5mongo12ConfigServer15dbConfigVersionEv+0x1d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x5a70dd&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos(_ZN5mongo12ConfigServer18checkConfigVersionEb+0x1b)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x61736b&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos(main+0x1648)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x611e38&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/libc.so.6(__libc_start_main+0xfd)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f6f36089bbd&amp;#93;&lt;/span&gt;&lt;br/&gt;
mongos&lt;span class=&quot;error&quot;&gt;&amp;#91;0x48ecb9&amp;#93;&lt;/span&gt;&lt;br/&gt;
===&lt;/p&gt;</description>
                <environment>Linux x86_64</environment>
        <key id="14349">SERVER-2431</key>
            <summary>mongos throws an uncaught socket exception when it can&apos;t reach the config server</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="-1">Unassigned</assignee>
                                    <reporter username="bernie@mongodb.com">Bernie Hackett</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jan 2011 02:02:31 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:34 +0000</updated>
                            <resolved>Thu, 6 Mar 2014 21:03:28 +0000</resolved>
                                    <version>1.7.6</version>
                                    <fixVersion>2.4.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="511041" author="greg_10gen" created="Thu, 6 Mar 2014 21:03:22 +0000"  >&lt;p&gt;Pretty sure this was fixed as part of other general config upgrade changes.&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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 6 Mar 2014 21:03:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 49 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>
                            9 years, 49 weeks, 6 days ago
                        </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>bernie@mongodb.com</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp7pb:</customfieldvalue>

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

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

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