<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:07:05 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-4821] Mongos signal 11 (sigsegv) after DBClientCursor::init failure</title>
                <link>https://jira.mongodb.org/browse/SERVER-4821</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;11Setup is 3 shards. One collection was just rebalancing or had just been to the 3rd shard (xxxB2).&lt;br/&gt;
The primary of this shard had been rs.stepDown():ed and no new primary had been elected yet.&lt;/p&gt;

&lt;p&gt;Mongos crashed on one machine leaving this in the log:&lt;/p&gt;

&lt;p&gt;Mon Jan 30 16:30:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; ReplicaSetMonitor::_checkConnection: mongo1:27027 &lt;/p&gt;
{ setName: &quot;xxxB2&quot;, ismaster: false, secondary: true, hosts: [ &quot;mongo1:27027&quot; ], passives: [ &quot;mongo4:27027&quot; ], arbiters: [ &quot;task2:27027&quot; ], me: &quot;mongo1:27027&quot;, maxBsonObjectSize: 16777216, ok: 1.0 }
&lt;p&gt;Mon Jan 30 16:30:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; ReplicaSetMonitor::_checkConnection: mongo4:27027 &lt;/p&gt;
{ setName: &quot;xxxB2&quot;, ismaster: false, secondary: true, hosts: [ &quot;mongo1:27027&quot; ], passives: [ &quot;mongo4:27027&quot; ], arbiters: [ &quot;task2:27027&quot; ], passive: true, me: &quot;mongo4:27027&quot;, maxBsonObjectSize: 16777216, ok: 1.0 }
&lt;p&gt;Mon Jan 30 16:30:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38697&amp;#93;&lt;/span&gt; end connection 172.16.49.111:35486&lt;br/&gt;
Mon Jan 30 16:30:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 172.16.49.111:35489 #38698&lt;br/&gt;
Mon Jan 30 16:30:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38698&amp;#93;&lt;/span&gt; end connection 172.16.49.111:35489&lt;br/&gt;
Mon Jan 30 16:30:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 172.16.49.111:35492 #38699&lt;br/&gt;
Mon Jan 30 16:30:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; SyncClusterConnection connecting to &lt;span class=&quot;error&quot;&gt;&amp;#91;config1:27019&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jan 30 16:30:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; SyncClusterConnection connecting to &lt;span class=&quot;error&quot;&gt;&amp;#91;config2:27019&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jan 30 16:30:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; SyncClusterConnection connecting to &lt;span class=&quot;error&quot;&gt;&amp;#91;config3:27019&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jan 30 16:30:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; could not acquire lock &apos;balancer/mongo2:27020:1327595773:1804289383&apos; (another update won)&lt;br/&gt;
Mon Jan 30 16:30:38 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; distributed lock &apos;balancer/mongo2:27020:1327595773:1804289383&apos; was not acquired.&lt;br/&gt;
Mon Jan 30 16:30:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; ReplicaSetMonitor::_checkConnection: mongo1:27027 &lt;/p&gt;
{ setName: &quot;xxxB2&quot;, ismaster: false, secondary: true, hosts: [ &quot;mongo1:27027&quot; ], passives: [ &quot;mongo4:27027&quot; ], arbiters: [ &quot;task2:27027&quot; ], me: &quot;mongo1:27027&quot;, maxBsonObjectSize: 16777216, ok: 1.0 }
&lt;p&gt;Mon Jan 30 16:30:40 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; ReplicaSetMonitor::_checkConnection: mongo4:27027 &lt;/p&gt;
{ setName: &quot;xxxB2&quot;, ismaster: false, secondary: true, hosts: [ &quot;mongo1:27027&quot; ], passives: [ &quot;mongo4:27027&quot; ], arbiters: [ &quot;task2:27027&quot; ], passive: true, me: &quot;mongo4:27027&quot;, maxBsonObjectSize: 16777216, ok: 1.0 }
&lt;p&gt;Mon Jan 30 16:30:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38699&amp;#93;&lt;/span&gt; ~ScopedDbConnection: _conn != null&lt;br/&gt;
Mon Jan 30 16:30:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38699&amp;#93;&lt;/span&gt; DBException in process: socket exception&lt;br/&gt;
Mon Jan 30 16:30:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38699&amp;#93;&lt;/span&gt; SocketException handling request, closing client connection: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;172.16.49.111:35492&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jan 30 16:30:46 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 172.16.49.111:35496 #38700&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38700&amp;#93;&lt;/span&gt; end connection 172.16.49.111:35496&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 172.16.49.111:35497 #38701&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38701&amp;#93;&lt;/span&gt; Socket recv() errno:104 Connection reset by peer 172.16.49.111:27027&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38701&amp;#93;&lt;/span&gt; SocketException: remote: 172.16.49.111:27027 error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; server &lt;span class=&quot;error&quot;&gt;&amp;#91;172.16.49.111:27027&amp;#93;&lt;/span&gt;&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38701&amp;#93;&lt;/span&gt; DBClientCursor::init call() failed&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38701&amp;#93;&lt;/span&gt; end connection 172.16.49.111:35497&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 172.16.49.111:35498 #38702&lt;br/&gt;
Mon Jan 30 16:30:47 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn38702&amp;#93;&lt;/span&gt; got not master for: mongo1:27027&lt;br/&gt;
Received signal 11&lt;br/&gt;
Backtrace:&lt;/p&gt;</description>
                <environment>Debian Linux with official 10gen mongodb 2.0.2 debs</environment>
        <key id="29487">SERVER-4821</key>
            <summary>Mongos signal 11 (sigsegv) after DBClientCursor::init failure</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="balboah">Johnny Boy</reporter>
                        <labels>
                            <label>mongos</label>
                    </labels>
                <created>Tue, 31 Jan 2012 09:52:00 +0000</created>
                <updated>Fri, 25 Jul 2014 18:26:43 +0000</updated>
                            <resolved>Thu, 2 Feb 2012 07:09:38 +0000</resolved>
                                    <version>2.0.2</version>
                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="84382" author="eliot" created="Thu, 2 Feb 2012 07:09:38 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4699&quot; title=&quot;mongos can segfault after primary failover&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4699&quot;&gt;&lt;del&gt;SERVER-4699&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="83591" author="balboah" created="Tue, 31 Jan 2012 09:54:21 +0000"  >&lt;p&gt;172.16.49.111 is mongo1&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 2 Feb 2012 07:09:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 2 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 2 weeks, 6 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>eliot</customfieldvalue>
            <customfieldvalue>balboah</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrof47:</customfieldvalue>

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

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

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