<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:38 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-1295] mapreduce doesn&apos;t work inside db.eval</title>
                <link>https://jira.mongodb.org/browse/SERVER-1295</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;gt; db.eval( &quot;m = function() &lt;/p&gt;
{ emit( this._id, 1 ); }
&lt;p&gt;; r = function( k, vs ) &lt;/p&gt;
{ return 1; }
&lt;p&gt;; db.f.mapReduce( m, r );&quot; );&lt;br/&gt;
Thu Jun 24 13:27:15 uncaught exception: &lt;/p&gt;
{ &quot;errno&quot; : -3, &quot;errmsg&quot; : &quot;invoke failed: &quot;, &quot;ok&quot; : false }



&lt;p&gt;Thu Jun 24 13:27:14 Assertion: 10298:can&apos;t temprelease nested write lock&lt;br/&gt;
0x1000792dc 0x10003cba6 0x10006cbd2 0x1001c2ac8 0x1001dc2d5 0x1001dcd02 0x100134227 0x1001345aa 0x1001a6488 0x1001a783c 0x1001a846e 0x1000fd3b4 0x1000f3d45 0x1001246e1 0x100c96dff 0x100c9efed 0x100c96e5f 0x100ca529c 0x100c694e3 0x1001323ac &lt;br/&gt;
 0   mongod                              0x00000001000792dc _ZN5mongo15printStackTraceERSo + 36&lt;br/&gt;
 1   mongod                              0x000000010003cba6 _ZN5mongo11msgassertedEiPKc + 322&lt;br/&gt;
 2   mongod                              0x000000010006cbd2 _ZN5mongo13dbtempreleaseC1Ev + 134&lt;br/&gt;
 3   mongod                              0x00000001001c2ac8 _ZN5mongo2mr16MapReduceCommand3runERKSsRNS_7BSONObjERSsRNS_14BSONObjBuilderEb + 5756&lt;br/&gt;
 4   mongod                              0x00000001001dc2d5 _ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb + 1495&lt;br/&gt;
 5   mongod                              0x00000001001dcd02 _ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_10BufBuilderERNS_14BSONObjBuilderEbi + 1190&lt;br/&gt;
 6   mongod                              0x0000000100134227 _ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_10BufBuilderERNS_14BSONObjBuilderEbi + 67&lt;br/&gt;
 7   mongod                              0x00000001001345aa &lt;em&gt;ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1&lt;/em&gt; + 558&lt;br/&gt;
 8   mongod                              0x00000001001a6488 _ZN5mongoL13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 189&lt;br/&gt;
 9   mongod                              0x00000001001a783c _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE + 862&lt;br/&gt;
 10  mongod                              0x00000001001a846e _ZN5mongo14DBDirectClient4callERNS_7MessageES2_b + 116&lt;br/&gt;
 11  mongod                              0x00000001000fd3b4 _ZN5mongo14DBClientCursor4initEv + 532&lt;br/&gt;
 12  mongod                              0x00000001000f3d45 _ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii + 193&lt;br/&gt;
 13  mongod                              0x00000001001246e1 &lt;em&gt;ZN5mongo10mongo_findEP9JSContextP8JSObjectjPlS4&lt;/em&gt; + 545&lt;br/&gt;
 14  libjs.dylib                         0x0000000100c96dff js_Invoke + 2789&lt;br/&gt;
 15  libjs.dylib                         0x0000000100c9efed js_Interpret + 32101&lt;br/&gt;
 16  libjs.dylib                         0x0000000100c96e5f js_Invoke + 2885&lt;br/&gt;
 17  libjs.dylib                         0x0000000100ca529c js_InternalInvoke + 234&lt;br/&gt;
 18  libjs.dylib                         0x0000000100c694e3 JS_CallFunction + 42&lt;br/&gt;
 19  mongod                              0x00000001001323ac _ZN5mongo7SMScope6invokeEP10JSFunctionRKNS_7BSONObjEib + 548&lt;br/&gt;
Thu Jun 24 13:27:15 mr failed, removing collection&lt;br/&gt;
Thu Jun 24 13:27:15 CMD: drop test.tmp.mr.mapreduce_1277411234_1&lt;br/&gt;
Thu Jun 24 13:27:15 CMD: drop test.tmp.mr.mapreduce_1277411234_1_inc&lt;/p&gt;</description>
                <environment></environment>
        <key id="12246">SERVER-1295</key>
            <summary>mapreduce doesn&apos;t work inside db.eval</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>Thu, 24 Jun 2010 16:31:29 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:12 +0000</updated>
                            <resolved>Thu, 24 Jun 2010 17:55:55 +0000</resolved>
                                    <version>1.4.3</version>
                    <version>1.5.3</version>
                                    <fixVersion>1.5.4</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="15058" author="eliot" created="Thu, 24 Jun 2010 17:55:55 +0000"  >&lt;p&gt;can&apos;t easily backport this to 1.4, but should work in 1.5 now&lt;/p&gt;</comment>
                            <comment id="15057" author="auto" created="Thu, 24 Jun 2010 17:55:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: don&apos;t require temprelease to work in m/r - allowing it to run from db.eval &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1295&quot; title=&quot;mapreduce doesn&amp;#39;t work inside db.eval&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1295&quot;&gt;&lt;del&gt;SERVER-1295&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/d5596001d25f01dd169f01ce4bb025fdd2486cc1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/d5596001d25f01dd169f01ce4bb025fdd2486cc1&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>Thu, 24 Jun 2010 17:55:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 34 weeks, 6 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, 34 weeks, 6 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="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|hrpkuf:</customfieldvalue>

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

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

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