<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:26 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-497] ReadPrefs ignored for commands</title>
                <link>https://jira.mongodb.org/browse/JAVA-497</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;DB.java:183 passes in a null readPrefs but should pass in getReadPreference() to command(...).&lt;/p&gt;</description>
                <environment></environment>
        <key id="27136">JAVA-497</key>
            <summary>ReadPrefs ignored for commands</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="bryan.reinero">Bryan Reinero</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Dec 2011 13:27:51 +0000</created>
                <updated>Mon, 1 Oct 2012 17:47:41 +0000</updated>
                            <resolved>Fri, 20 Jul 2012 22:11:55 +0000</resolved>
                                    <version>2.7.2</version>
                                    <fixVersion>2.9.0</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>2</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="158212" author="jeff.yemin" created="Wed, 29 Aug 2012 20:08:04 +0000"  >&lt;p&gt;Closing as part of 2.9.0 release process.&lt;/p&gt;</comment>
                            <comment id="154917" author="auto" created="Mon, 20 Aug 2012 15:28:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-08-20T08:26:41-07:00&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;: Fix read prefs on findOne for sharded clusters&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d90bb45b77b373cd8b04a4aa6a7fd6b6e950c0ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d90bb45b77b373cd8b04a4aa6a7fd6b6e950c0ef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="151097" author="auto" created="Tue, 7 Aug 2012 14:23:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-08-07T07:22:55-07:00&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;: read preference set on mongo options was not getting applied to Mongo instance&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/fba7ac1f14659c0dc12187807e7ddad5a2cb1e05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/fba7ac1f14659c0dc12187807e7ddad5a2cb1e05&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="150415" author="auto" created="Fri, 3 Aug 2012 18:56:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-08-03T11:56:11-07:00&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;: authenticate/getnonce commands always use ReadPreference.primaryPreferred, so that authentication doesn&apos;t fail if connected to a replica set with no primary available&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0cac416c24073e27733df9bee3e7e2418a3b59c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0cac416c24073e27733df9bee3e7e2418a3b59c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="149814" author="auto" created="Thu, 2 Aug 2012 12:21:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-08-01T16:45:25-07:00&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
  Deprecating ReadPreference.SECONDARY and ReadPreference.PRIMARY in favor of static factory methods&lt;br/&gt;
  Reverting semantics of ReadPreference.SECONDARY to what it was in previous releases, which is equivalent to ReadPreference.secondaryPreferred() rather than ReadPreference.secondary()&lt;br/&gt;
 Improved the unit tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/cf314ccb59337d9d445b526fb996e3da2cf1b128&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/cf314ccb59337d9d445b526fb996e3da2cf1b128&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="145579" author="bryan.reinero@10gen.com" created="Fri, 20 Jul 2012 22:11:55 +0000"  >&lt;p&gt;Resolved with commit:&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/8a1011fdbcbd4649cb91ddce91516b7c8d4bc8e9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/8a1011fdbcbd4649cb91ddce91516b7c8d4bc8e9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120755" author="auto" created="Thu, 17 May 2012 21:46:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;: Rolling back this change until what we want to do is fully spec&apos;d&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/161aba972b5b5842f0985f0d6da8070bc8ef59f1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/161aba972b5b5842f0985f0d6da8070bc8ef59f1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="107130" author="jeff.yemin" created="Thu, 5 Apr 2012 20:15:05 +0000"  >&lt;p&gt;Commands that can be sent to secondaries if slaveOK is set: &lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;aggregate&lt;/li&gt;
	&lt;li&gt;collStats&lt;/li&gt;
	&lt;li&gt;count&lt;/li&gt;
	&lt;li&gt;dbStats&lt;/li&gt;
	&lt;li&gt;distinct&lt;/li&gt;
	&lt;li&gt;geoNear&lt;/li&gt;
	&lt;li&gt;geoSearch&lt;/li&gt;
	&lt;li&gt;geoWalk&lt;/li&gt;
	&lt;li&gt;group&lt;/li&gt;
	&lt;li&gt;mapreduce (inline)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Also&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;DB.getCollectionNames&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="88403" author="auto" created="Tue, 14 Feb 2012 21:38:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-497&quot; title=&quot;ReadPrefs ignored for commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-497&quot;&gt;&lt;del&gt;JAVA-497&lt;/del&gt;&lt;/a&gt;: Use default ReadPreference for commands&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/5804ac240ce11b92a443cd2e6ead2e423792d700&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/5804ac240ce11b92a443cd2e6ead2e423792d700&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="32479">JAVA-535</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32480">JAVA-536</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="39284">JAVA-570</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45096">JAVA-606</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="19898">JAVA-397</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51947">JAVA-657</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hrghjj:</customfieldvalue>

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