<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:08:56 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-5448] Add support for &apos;jsMode&apos; during a sharded Map/Reduce</title>
                <link>https://jira.mongodb.org/browse/SERVER-5448</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A mapReduce command issued against a sharded collection will fail with the message &quot;unknown m/r field for sharding: jsMode&quot;. We should add support for using &quot;jsMode&quot; on sharded collections.&lt;/p&gt;

&lt;p&gt;It does not appear that the jsMode option defaults to true, although it might have in some version before 3.4.&lt;/p&gt;

&lt;h5&gt;&lt;a name=&quot;OriginalDescription&quot;&gt;&lt;/a&gt;Original Description&lt;/h5&gt;
&lt;p&gt;Or maybe it not use jsMode in sharding environment by default?&lt;/p&gt;

&lt;p&gt;If this is not true, it will be great if such feature will be added&lt;/p&gt;</description>
                <environment>2.1.1-pre-&lt;br/&gt;
Linux 2.6.32-5-amd64 #1 SMP Mon Oct 3 07:53:54 UTC 2011 x86_64 GNU/Linux</environment>
        <key id="35018">SERVER-5448</key>
            <summary>Add support for &apos;jsMode&apos; during a sharded Map/Reduce</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-query">Backlog - Query Team</assignee>
                                    <reporter username="azat">Azat Khuzhin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Mar 2012 17:37:54 +0000</created>
                <updated>Tue, 6 Dec 2022 05:34:24 +0000</updated>
                            <resolved>Mon, 9 Mar 2020 20:39:43 +0000</resolved>
                                    <version>2.1.0</version>
                                                    <component>MapReduce</component>
                                        <votes>6</votes>
                                    <watches>15</watches>
                                                                                                                <comments>
                            <comment id="2955541" author="charlie.swanson" created="Mon, 9 Mar 2020 20:39:43 +0000"  >&lt;p&gt;During a recent project where we created a new implementation of mapReduce backed by the aggregation framework, we deprecated the &apos;jsMode&apos; argument to mapReduce. This argument will be ignored starting in 4.4.0.&lt;/p&gt;</comment>
                            <comment id="1521259" author="charlie.swanson" created="Fri, 10 Mar 2017 17:16:54 +0000"  >&lt;p&gt;I&apos;ve updated the ticket&apos;s summary and description to match my understanding of this request, please correct me if I&apos;ve missed something.&lt;/p&gt;</comment>
                            <comment id="1364553" author="abhidemon" created="Tue, 23 Aug 2016 08:06:28 +0000"  >
&lt;p&gt;Unaware of the fact that this feature has been removed from sharding , I moved my MR from standalone servers to sharded replica sets and now my programs running  pretty slow. &lt;/p&gt;

&lt;p&gt;Are there any plans of adding jsmode to sharding?&lt;/p&gt;

&lt;p&gt;This will be a really great improvement on speed. &lt;/p&gt;</comment>
                            <comment id="678141" author="mhall" created="Thu, 31 Jul 2014 22:15:08 +0000"  >&lt;p&gt;I&apos;m using MR to compute profiling statistics for entire collections (mean, std. dev, categorical value frequencies etc.) and jsMode makes a &lt;b&gt;huge&lt;/b&gt; difference (an order of magnitude faster). I would love to see this turned on for sharding.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
Mark.&lt;/p&gt;</comment>
                            <comment id="106315" author="antoine" created="Wed, 4 Apr 2012 00:24:37 +0000"  >&lt;p&gt;right, &quot;jsMode&quot; option is at root level and currently is rejected by mongos.&lt;br/&gt;
In theory it works fine with sharding, so it is just a matter of passing the flag through.&lt;/p&gt;</comment>
                            <comment id="105024" author="eliot" created="Fri, 30 Mar 2012 02:04:41 +0000"  >&lt;p&gt;No - it means the asignee needs to diagnose the issue, perhaps with more input from you.&lt;/p&gt;</comment>
                            <comment id="104973" author="azat" created="Thu, 29 Mar 2012 21:04:09 +0000"  >&lt;p&gt;By changing status to &quot;debugging with submitter&quot; you mean than I must write what MR command to run ?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="482995">PHPLIB-309</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25143"><![CDATA[Query]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 30 Mar 2012 02:04:41 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 48 weeks, 2 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>abhidemon</customfieldvalue>
            <customfieldvalue>antoine</customfieldvalue>
            <customfieldvalue>azat</customfieldvalue>
            <customfieldvalue>backlog-server-query</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mhall</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro7sn:</customfieldvalue>

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

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

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