<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:15: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>[SERVER-7679] mongos crash while changing mongod master</title>
                <link>https://jira.mongodb.org/browse/SERVER-7679</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi!&lt;br/&gt;
I&apos;m using mongodb 2.2.0 on ubuntu 12.04 x86_64.&lt;br/&gt;
cluster configuration is 2 shards with 2 mongod and 1 arbiter each.&lt;br/&gt;
Mongos suddenly crashed while changing mongod master.&lt;/p&gt;

&lt;p&gt;here a slice of mongos log:&lt;br/&gt;
Wed Nov 14 11:49:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; Primary for replica set mongodb-sh1 changed to mongodb03gt.load.net:27017&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;LockPinger&amp;#93;&lt;/span&gt; DBClientCursor::init call() failed&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;LockPinger&amp;#93;&lt;/span&gt; warning: distributed lock pinger &apos;mongodb01gt.load.net:27018/vi.load.net:27000:1351511864:1804289383&apos; detected an exception while pinging. :: caused by :: DBClientBase::findN: transport error: mongodb01gt.load.net:27018 ns: admin.$cmd query: { getlasterror: 1, $auth: { local: &lt;/p&gt;
{ __system: 2 }
&lt;p&gt; } }&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13111996&amp;#93;&lt;/span&gt; warning: No primary detected for set mongodb-sh1&lt;br/&gt;
terminate called without an active exception&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13111996&amp;#93;&lt;/span&gt; warning: db exception when initializing on mongodb-sh1:mongodb-sh1/mongodb01gt.load.net:27017,mongodb03gt.load.net:27017, current connection state is { state: &lt;/p&gt;
{ conn: &quot;mongodb-sh1/mongodb01gt.load.net:27017,mongodb03gt.load.net:27017&quot;, vinfo: &quot;mongodb-sh1:mongodb-sh1/mongodb01gt.load.net:27017,mongodb03gt.load.net:27017&quot;, cursor: &quot;(none)&quot;, count: 0, done: false }
&lt;p&gt;, retryNext: false, init: false, finish: false, errored: false } :: caused by :: 10009 ReplicaSetMonitor no master found for set: mongodb-sh1&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13111996&amp;#93;&lt;/span&gt; trying reconnect to mongodb01gt.load.net:27017&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:60007 #13169200 (13 connections now open)&lt;br/&gt;
Received signal 6&lt;br/&gt;
Backtrace: Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13111996&amp;#93;&lt;/span&gt; reconnect mongodb01gt.load.net:27017 failed couldn&apos;t connect to server mongodb01gt.load.net:27017&lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;mongosMain&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:60008 #13169201 (14 connections now open)&lt;br/&gt;
0x57b2a0 0x7fb65bf8e4c0 0x7fb65bf8e445 0x7fb65bf91bab 0x7fb65c8dc69d 0x7fb65c8da846 0x7fb65c8da873 0x7844ec Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13169200&amp;#93;&lt;/span&gt; end connection 127.0.0.1:60007 (12 connections now open)&lt;br/&gt;
0x7b1934 0x7b227b 0x68113b 0x7fb65cb2ce9a 0x7fb65c04a4bd &lt;br/&gt;
Wed Nov 14 11:49:51 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn13169201&amp;#93;&lt;/span&gt; end connection 127.0.0.1:60008 (12 connections now open)&lt;br/&gt;
/usr/bin/mongos(_ZN5mongo17printStackAndExitEi+0x60)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x57b2a0&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/x86_64-linux-gnu/libc.so.6(+0x364c0)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65bf8e4c0&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65bf8e445&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65bf91bab&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(&lt;em&gt;ZN9&lt;/em&gt;&lt;em&gt;gnu_cxx27&lt;/em&gt;_verbose_terminate_handlerEv+0x11d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65c8dc69d&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65c8da846&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5873)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65c8da873&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/bin/mongos(_ZN5mongo8Balancer3runEv+0x93c)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7844ec&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/bin/mongos(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xb4)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7b1934&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/bin/mongos(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x7b)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7b227b&amp;#93;&lt;/span&gt;&lt;br/&gt;
/usr/bin/mongos&lt;span class=&quot;error&quot;&gt;&amp;#91;0x68113b&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65cb2ce9a&amp;#93;&lt;/span&gt;&lt;br/&gt;
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fb65c04a4bd&amp;#93;&lt;/span&gt;&lt;br/&gt;
===&lt;/p&gt;</description>
                <environment></environment>
        <key id="56511">SERVER-7679</key>
            <summary>mongos crash while changing mongod master</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="bill">Bill Hayward</assignee>
                                    <reporter username="gabol">Anton V. Volokhov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Nov 2012 19:45:32 +0000</created>
                <updated>Fri, 15 Feb 2013 15:05:57 +0000</updated>
                            <resolved>Fri, 4 Jan 2013 15:04:53 +0000</resolved>
                                    <version>2.2.0</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="232523" author="gabol" created="Sun, 6 Jan 2013 19:05:08 +0000"  >&lt;p&gt;It really was a duplicate to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7061&quot; title=&quot;mongos can use invalid ptr to master conn when setShardVersion fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7061&quot;&gt;&lt;del&gt;SERVER-7061&lt;/del&gt;&lt;/a&gt;, upgrade to 2.2.1 fixed the issue. Thanks!&lt;/p&gt;</comment>
                            <comment id="230917" author="ian@10gen.com" created="Fri, 4 Jan 2013 15:04:53 +0000"  >&lt;p&gt;Hi Anton, I&apos;m closing this out since we haven&apos;t heard from you, but please reopen if upgrading to 2.2.1 didn&apos;t fix your issue.&lt;/p&gt;</comment>
                            <comment id="191091" author="gabol" created="Fri, 16 Nov 2012 07:26:47 +0000"  >&lt;p&gt;Thanks! Hope, it will help.&lt;/p&gt;</comment>
                            <comment id="190634" author="renctan" created="Thu, 15 Nov 2012 20:13:17 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;This looks like a bug fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7061&quot; title=&quot;mongos can use invalid ptr to master conn when setShardVersion fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7061&quot;&gt;&lt;del&gt;SERVER-7061&lt;/del&gt;&lt;/a&gt;. Can you try upgrading to 2.2.1 and sees if this fixes things?&lt;/p&gt;

&lt;p&gt;Thanks!&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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 15 Nov 2012 20:13:17 +0000</customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>gabol</customfieldvalue>
            <customfieldvalue>bill</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnhh3:</customfieldvalue>

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

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

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