<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:43 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-1063] Deprecate command() methods that take an options parameter and replace them with ones that don&apos;t</title>
                <link>https://jira.mongodb.org/browse/JAVA-1063</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The options flags aren&apos;t used fully in DB.command() methods on 2.12, the only thing that&apos;s currently used is slaveOK.  Since this has been superseded by read preference, the options methods need to be deprecated, and we need to add command methods in 2.12 that have read preference and no options.  &lt;/p&gt;

&lt;p&gt;Then add new ones and remove deprecated ones in 3.x.&lt;/p&gt;</description>
                <environment></environment>
        <key id="103594">JAVA-1063</key>
            <summary>Deprecate command() methods that take an options parameter and replace them with ones that don&apos;t</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="trisha.gee@10gen.com">Trisha Gee</assignee>
                                    <reporter username="trisha.gee@10gen.com">Trisha Gee</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Dec 2013 16:28:34 +0000</created>
                <updated>Wed, 19 Oct 2016 14:17:30 +0000</updated>
                            <resolved>Fri, 17 Jan 2014 15:47:49 +0000</resolved>
                                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="483546" author="xgen-internal-githook" created="Fri, 17 Jan 2014 07:29:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: Ignoring a test that doesn&apos;t pass on Jenkins - this needs fixing.&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/61199e5d37f4e428f5a6c557257ad0b5986906e1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/61199e5d37f4e428f5a6c557257ad0b5986906e1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483541" author="xgen-internal-githook" created="Fri, 17 Jan 2014 06:45:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: excluding the deprecated methods that were deleted from clirr (correctly this time).&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b12795a6e4d99e31779e03ea1fcf62f373547b7d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b12795a6e4d99e31779e03ea1fcf62f373547b7d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483540" author="xgen-internal-githook" created="Fri, 17 Jan 2014 06:45:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: excluding the deprecated methods that were deleted from clirr.&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d2db1c8905db5d0f14cce9c526060177ddefa28b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d2db1c8905db5d0f14cce9c526060177ddefa28b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483539" author="xgen-internal-githook" created="Fri, 17 Jan 2014 06:45:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: Added new command methods from 2.12 to DB and removed the deprecated methods; added the tests from 2.12 to DBTest; removed tests from DBOldTest that are now in DBTest.&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/6809b0f5130811668ea5235a2ece68c6930f42a2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/6809b0f5130811668ea5235a2ece68c6930f42a2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483082" author="xgen-internal-githook" created="Thu, 16 Jan 2014 15:30:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: Ignored a test that was intermittent.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/7f51c5b6d02f52a3593cba00bb782738ea4be484&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/7f51c5b6d02f52a3593cba00bb782738ea4be484&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483081" author="xgen-internal-githook" created="Thu, 16 Jan 2014 15:30:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: Added missing command method, command(String, ReadPreference), and corresponding test; renamed readPref to readPreference; improved Javadoc on command methods;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/57966bbdd22960b2a6026bbe105adecfa0966d29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/57966bbdd22960b2a6026bbe105adecfa0966d29&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="483080" author="xgen-internal-githook" created="Thu, 16 Jan 2014 15:30:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;trishagee&apos;, u&apos;name&apos;: u&apos;Trisha Gee&apos;, u&apos;email&apos;: u&apos;trishagee@github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1063&quot; title=&quot;Deprecate command() methods that take an options parameter and replace them with ones that don&amp;#39;t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1063&quot;&gt;&lt;del&gt;JAVA-1063&lt;/del&gt;&lt;/a&gt;: Deprecated command methods that take the options flag; removed duplicated tests.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/da14fee9fe575ad93ac83f0bf26dc3623bf55b9c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/da14fee9fe575ad93ac83f0bf26dc3623bf55b9c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="136250">JAVA-1223</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|hrt6d3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>84114</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="81">Sprint 2</customfieldvalue>

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