<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:09:23 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-5608] MapReduce returns incorrect timeMillis and, when verbose, timing data</title>
                <link>https://jira.mongodb.org/browse/SERVER-5608</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Running MapReduce with verbose=true:&lt;br/&gt;
...&lt;br/&gt;
        &quot;timeMillis&quot; : 0,&lt;br/&gt;
        &quot;timing&quot; : {&lt;br/&gt;
                &quot;mapTime&quot; : NumberLong(11921),&lt;br/&gt;
                &quot;emitLoop&quot; : 13524,&lt;br/&gt;
                &quot;reduceTime&quot; : NumberLong(556),&lt;br/&gt;
                &quot;mode&quot; : &quot;js&quot;,&lt;br/&gt;
                &quot;total&quot; : 0&lt;/p&gt;</description>
                <environment></environment>
        <key id="36294">SERVER-5608</key>
            <summary>MapReduce returns incorrect timeMillis and, when verbose, timing data</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="milkie@mongodb.com">Eric Milkie</assignee>
                                    <reporter username="petercgrant">Peter Grant</reporter>
                        <labels>
                            <label>mapreduce</label>
                            <label>timing</label>
                    </labels>
                <created>Sun, 15 Apr 2012 02:56:50 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:36 +0000</updated>
                            <resolved>Thu, 19 Apr 2012 00:44:59 +0000</resolved>
                                    <version>2.1.0</version>
                                    <fixVersion>2.1.1</fixVersion>
                                    <component>MapReduce</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="111327" author="auto" created="Wed, 18 Apr 2012 19:39:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;milkie&apos;, u&apos;name&apos;: u&apos;Eric Milkie&apos;, u&apos;email&apos;: u&apos;milkie@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5608&quot; title=&quot;MapReduce returns incorrect timeMillis and, when verbose, timing data&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5608&quot;&gt;&lt;del&gt;SERVER-5608&lt;/del&gt;&lt;/a&gt; fix m-r timing output&lt;/p&gt;

&lt;p&gt;Patch submitted by Peter Grant, Github petercgrant.&lt;br/&gt;
A timer with the same one-letter name was occluding a previous Timer.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8c6c559e7d97321fdb14793d098016cd1b105fe5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8c6c559e7d97321fdb14793d098016cd1b105fe5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="111326" author="milkie" created="Wed, 18 Apr 2012 19:39:10 +0000"  >&lt;p&gt;I modified the patch a little bit. You can just call appendNumber() and it will strip off the NumberLong text without downcasting the value of the number.&lt;/p&gt;</comment>
                            <comment id="110974" author="milkie" created="Wed, 18 Apr 2012 02:36:19 +0000"  >&lt;p&gt;contributor agreement signed&lt;/p&gt;</comment>
                            <comment id="109932" author="milkie" created="Sun, 15 Apr 2012 03:57:44 +0000"  >&lt;p&gt;Hi Peter.  Thanks for the patch; I will work on incorporating it on Monday.  In the meantime, can you please sign the contributor agreement here: &lt;a href=&quot;http://www.10gen.com/contributor&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.10gen.com/contributor&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="109929" author="petercgrant" created="Sun, 15 Apr 2012 03:11:01 +0000"  >&lt;p&gt;Looks like there&apos;s a Timer t that&apos;s shadowing another Timer t.  The timings are also two ints and two longs.  Attaching a patch that will take care of both issues.&lt;/p&gt;

&lt;p&gt;After the patch:&lt;br/&gt;
        &quot;timeMillis&quot; : 14248,&lt;br/&gt;
        &quot;timing&quot; : {&lt;br/&gt;
                &quot;mapTime&quot; : 12616,&lt;br/&gt;
                &quot;emitLoop&quot; : 14247,&lt;br/&gt;
                &quot;reduceTime&quot; : 557,&lt;br/&gt;
                &quot;mode&quot; : &quot;js&quot;,&lt;br/&gt;
                &quot;total&quot; : 14248&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15962" name="mr_timing.patch" size="2115" author="petercgrant" created="Sun, 15 Apr 2012 03:18:38 +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>Sun, 15 Apr 2012 03:57:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 44 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>
                            11 years, 44 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>auto</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>petercgrant</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro5sn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7693</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></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|ht09av:</customfieldvalue>

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