<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:12 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>[JAVA-404] Allow inline M/R w/SlaveOk go to secondaries</title>
                <link>https://jira.mongodb.org/browse/JAVA-404</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Send secondaries map/reduce request if they are Inline and SlaveOk&lt;/p&gt;</description>
                <environment></environment>
        <key id="20302">JAVA-404</key>
            <summary>Allow inline M/R w/SlaveOk go to secondaries</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jul 2011 20:49:42 +0000</created>
                <updated>Tue, 25 Jun 2013 16:49:41 +0000</updated>
                            <resolved>Mon, 24 Oct 2011 04:37:05 +0000</resolved>
                                                    <fixVersion>2.7</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="62035" author="auto" created="Sat, 22 Oct 2011 20:56:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-404&quot; title=&quot;Allow inline M/R w/SlaveOk go to secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-404&quot;&gt;&lt;del&gt;JAVA-404&lt;/del&gt;&lt;/a&gt;: slaveOk support for inline mapreduce (routes to secondaries); changed CommandResult to include serverUsed, made readPref-Secondary set slaveOk query flag, toString/toJSON on Node/ReplicaSetStatus.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9573f647b09312ca4794195b1928478819e76658&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9573f647b09312ca4794195b1928478819e76658&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61310" author="brendan" created="Wed, 19 Oct 2011 00:45:02 +0000"  >&lt;p&gt;This should be much easier now, since we can pass ReadPreference to each op.  Should be easily fixable for 2.8 or 2.7.1&lt;/p&gt;</comment>
                            <comment id="45366" author="scotthernandez" created="Fri, 29 Jul 2011 21:21:44 +0000"  >&lt;p&gt;Like other read operations (find/cursor) we need to support specifying slaveOk at the method level. We can add the options to the MapReduceCommand (slaveOk + setOptions) for this.&lt;/p&gt;</comment>
                            <comment id="45363" author="antoine" created="Fri, 29 Jul 2011 21:08:49 +0000"  >&lt;p&gt;This is the case already, in DBCollection.java:&lt;/p&gt;

&lt;p&gt;        if (command.getOutputType() == MapReduceCommand.OutputType.INLINE)&lt;br/&gt;
            res = _db.command( cmd, getOptions() );&lt;br/&gt;
        else&lt;br/&gt;
            res = _db.command( cmd );&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="17804">JAVA-364</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhbuf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14719</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>