<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:47 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-657] ReadPrefs ignored for some commands due to case-sensitive comparison</title>
                <link>https://jira.mongodb.org/browse/JAVA-657</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The list of secondary-aware (&apos;obedient&apos;) commands in &lt;tt&gt;DB.java&lt;/tt&gt; uses the camel-case version of commands like &lt;tt&gt;dbStats&lt;/tt&gt; and &lt;tt&gt;collStats&lt;/tt&gt;. The java driver itself emits these commands in lowercase: &lt;tt&gt;dbstats&lt;/tt&gt;, &lt;tt&gt;collstats&lt;/tt&gt;. Thus the commands whitelist check fails and the commands are always sent to the primary.&lt;/p&gt;

&lt;p&gt;Commands are not fully case-insensitive (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6651&quot; title=&quot;Command names and options should be case insensitve&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6651&quot;&gt;&lt;del&gt;SERVER-6651&lt;/del&gt;&lt;/a&gt;), so the best fix for the moment is probably identifying the full list of command aliases supported by the server and making sure they&apos;re all in the whitelist.&lt;/p&gt;</description>
                <environment></environment>
        <key id="51947">JAVA-657</key>
            <summary>ReadPrefs ignored for some commands due to case-sensitive comparison</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="matt.schemmel">Matt Schemmel</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Oct 2012 16:48:58 +0000</created>
                <updated>Tue, 19 Mar 2013 14:48:29 +0000</updated>
                            <resolved>Sat, 9 Mar 2013 19:38:04 +0000</resolved>
                                    <version>2.9.0</version>
                                    <fixVersion>2.11.0</fixVersion>
                                    <component>API</component>
                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="285256" author="auto" created="Sat, 9 Mar 2013 19:36:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-09T19:36:28Z&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-657&quot; title=&quot;ReadPrefs ignored for some commands due to case-sensitive comparison&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-657&quot;&gt;&lt;del&gt;JAVA-657&lt;/del&gt;&lt;/a&gt;: ReadPreference ignored for some commands due to case-sensitive comparison&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/fb03f36c142e308c43ee34048de9115ee4960b8b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/fb03f36c142e308c43ee34048de9115ee4960b8b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="284834" author="rboyer" created="Fri, 8 Mar 2013 23:22:58 +0000"  >&lt;p&gt;Attaching fix for what Jeff describes.&lt;/p&gt;

&lt;p&gt;It would be nice to get this fix in soon.&lt;/p&gt;</comment>
                            <comment id="170475" author="matt.schemmel" created="Tue, 2 Oct 2012 18:10:50 +0000"  >&lt;p&gt;Good w that&lt;/p&gt;</comment>
                            <comment id="169943" author="jeff.yemin" created="Mon, 1 Oct 2012 18:18:42 +0000"  >&lt;p&gt;Driver should lower case the command names before doing the comparison.&lt;/p&gt;</comment>
                            <comment id="169874" author="matt.schemmel" created="Mon, 1 Oct 2012 16:50:38 +0000"  >&lt;p&gt;See also: &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;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="27136">JAVA-497</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="24843" name="java657.fix.diff" size="1616" author="rboyer" created="Fri, 8 Mar 2013 23:22:58 +0000"/>
                    </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|hrj8x3:</customfieldvalue>

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