<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:07 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-4845]  Deprecate currentOp/collStats commands by 7.0</title>
                <link>https://jira.mongodb.org/browse/JAVA-4845</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description></description>
                <environment></environment>
        <key id="2236167">JAVA-4845</key>
            <summary> Deprecate currentOp/collStats commands by 7.0</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="valentin.kovalenko@mongodb.com">Valentin Kavalenka</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jan 2023 15:45:15 +0000</created>
                <updated>Tue, 22 Aug 2023 15:48:28 +0000</updated>
                            <resolved>Fri, 11 Aug 2023 14:59:59 +0000</resolved>
                                                    <fixVersion>4.11.0</fixVersion>
                                    <component>Legacy API</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5628880" author="xgen-internal-githook" created="Fri, 11 Aug 2023 14:56:34 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Valentin Kovalenko&apos;, &apos;email&apos;: &apos;valentin.kovalenko@mongodb.com&apos;, &apos;username&apos;: &apos;stIncMale&apos;}
&lt;p&gt;Message: Deprecate `currentOp`/`collStats` commands (#1175)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4845&quot; title=&quot; Deprecate currentOp/collStats commands by 7.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4845&quot;&gt;&lt;del&gt;JAVA-4845&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/40e2d1fa327bf351c99660a499db23ea56413bf9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/40e2d1fa327bf351c99660a499db23ea56413bf9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5370657" author="jeff.yemin" created="Mon, 24 Apr 2023 14:55:17 +0000"  >&lt;p&gt;There&apos;s a helper in the legacy API that we can consider deprecating.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2423363">JAVA-5116</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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="10038"><![CDATA[Fully Compatible]]></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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10250"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;We need to reflect the following in what&apos;s new:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;com.mongodb.DBCollection.getStats&lt;/tt&gt;/&lt;tt&gt;isCapped&lt;/tt&gt; were deprecated because they use the &lt;tt&gt;collStats&lt;/tt&gt; command, which is deprecated since server release 6.2.&lt;/li&gt;
	&lt;li&gt;If a user uses server release 3.4 or newer, the &lt;tt&gt;$collStats&lt;/tt&gt; aggregation pipeline stage should be used via the &lt;tt&gt;DBCollection.aggregate&lt;/tt&gt; methods instead of the &lt;tt&gt;DBCollection.getStats&lt;/tt&gt; method.&lt;/li&gt;
	&lt;li&gt;Instead of the &lt;tt&gt;DBCollection.isCapped&lt;/tt&gt; method, use the &lt;tt&gt;$collStats&lt;/tt&gt; aggregation pipeline stage and inspect the &lt;tt&gt;storageStats.capped&lt;/tt&gt; field.&lt;/li&gt;
&lt;/ul&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q3</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1d6w:zr</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>6.2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;DRIVERS-2232:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Drivers should sync spec test updates to &lt;a href=&quot;https://github.com/mongodb/specifications/commit/6632b7606e74c6e83ee2d80b7571f55485c7ff33&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@6632b76&lt;/a&gt; (re: &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1402&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications#1402&lt;/a&gt;).&lt;/li&gt;
	&lt;li&gt;For drivers that have helpers for collStats or currentOp, the helpers should be adjusted to use the $collStats / $currentOp aggregation pipeline stages.&#160; Alternatively, drivers can deprecate these helpers for future removal.&#160; This is left to the discretion of drivers.&lt;/li&gt;
	&lt;li&gt;Drivers should audit their driver-specific tests and documentation examples (see: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-448&quot; title=&quot;Aggregation, runCommand, and index management examples for Docs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-448&quot;&gt;&lt;del&gt;DRIVERS-448&lt;/del&gt;&lt;/a&gt;) for any usages of the `currentOp` or `collStats` commands.&lt;/li&gt;
&lt;/ul&gt;
</customfieldvalue>

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