<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:14 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-2807] Assertion failure _c.get() db/query.cpp 433</title>
                <link>https://jira.mongodb.org/browse/SERVER-2807</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Running the following PHP script&lt;/p&gt;

&lt;p&gt;&amp;lt;?php&lt;br/&gt;
$userId = &apos;4ab78de83395004d26791dd8&apos;;&lt;/p&gt;

&lt;p&gt;$connectionParams = array(&apos;persist&apos; =&amp;gt; &apos;1&apos;, &apos;replicaSet&apos; =&amp;gt; true);&lt;br/&gt;
$dbCx = new Mongo(&apos;127.0.0.1:27017,127.0.0.1:27018&apos;, $connectionParams);&lt;/p&gt;

&lt;p&gt;$testCollection = $dbCx-&amp;gt;selectCollection(&apos;dbName&apos;,&apos;testCollection&apos;);&lt;br/&gt;
echo &quot;now count is &quot; . print_r($testCollection-&amp;gt;count(&lt;br/&gt;
        array(&lt;br/&gt;
                &apos;userId&apos; =&amp;gt;$userId, &lt;br/&gt;
//              &apos;origin&apos; =&amp;gt; &apos;origin&apos;,&lt;br/&gt;
//              &apos;action&apos; =&amp;gt; &apos;action&apos;&lt;br/&gt;
             )&lt;br/&gt;
), true) . &quot;\n&quot;;&lt;/p&gt;

&lt;p&gt;echo &quot;now count is &quot; . print_r($testCollection-&amp;gt;count(&lt;br/&gt;
        array(&lt;br/&gt;
                &apos;userId&apos; =&amp;gt; $userId, &lt;br/&gt;
                &apos;origin&apos; =&amp;gt; &apos;origin&apos;,&lt;br/&gt;
                &apos;action&apos; =&amp;gt; &apos;action&apos;&lt;br/&gt;
             )&lt;br/&gt;
), true) . &quot;\n&quot;;&lt;br/&gt;
?&amp;gt;&lt;/p&gt;

&lt;p&gt;I get the following message in the mongo log:&lt;/p&gt;

&lt;p&gt;Assertion failure _c.get() db/query.cpp 433&lt;br/&gt;
0x5512de 0x562ce1 0x6529d0 0x7a2593 0x7a2a5b 0x797602 0x79a91b 0x79d044 0x79dbe7 0x645ec1 0x7f2a7d 0x7dc5f0 0x7ddb21 0x645565 0x64addc 0x757f15 0x75a440 0x8a617e 0x8b92d0 0x7f11831c4971 &lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12sayDbContextEPKc+0xae) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5512de&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo8assertedEPKcS1_j+0x111) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x562ce1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo7CountOp8nscannedEv+0x40) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6529d0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(&lt;em&gt;ZSt11&lt;/em&gt;&lt;em&gt;push_heapIN9&lt;/em&gt;&lt;em&gt;gnu_cxx17&lt;/em&gt;&lt;em&gt;normal_iteratorIPN5mongo8OpHolderESt6vectorIS3_SaIS3_EEEElS3_St4lessIS3_EEvT_T0_SC_T1_T2&lt;/em&gt;+0xb3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7a2593&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(&lt;em&gt;ZNSt14priority_queueIN5mongo8OpHolderESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushERKS1&lt;/em&gt;+0xab) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7a2a5b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet6Runner3runEv+0xad2) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x797602&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE+0x5b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x79a91b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE+0x64) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x79d044&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE+0x17) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x79dbe7&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo8runCountEPKcRKNS_7BSONObjERSs+0x3c1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x645ec1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo8CmdCount3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0xad) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f2a7d&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x9a0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7dc5f0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x831) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7ddb21&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x35) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x645565&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x31ac) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x64addc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x757f15&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x5b0) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x75a440&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x21e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8a617e&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /opt/mongodb/bin/mongod(thread_proxy+0x80) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8b92d0&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib/libpthread.so.0(+0x7971) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7f11831c4971&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;MongoDB runs with the notablescan option and there are indexes in the testCollection on userId and requestTime&lt;/p&gt;</description>
                <environment>Linux</environment>
        <key id="15195">SERVER-2807</key>
            <summary>Assertion failure _c.get() db/query.cpp 433</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="aaron">Aaron Staple</assignee>
                                    <reporter username="dominik">Dominik Gehl</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Mar 2011 15:31:32 +0000</created>
                <updated>Fri, 22 Mar 2013 04:31:33 +0000</updated>
                            <resolved>Tue, 22 Mar 2011 04:56:41 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="26465" author="aaron" created="Tue, 22 Mar 2011 04:56:41 +0000"  >&lt;p&gt;This is &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2809&quot; title=&quot;assertion in count / userquery op nscanned after failed yield recovery&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2809&quot;&gt;&lt;del&gt;SERVER-2809&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="26438" author="dominik" created="Mon, 21 Mar 2011 23:41:46 +0000"  >&lt;p&gt;One important info I forgot to add to the ticket is that the first query is executed correctly. It&apos;s the second query which generates the exception&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, 22 Mar 2011 04:56:41 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 48 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>aaron</customfieldvalue>
            <customfieldvalue>dominik</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp32n:</customfieldvalue>

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

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

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