<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:06:07 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-4481] Assertion failure in Replica Set IP address change</title>
                <link>https://jira.mongodb.org/browse/SERVER-4481</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m using hostnames, not IPs, for my replica sets. I recently upgraded a secondary server in a replica set, and the underlying IP address changed. I updated the hosts files on all my boxes, except I forgot to update the host file on the secondary itself (which had an entry for itself pointing to the old IP address). I added the secondary to the set before I caught my mistake, and it ended up crashing with this error: &lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replset msgReceivedNewConfig version: version: 13&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet info saving a newer config version to local.system.replset&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet saveConfigLocally done&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; self doesn&apos;t match: 3&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt;   Assertion failure false db/repl/rs.cpp 440&lt;br/&gt;
0x57eeb6 0x589d6b 0x7c214b 0x7c32f2 0x7c4080 0x7f5ec5 0x5939f3 0x591d25 0x591383 0x578d0f 0x57adc4 0xaa4560 0x2aaaaacce617 0x2aaaab748c2d &lt;br/&gt;
 mongod(_ZN5mongo12sayDbContextEPKc+0x96) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x57eeb6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo8assertedEPKcS1_j+0xfb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x589d6b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo11ReplSetImpl14initFromConfigERNS_13ReplSetConfigEb+0xadb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c214b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo7ReplSet13haveNewConfigERNS_13ReplSetConfigEb+0xd2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c32f2&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo7Manager20msgReceivedNewConfigENS_7BSONObjE+0x2e0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c4080&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5boost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo7ManagerENS7_7BSONObjEEENS3_5list2INS3_5valueIPS8_EENSC_IS9_EEEEEEvE6invokeERNS1_15function_bufferE+0x65) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f5ec5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZNK5boost9function0IvEclEv+0x243) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5939f3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo4task6Server6doWorkEv+0x225) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x591d25&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo4task4Task3runEv+0x33) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x591383&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xbf) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x578d0f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x74) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x57adc4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaa4560&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2aaaaacce617&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2aaaab748c2d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet error unexpected exception in haveNewConfig() : 0 assertion db/repl/rs.cpp:440&lt;br/&gt;
Tue Dec 13 04:39:07 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet error fatal, stopping replication&lt;/p&gt;

&lt;p&gt;&amp;#8212; (repeats)&lt;/p&gt;


&lt;p&gt;When I noticed the host file error, I updated it correctly. I attempted to restart with the --repair flag but got repeated entries of this in the log:&lt;/p&gt;

&lt;p&gt;&amp;#8212;&lt;/p&gt;

&lt;p&gt;Tue Dec 13 04:44:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; warning: ClientCursor::yield can&apos;t unlock b/c of recursive lock ns: local.oplog.rs top: { opid: 8, active: true, waitingForLock: false, secs_running: 0, op: &quot;getmore&quot;, ns:&lt;br/&gt;
 &quot;local.oplog.rs&quot;, query: {}, client: &quot;0.0.0.0:0&quot;, desc: &quot;initandlisten&quot;, threadId: &quot;0x2aaaab9cce00&quot;, numYields: 0 }&lt;/p&gt;

&lt;p&gt;&amp;#8212; (repeats)&lt;/p&gt;

&lt;p&gt;I killed the mongod process again, restarted without the flag. This time it repaired and was successfully added back to the set.&lt;/p&gt;</description>
                <environment>centos 5.5 x86_64</environment>
        <key id="26519">SERVER-4481</key>
            <summary>Assertion failure in Replica Set IP address change</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="9">Done</resolution>
                                        <assignee username="kristina">Kristina Chodorow</assignee>
                                    <reporter username="andrew@crittercism.com">Andrew Levy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Dec 2011 17:31:44 +0000</created>
                <updated>Tue, 4 Apr 2023 14:30:57 +0000</updated>
                            <resolved>Fri, 16 Dec 2011 22:24:33 +0000</resolved>
                                    <version>2.0.1</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="72884" author="kristina" created="Tue, 13 Dec 2011 20:48:56 +0000"  >&lt;p&gt;You should still repair, try restarting it:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;with --repair&lt;/li&gt;
	&lt;li&gt;without --replSet and&lt;/li&gt;
	&lt;li&gt;on a different port.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Keep in mind that repair removes corruption, not fixes it, so you may end up with less on your secondary.  You might want to resync it or restore from a backup.&lt;/p&gt;

&lt;p&gt;In the future, you might want to turn on journaling, which will eliminate this problem altogether.&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>Tue, 13 Dec 2011 20:48:56 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 10 weeks, 1 day 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew@crittercism.com</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrojbb:</customfieldvalue>

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

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

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