<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09: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-5806] Mongo Segfaults When Assigning Elastic IP to Running Server</title>
                <link>https://jira.mongodb.org/browse/SERVER-5806</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When I bring up one of my MongoDB instances (specifically the secondary) and don&apos;t assign it the correct elastic IP right away, when I later do assign it, it segfaults. Get a bunch of log messages where it tries to connect to the primary and errors because its current hostname doesn&apos;t match what&apos;s in the RS config (expected), but when its hostname changes and it tries, it just dies.&lt;/p&gt;

&lt;p&gt;Not the end of the world, but it&apos;s pretty annoying, because you have to manually remap the IPs on every server restart.&lt;/p&gt;

&lt;p&gt;Last few log entries (the replSet error happens a bunch of times):&lt;/p&gt;

&lt;p&gt;Wed May  9 16:20:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; warning: getaddrinfo(&quot;ec2-184-72-56-224.us-west-1.compute.amazonaws.com&quot;) failed: Name or service not known&lt;br/&gt;
Wed May  9 16:20:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; getaddrinfo(&quot;ec2-184-72-56-224.us-west-1.compute.amazonaws.com&quot;) failed: Name or service not known&lt;br/&gt;
Wed May  9 16:20:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; replSet error self not present in the repl set configuration:&lt;br/&gt;
Wed May  9 16:20:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; { _id: &quot;wish-friend&quot;, version: 1, members: [ &lt;/p&gt;
{ _id: 1, host: &quot;ec2-50-18-168-160.us-west-1.compute.amazonaws.com:27017&quot;, priority: 2.0 }
&lt;p&gt;, &lt;/p&gt;
{ _id: 2, host: &quot;ec2-184-72-56-224.us-west-1.compute.amazonaws.com:27017&quot; }
&lt;p&gt;, &lt;/p&gt;
{ _id: 99, host: &quot;ec2-50-18-235-86.us-west-1.compute.amazonaws.com:27017&quot;, arbiterOnly: true }
&lt;p&gt; ] }&lt;br/&gt;
Wed May  9 16:20:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; replSet info Couldn&apos;t load config yet. Sleeping 20sec and will try again.&lt;br/&gt;
Wed May  9 16:20:53 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:50347 #58&lt;br/&gt;
Wed May  9 16:20:53 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn58&amp;#93;&lt;/span&gt; end connection 127.0.0.1:50347&lt;br/&gt;
Wed May  9 16:20:54 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:50348 #59&lt;br/&gt;
Wed May  9 16:20:54 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn59&amp;#93;&lt;/span&gt; end connection 127.0.0.1:50348&lt;br/&gt;
Wed May  9 16:20:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.170.70.136:51824 #60&lt;br/&gt;
Wed May  9 16:21:06 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.166.57.162:49390 #61&lt;br/&gt;
Wed May  9 16:21:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; trying to contact ec2-50-18-168-160.us-west-1.compute.amazonaws.com:27017&lt;br/&gt;
Wed May  9 16:21:10 &lt;span class=&quot;error&quot;&gt;&amp;#91;rsStart&amp;#93;&lt;/span&gt; trying to contact ec2-50-18-235-86.us-west-1.compute.amazonaws.com:27017&lt;br/&gt;
Wed May  9 16:21:10 Invalid access at address: 0&lt;/p&gt;

&lt;p&gt;Wed May  9 16:21:10 Got signal: 11 (Segmentation fault).&lt;/p&gt;

&lt;p&gt;Wed May  9 16:21:10 Backtrace:&lt;br/&gt;
0xa90999 0xa90f70 0x7f3a3f8cf060 0x7f3a3f65c4fb 0x7c80cd 0x7c9a47 0x7c9f3d 0xaab3e0 0x7f3a3f8c6efc 0x7f3a3ee6089d&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa90999&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xa90f70&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10060) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3a3f8cf060&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3a3f65c4fb&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo11ReplSetImpl10loadConfigEv+0x32d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c80cd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo11ReplSetImplC2ERNS_14ReplSetCmdlineE+0x3f7) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c9a47&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(_ZN5mongo13startReplSetsEPNS_14ReplSetCmdlineE+0x5d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7c9f3d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xaab3e0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x7efc) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f3a3f8c6efc&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;0x7f3a3ee6089d&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Logstream::get called in uninitialized state&lt;br/&gt;
Wed May  9 16:21:10 ERROR: Client::shutdown not called: rsStart&lt;/p&gt;</description>
                <environment>Ubuntu 11.10, Linux 3.0.0-14, running on EC2</environment>
        <key id="38314">SERVER-5806</key>
            <summary>Mongo Segfaults When Assigning Elastic IP to Running 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="3">Duplicate</resolution>
                                        <assignee username="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="adamaflynn">Adam Flynn</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 May 2012 23:33:51 +0000</created>
                <updated>Wed, 15 Aug 2012 14:04:18 +0000</updated>
                            <resolved>Mon, 14 May 2012 11:44:18 +0000</resolved>
                                    <version>2.0.4</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="119037" author="milkie" created="Mon, 14 May 2012 11:44:18 +0000"  >&lt;p&gt;Ok, let us know if it becomes more of a problem for you and we can consider backporting.&lt;br/&gt;
Thanks for the report!&lt;/p&gt;</comment>
                            <comment id="118743" author="adamaflynn" created="Fri, 11 May 2012 21:45:25 +0000"  >&lt;p&gt;So far, I&apos;ve only seen it when restarting my servers if there&apos;s a lag between bringing the server up and getting the final IP assigned. Not bothering me enough to need a backport.&lt;/p&gt;</comment>
                            <comment id="118628" author="milkie" created="Fri, 11 May 2012 16:29:26 +0000"  >&lt;p&gt;Hi Adam,&lt;br/&gt;
The stack trace leads me to believe that this is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4129&quot; title=&quot;server segfault when starting with a wrong replSet name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4129&quot;&gt;&lt;del&gt;SERVER-4129&lt;/del&gt;&lt;/a&gt;, which I fixed for 2.1.1 but was not backported to 2.0.  The list of discovered seeds is accessed by multiple threads and wasn&apos;t protected by a mutex.  &lt;/p&gt;

&lt;p&gt;Is this something that would should backport &amp;#8211; how often does this affect you?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="23976">SERVER-4129</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 May 2012 16:29:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 40 weeks, 2 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>false</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, 40 weeks, 2 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>adamaflynn</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro3dr:</customfieldvalue>

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

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

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