<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:33 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-4309] Use the count command instead of collStats to implement estimatedDocumentCount</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4309</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2228&quot; title=&quot;Use the count command instead of collStats to implement estimatedDocumentCount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2228&quot;&gt;&lt;del&gt;DRIVERS-2228&lt;/del&gt;&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1999869">CDRIVER-4309</key>
            <summary>Use the count command instead of collStats to implement estimatedDocumentCount</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="13201">Fixed</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Mar 2022 21:40:44 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:12 +0000</updated>
                            <resolved>Thu, 19 May 2022 03:31:34 +0000</resolved>
                                                    <fixVersion>1.22.0</fixVersion>
                    <fixVersion>1.22.0-beta0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4558308" author="xgen-internal-githook" created="Thu, 19 May 2022 03:31:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4309&quot; title=&quot;Use the count command instead of collStats to implement estimatedDocumentCount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4309&quot;&gt;&lt;del&gt;CDRIVER-4309&lt;/del&gt;&lt;/a&gt; document behavior for estimated_document_count (#1001)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/22a86962567478c4fc9ffe29c91ad1edcd8c2b12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/22a86962567478c4fc9ffe29c91ad1edcd8c2b12&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4557876" author="jmikola@gmail.com" created="Wed, 18 May 2022 20:48:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/1001&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4532189" author="jmikola@gmail.com" created="Fri, 6 May 2022 18:41:30 +0000"  >&lt;p&gt;Reverting to &quot;In progress&quot; so I can make a follow-up PR with the necessary documentation notes.&lt;/p&gt;</comment>
                            <comment id="4532183" author="jmikola@gmail.com" created="Fri, 6 May 2022 18:39:14 +0000"  >&lt;p&gt;Marking &quot;BC: Minor Change&quot;. Per the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#estimateddocumentcount&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CRUD spec&lt;/a&gt;, we should highlight this change in the ensuing release notes.&lt;/p&gt;</comment>
                            <comment id="4532172" author="xgen-internal-githook" created="Fri, 6 May 2022 18:36:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4309&quot; title=&quot;Use the count command instead of collStats to implement estimatedDocumentCount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4309&quot;&gt;&lt;del&gt;CDRIVER-4309&lt;/del&gt;&lt;/a&gt;: always use count command for estimatedDocumentCount (#984)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;always use count command for estimatedDocumentCount&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update spec tests for estimatedDocumentCount&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Synced with mongodb/specifications@021cbc80e1e444023fd05d8092df4546e639db40&lt;/p&gt;

&lt;p&gt;Includes some test changes for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4063&quot; title=&quot;Skip tests that use disabled serverless features&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4063&quot;&gt;CDRIVER-4063&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4330&quot; title=&quot;Use $$unsetOrMatches for upsert and multi in update command expectations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4330&quot;&gt;CDRIVER-4330&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Ignore &quot;ns not found&quot; error for dropCollection operations&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This requires setting MONGOC_ERROR_API_VERSION_2 on clients under test. It was previously only set on the internal client.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Skip comment option tests pending &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4199&quot; title=&quot;Add support for the comment field to all helpers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4199&quot;&gt;&lt;del&gt;CDRIVER-4199&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/99e9893286767737d2e0cb5d55c7906c3f768656&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/99e9893286767737d2e0cb5d55c7906c3f768656&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4529521" author="jmikola@gmail.com" created="Thu, 5 May 2022 19:01:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/984&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/984&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4522719" author="jmikola@gmail.com" created="Tue, 3 May 2022 15:10:55 +0000"  >&lt;p&gt;Currently included in the PR for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4199&quot; title=&quot;Add support for the comment field to all helpers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4199&quot;&gt;&lt;del&gt;CDRIVER-4199&lt;/del&gt;&lt;/a&gt;: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/982&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/982&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1999870">CXX-2464</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1995966">DRIVERS-2228</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2162706">CDRIVER-4506</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1619377">CDRIVER-3905</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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="10011"><![CDATA[Minor Change]]></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_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6ia6:8r</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21985"><![CDATA[6.0 Required]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_22279" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Server Compat</customfieldname>
                        <customfieldvalues>
                                        <label>5.0</label>
            <label>5.3</label>
            <label>6.0</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;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2228&quot; title=&quot;Use the count command instead of collStats to implement estimatedDocumentCount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2228&quot;&gt;&lt;del&gt;DRIVERS-2228&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Drivers should update their estimatedDocumentCount implementations to use the count command, regardless of the wire version of the connected server. The unified CRUD tests, legacy retryable reads tests, Atlas Data Lake tests, and the versioned API spec tests will need to be synced to &lt;a href=&quot;https://github.com/mongodb/specifications/commit/021cbc80e1e444023fd05d8092df4546e639db40&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@021cbc8&lt;/a&gt;. Lastly, the &quot;Count API Details&quot; section of the CRUD spec includes some documentation and release notes requirements that drivers will need to adhere to.&lt;/p&gt;</customfieldvalue>

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