<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:19:13 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-9052] During failover in replicaset, MongoDB crashes</title>
                <link>https://jira.mongodb.org/browse/SERVER-9052</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We recently upgraded Mongo from 2.2.2 to 2.2.3.  After a couple days of running, the primary couldn&apos;t be contacted by the arbiter and the secondary was elected to take over... however, at that point, MongoDB just stopped responding and put tons of errors in the log. &lt;/p&gt;

&lt;p&gt;(See attachments for the logs)&lt;/p&gt;

&lt;p&gt;The primary has these types of errors:&lt;/p&gt;

&lt;p&gt;    problem detected during query over (DBNAME).(COLLECTION_NAME) : &lt;/p&gt;
{ $err: &quot;not master and slaveOk=false&quot;, code: 13435 }

&lt;p&gt;   &lt;span class=&quot;error&quot;&gt;&amp;#91;rsMgr&amp;#93;&lt;/span&gt; replSet can&apos;t see a majority, will not try to elect self&lt;/p&gt;

&lt;p&gt;   recv(): message len XXX is too largeXX&lt;/p&gt;

&lt;p&gt;   Assertion: 16141:cannot translate opcode 26975&lt;/p&gt;

&lt;p&gt;... but see the log for more details.&lt;/p&gt;

&lt;p&gt;The Java application server running the same box as the primary MongoDB instance (o16.servername.com) uses ReadPreference.primaryPreferred() when it does queries.&lt;/p&gt;

&lt;p&gt;The Java application server running the same box as the secondary MongoDB instance (o15.servername.com) uses ReadPreference.nearest() when it does queries, since it&apos;s physically across the country from the primary.&lt;/p&gt;

&lt;p&gt;P.S. after this happened, I updated my Java driver to mongo-java-driver:2.10.1 and am considering rebuilding using the latest openssl build (0.9.8e-26.el5_9.1).&lt;/p&gt;</description>
                <environment>Unix Distribution: CentOS  release 5.8 (Final), &lt;br/&gt;
&lt;br/&gt;
Driver: mongo-java-driver:2.9.1&lt;br/&gt;
&lt;br/&gt;
Build: Compiled from source, with this command line:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;# scons install -j 9 --64 --ssl --prefix=/tmp/mongodb-linux-2.2.3-x86_64&lt;br/&gt;
&lt;br/&gt;
OpenSSL version: 0.9.8e-22.el5_8.4&lt;br/&gt;
&lt;br/&gt;
Deployment: one primary instance, one secondary, one arbiter.&lt;br/&gt;
&lt;br/&gt;
build info: Linux 12.servername.com 2.6.18-194.3.1.el5.028stab069.6 #1 SMP Tue Aug 10 21:28:51 GMT 2010 x86_64 BOOST_LIB_VERSION=1_49</environment>
        <key id="69249">SERVER-9052</key>
            <summary>During failover in replicaset, MongoDB crashes</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="stephen.lee">Stephen Lee</assignee>
                                    <reporter username="dclaus1000">Dave Claussen</reporter>
                        <labels>
                            <label>crash</label>
                            <label>linux</label>
                            <label>replicaset</label>
                    </labels>
                <created>Thu, 21 Mar 2013 14:26:30 +0000</created>
                <updated>Mon, 11 Jul 2016 17:57:32 +0000</updated>
                            <resolved>Tue, 26 Mar 2013 16:13:44 +0000</resolved>
                                    <version>2.2.3</version>
                                                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="298934" author="stephen.lee@10gen.com" created="Tue, 26 Mar 2013 16:13:44 +0000"  >&lt;p&gt;No, aside from your use of OpenVZ, the only other major concern was &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-660&quot; title=&quot;Concurrency issue can cause corrupted messages to be sent to the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-660&quot;&gt;&lt;del&gt;JAVA-660&lt;/del&gt;&lt;/a&gt;, which you&apos;ve rectified by upgrading the Java driver.  Let us know if run into any other issues!&lt;/p&gt;</comment>
                            <comment id="298926" author="dclaus1000" created="Tue, 26 Mar 2013 16:09:15 +0000"  >&lt;p&gt;No issues since then, but I did find out that our Verio server is, in fact, using OpenVZ, despite the fact that we have a dedicated server.  So the message &quot;You are running in OpenVZ. This is known to be broken!!!&quot; that I&apos;ve been ignoring in the Mongo logs is in fact correct. =)&lt;/p&gt;

&lt;p&gt;We&apos;re switching our infrastructure to a different platform, so unless there&apos;s anything obvious in the logs you can close this ticket.&lt;/p&gt;

&lt;p&gt;-D&lt;/p&gt;</comment>
                            <comment id="298833" author="stephen.lee@10gen.com" created="Tue, 26 Mar 2013 14:21:58 +0000"  >&lt;p&gt;Have you noticed any issues since upgrading your Java driver?  &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-660&quot; title=&quot;Concurrency issue can cause corrupted messages to be sent to the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-660&quot;&gt;&lt;del&gt;JAVA-660&lt;/del&gt;&lt;/a&gt; could cause corruption, which might account for those error messages.&lt;/p&gt;</comment>
                            <comment id="298087" author="dclaus1000" created="Mon, 25 Mar 2013 18:34:28 +0000"  >&lt;p&gt;Stephen,&lt;/p&gt;

&lt;p&gt;I&apos;ve upgraded the Java driver to mongo-java-driver:2.10.1, and openssl to 0.9.8e-26.el5_9.1.&lt;/p&gt;</comment>
                            <comment id="298080" author="stephen.lee@10gen.com" created="Mon, 25 Mar 2013 18:28:40 +0000"  >&lt;p&gt;Dave, I would strongly recommend you upgrade your Java driver to v2.9.3 or later, due to &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-660&quot; title=&quot;Concurrency issue can cause corrupted messages to be sent to the server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-660&quot;&gt;&lt;del&gt;JAVA-660&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="25219" name="mongo_crash_03_20_primary.log" size="331880" author="dclaus1000" created="Thu, 21 Mar 2013 14:26:30 +0000"/>
                            <attachment id="25220" name="mongo_crash_03_20_secondary.log" size="13843" author="dclaus1000" created="Thu, 21 Mar 2013 14:26:30 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 25 Mar 2013 18:28:40 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 47 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_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>dclaus1000</customfieldvalue>
            <customfieldvalue>stephen.lee</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn0o7:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>47034</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Not sure exactly, but my guess is to have one primary, one secondary, and an arbiter and cause the secondary to die.  Hopefully the logs will be enough to give you some information that will help determine what went wrong.&lt;/p&gt;</customfieldvalue>

                        </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|hrkss7:</customfieldvalue>

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