<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:55:35 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-936] Assertion failure in util/message.cpp</title>
                <link>https://jira.mongodb.org/browse/SERVER-936</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I occasionally get an assertion error when running mongos with sharding. I&apos;ve got a mini-cluster with 3 nodes running, where each node has a mongod instance and a mongos instance running. One of the machines also has an additional mongod instance running, acting as the config server. The setup is basically the same as described on the &quot;Sample Configuration Session&quot; wiki page (i.e. i have a &quot;test.people&quot; collection, which uses the &quot;name&quot; as the shard key). I&apos;ve inserted about a million rows in the collection, resulting in 123 shard chunks. &lt;/p&gt;

&lt;p&gt;To load test, I&apos;ve set up each of the nodes to run a bunch of simple queries against their &quot;localhost&quot; mongos instances. The queries are of the form {name:{$gte:&quot;foo&quot;,$lt:&quot;bar&quot;}}. Things work great about 90% of the time, but sometimes I get this error in the mongos logs:&lt;/p&gt;

&lt;p&gt;Wed Sep 23 18:46:41 connection accepted from 10.244.254.3:34215 #6&lt;br/&gt;
Wed Sep 23 18:46:41 Request::process ns: test.people msg id:1 attempt: 0&lt;br/&gt;
Extra: {}&lt;br/&gt;
Wed Sep 23 18:46:41 Request::process ns: test.people msg id:2 attempt: 0&lt;br/&gt;
Wed Sep 23 18:46:41 Request::process ns: test.people msg id:3 attempt: 0&lt;br/&gt;
********************&lt;br/&gt;
ERROR: MessagingPort::call() wrong id got:2225548905 expect:2242326122&lt;br/&gt;
  old:10922&lt;br/&gt;
  response msgid:677081682&lt;br/&gt;
  response len:  1061978&lt;br/&gt;
Wed Sep 23 18:46:41  Assertion failure false util/message.cpp 366&lt;br/&gt;
0x44f856 0x455f78 0x454267 0x45b7ec 0x45f116 0x45f2c5 0x4a78d3 0x4a50d3 0x48ce34 0x4a34e9 0x4ae75e 0x484bf6 0x4d2297 0x4d1e9f 0x2aaaaacd33ba 0x2aaaab778fcd &lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x44f856&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x455f78&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x454267&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x45b7ec&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x45f116&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x45f2c5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4a78d3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4a50d3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x48ce34&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4a34e9&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4ae75e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos(_ZN5mongo3pms9threadRunEv+0x86) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x484bf6&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4d2297&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongos &lt;span class=&quot;error&quot;&gt;&amp;#91;0x4d1e9f&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2aaaaacd33ba&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libc.so.6(clone+0x6d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x2aaaab778fcd&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;On the client side, the error shows up as:&lt;/p&gt;

&lt;p&gt;java.lang.RuntimeException: db error []&lt;br/&gt;
	at com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:407)&lt;br/&gt;
	at com.mongodb.DBCursor._check(DBCursor.java:237)&lt;br/&gt;
	at com.mongodb.DBCursor._hasNext(DBCursor.java:367)&lt;br/&gt;
	at com.mongodb.DBCursor.hasNext(DBCursor.java:392)&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;</description>
                <environment>mongos v0.2 (alpha 2), java driver 0.10.1, ubuntu 9.04</environment>
        <key id="10636">SERVER-936</key>
            <summary>Assertion failure in util/message.cpp</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="eliot">Eliot Horowitz</assignee>
                                    <reporter username="mfoemmel">Matthew Foemmel</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Sep 2009 16:10:03 +0000</created>
                <updated>Tue, 12 Jul 2016 00:29:50 +0000</updated>
                            <resolved>Mon, 26 Apr 2010 12:42:22 +0000</resolved>
                                                    <fixVersion>1.5.1</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="13810" author="eliot" created="Mon, 26 Apr 2010 12:42:22 +0000"  >&lt;p&gt;same root cause as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1048&quot; title=&quot;DBClientCursor &amp;amp; connection ownership kind broken&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1048&quot;&gt;&lt;del&gt;SERVER-1048&lt;/del&gt;&lt;/a&gt; &lt;br/&gt;
at least i&apos;m 99% sure&lt;/p&gt;</comment>
                            <comment id="11256" author="auto" created="Tue, 1 Dec 2009 12:25:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: debugging for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-936&quot; title=&quot;Assertion failure in util/message.cpp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-936&quot;&gt;&lt;del&gt;SHARDING-40&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-440&quot; title=&quot;messaging id mismatch in repl tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-440&quot;&gt;&lt;del&gt;SERVER-440&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c72e870657137ab5c939ae36d081cf1623cca645&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c72e870657137ab5c939ae36d081cf1623cca645&lt;/a&gt;&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>Tue, 1 Dec 2009 12:25:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 43 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>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>
                            13 years, 43 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mfoemmel</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpopb:</customfieldvalue>

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

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

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