<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:00:48 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-2658] map reduce foundindex assertion in repl basic1 test</title>
                <link>https://jira.mongodb.org/browse/SERVER-2658</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;   Assertion failure foundIndex db/commands/mr.cpp 587&lt;br/&gt;
m31001| 0x817e6eb 0x8193713 0x84716b5 0x847ee28 0x84416a1 0x8443d14 0x82883dc 0x828d96f 0x83b2d87 0x83b5adc 0x8520cb3 0x81f9598 0x853569d 0x79d542 0x1e5b6e &lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo12sayDbContextEPKc+0xcb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x817e6eb&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo8assertedEPKcS1_j+0x143) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8193713&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo2mr5State11finalReduceEPNS_5CurOpERNS_19ProgressMeterHolderE+0x565) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x84716b5&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo2mr16MapReduceCommand3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb+0xf78) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x847ee28&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0x211) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x84416a1&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x694) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8443d14&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi+0x4c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x82883dc&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(&lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt;+0x2e6f) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x828d96f&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod &lt;span class=&quot;error&quot;&gt;&amp;#91;0x83b2d87&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x70c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x83b5adc&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x273) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8520cb3&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPN5mongo13MessagingPortEENS2_5list1INS2_5valueIS6_EEEEEEE3runEv+0x18) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x81f9598&amp;#93;&lt;/span&gt;&lt;br/&gt;
m31001|  /mnt/slaves/Linux_32bit/mongo/mongod(thread_proxy+0x7d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x853569d&amp;#93;&lt;/span&gt;&lt;br/&gt;
Thu Feb 24 21:25:56 uncaught exception: map reduce failed:{&lt;br/&gt;
	&quot;assertion&quot; : &quot;assertion db/commands/mr.cpp:587&quot;,&lt;br/&gt;
	&quot;errmsg&quot; : &quot;db assertion failure&quot;,&lt;br/&gt;
	&quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
m31001|  /lib/i686/nosegneg/libpthread.so.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x79d542&amp;#93;&lt;/span&gt;&lt;br/&gt;
failed to load: /mnt/slaves/Linux_32bit/mongo/jstests/repl/basic1.js&lt;br/&gt;
m31001|  /lib/i686/nosegneg/libc.so.6(clone+0x5e) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x1e5b6e&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&amp;lt;&lt;a href=&quot;http://buildbot.mongodb.org/builders/Linux%2032-bit/builds/2855/steps/test_4/logs/stdio&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://buildbot.mongodb.org/builders/Linux%2032-bit/builds/2855/steps/test_4/logs/stdio&lt;/a&gt;&amp;gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="14951">SERVER-2658</key>
            <summary>map reduce foundindex assertion in repl basic1 test</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="aaron">Aaron Staple</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Mar 2011 21:42:33 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:13 +0000</updated>
                            <resolved>Wed, 2 Mar 2011 06:54:30 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="25056" author="auto" created="Wed, 2 Mar 2011 08:13:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: fix mr test &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2658&quot; title=&quot;map reduce foundindex assertion in repl basic1 test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2658&quot;&gt;&lt;del&gt;SERVER-2658&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8fcdd4c30e08380d730b4301a7e78f93de0de7f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8fcdd4c30e08380d730b4301a7e78f93de0de7f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="25049" author="auto" created="Wed, 2 Mar 2011 06:54:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: fix mr test &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2658&quot; title=&quot;map reduce foundindex assertion in repl basic1 test&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2658&quot;&gt;&lt;del&gt;SERVER-2658&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8fcdd4c30e08380d730b4301a7e78f93de0de7f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8fcdd4c30e08380d730b4301a7e78f93de0de7f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="25048" author="aaron" created="Wed, 2 Mar 2011 06:50:16 +0000"  >&lt;p&gt;It&apos;s not my test, but I am seeing:&lt;/p&gt;

&lt;p&gt;m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; for foo.mr&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; CMD: drop foo.tmp.mr.mr_basic1_out_0&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; CMD: drop foo.tmp.mr.mr_basic1_out_0_inc&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ 0: 1 }
&lt;p&gt; for foo.tmp.mr.mr_basic1_out_0_inc&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
m31001| 	 0&lt;br/&gt;
m31001| 	 0&lt;br/&gt;
m31001| 	 1&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; CMD: drop foo.tmp.mr.mr_basic1_out_0&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; for foo.tmp.mr.mr_basic1_out_0&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; CMD: drop foo.tmp.mr.mr_basic1_out_0_inc&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; for foo.tmp.mr.mr_basic1_out_0&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
m31001| Thu Feb 24 21:25:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;   Assertion failure foundIndex db/commands/mr.cpp 587&lt;/p&gt;

&lt;p&gt;So it looks like the slave is creating an index on the _inc collection, then as part of replication it drops the _inc collection, then it asserts because it can&apos;t find an index for the _inc collection.&lt;/p&gt;

&lt;p&gt;Just having glanced at the test script it looks like the same m/r operations are running on both the master and slave - though not sure on the order of events with reference to the test script.&lt;/p&gt;</comment>
                            <comment id="25040" author="eliot" created="Wed, 2 Mar 2011 06:04:44 +0000"  >&lt;p&gt;Why is this running against the slave anyway?&lt;br/&gt;
I&apos;m confused where this is even happening.&lt;/p&gt;</comment>
                            <comment id="25019" author="aaron" created="Tue, 1 Mar 2011 22:53:55 +0000"  >&lt;p&gt;Would it make sense to have some sort of policy of not replicating temp / output collections to slaves - or else putting a machine unique component in the auto generated collection names?&lt;/p&gt;</comment>
                            <comment id="25018" author="aaron" created="Tue, 1 Mar 2011 22:51:04 +0000"  >&lt;p&gt;From the logs it looks like the master is dropping its temp collection, so the slave drops its temp collection as well.  And this happens while the slave m/r task is yielding and is not expecting the temp collection to suddenly disappear.&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 Mar 2011 06:04:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 51 weeks 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>
                            12 years, 51 weeks 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="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp4un:</customfieldvalue>

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

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

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