<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:16 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>[CDRIVER-4556]  Deprecate currentOp/collStats commands by 7.0</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4556</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;DRIVERS-2232&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2236163">CDRIVER-4556</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jan 2023 15:45:08 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:55 +0000</updated>
                            <resolved>Fri, 28 Apr 2023 19:55:14 +0000</resolved>
                                                    <fixVersion>1.24.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5386018" author="xgen-internal-githook" created="Fri, 28 Apr 2023 19:54:57 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4556&quot; title=&quot; Deprecate currentOp/collStats commands by 7.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4556&quot;&gt;&lt;del&gt;CDRIVER-4556&lt;/del&gt;&lt;/a&gt; Remove use of `collStats` (#1249)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;sync specification tests to commit 6632b7606e74c6e83ee2d80b7571f55485c7ff33&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove runCommand Example 2&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The example removed from &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;.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;suggest $collStats in mongoc_collection_stats&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;move example in mongoc_collection_command_simple to example source&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;add missing declaration of `str`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use `ping` instead of `collStats` command&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;move Executing Commands code to example&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;replace `collStats` with `ping`&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use `mongoc_client_command_simple`&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;To simplify the example.&lt;br/&gt;
There is no need to run the command with the mongoc_collection_t handle.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;remove note about returning cursors&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;`mongoc_collection_command`, `mongoc_database_command` and `mongoc_client_command` return a cursor. They are documented as `superseded` by other helpers.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;skip test using collStats on servers &amp;gt; 6.0&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove redundant captions&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Ezra Chung &amp;lt;88335979+eramongodb@users.noreply.github.com&amp;gt;&lt;/p&gt;

&lt;p&gt;---------&lt;/p&gt;

&lt;p&gt;Co-authored-by: Ezra Chung &amp;lt;88335979+eramongodb@users.noreply.github.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2d27a1113362f648f75e27b6115fc666e4f75f74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/2d27a1113362f648f75e27b6115fc666e4f75f74&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2236172">PHPLIB-1065</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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1k1p:c91</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>