<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:29 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-2893] C++ client 1.8 driver has unusable mapreduce method (with wrong signature)</title>
                <link>https://jira.mongodb.org/browse/SERVER-2893</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In dbclient.h line 554 is method:&lt;br/&gt;
BSONObj mapreduce(const string &amp;amp;ns, const string &amp;amp;jsmapf, const string &amp;amp;jsreducef, BSONObj query = BSONObj(), const string&amp;amp; output = &quot;&quot;);&lt;br/&gt;
note that output (last) parameter is string and has &quot;&quot; default value.&lt;br/&gt;
If try to call this method with default (&quot;&quot;) value I have error: &apos;out&apos; has to be a string or an object&lt;/p&gt;

&lt;p&gt;I have no idea how I could use this method. Due to documentation:&lt;br/&gt;
&lt;a href=&quot;http://www.mongodb.org/display/DOCS/MapReduce#MapReduce-Outputoptions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/MapReduce#MapReduce-Outputoptions&lt;/a&gt;&lt;br/&gt;
output should be an object.&lt;/p&gt;

&lt;p&gt;I download driver from page:&lt;br/&gt;
&lt;a href=&quot;http://dl.mongodb.org/dl/cxx-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dl.mongodb.org/dl/cxx-driver&lt;/a&gt;&lt;br/&gt;
cxx-driver/mongodb-linux-x86_64-v1.8-latest.tgz 	2011-04-04 09:22:58 	6374730&lt;/p&gt;</description>
                <environment></environment>
        <key id="15449">SERVER-2893</key>
            <summary>C++ client 1.8 driver has unusable mapreduce method (with wrong signature)</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="qwak">Piotr Beling</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Apr 2011 10:33:22 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:05 +0000</updated>
                            <resolved>Mon, 4 Apr 2011 23:24:52 +0000</resolved>
                                    <version>1.8.0</version>
                                    <fixVersion>1.8.2</fixVersion>
                    <fixVersion>1.9.0</fixVersion>
                                    <component>Internal Client</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="30810" author="auto" created="Tue, 3 May 2011 15:22:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: C++ driver now supports 1.8 M/R options &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2893&quot; title=&quot;C++ client 1.8 driver has unusable mapreduce method (with wrong signature)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2893&quot;&gt;&lt;del&gt;SERVER-2893&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: v1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a9f531efe371b8e79a82b0014d81f23927ff6fa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a9f531efe371b8e79a82b0014d81f23927ff6fa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="27779" author="redbeard0531" created="Mon, 4 Apr 2011 23:24:52 +0000"  >&lt;p&gt;Only backwards breaking if you depended on using a temp collection if you didn&apos;t specify an output (which was broken anyway in 1.8). Now defaults to using inline-style output.&lt;/p&gt;

&lt;p&gt;Not sure what the policy is for C++ driver-only backports, but this only touches the driver (and not a part used by any server) and is needed for driver compatability with a 1.8 server&lt;/p&gt;</comment>
                            <comment id="27776" author="auto" created="Mon, 4 Apr 2011 23:20:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: C++ driver now supports 1.8 M/R options &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2893&quot; title=&quot;C++ client 1.8 driver has unusable mapreduce method (with wrong signature)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2893&quot;&gt;&lt;del&gt;SERVER-2893&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ec093cc5accdc0ef6f5272e84b2930044cbf4d01&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ec093cc5accdc0ef6f5272e84b2930044cbf4d01&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="27648" author="eliot" created="Mon, 4 Apr 2011 13:18:28 +0000"  >&lt;p&gt;We should change this soon, but in the meantime you can simply use the raw command interface.&lt;/p&gt;</comment>
                            <comment id="27642" author="qwak" created="Mon, 4 Apr 2011 10:49:48 +0000"  >&lt;p&gt;Sorry, I just read that I can pass collection name here.&lt;br/&gt;
But still default &quot;&quot; value for output is bad, and many interesting options are unavailable because there are not mapreduce version with BSONObject output.&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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Apr 2011 13:18:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 42 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>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, 42 weeks, 1 day ago
                        </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>eliot</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>qwak</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp1zz:</customfieldvalue>

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

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

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