<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:03 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>[DRIVERS-2228] Use the count command instead of collStats to implement estimatedDocumentCount</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2228</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;p&gt;TBD pending decisions on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63850&quot; title=&quot;Add the count command to API version 1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63850&quot;&gt;&lt;del&gt;SERVER-63850&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="1995966">DRIVERS-2228</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="9">Done</resolution>
                                        <assignee username="patrick.freed@mongodb.com">Patrick Freed</assignee>
                                    <reporter username="alexander.golin@mongodb.com">Alexander Golin</reporter>
                        <labels>
                            <label>size-small</label>
                            <label>spec-change</label>
                    </labels>
                <created>Mon, 7 Mar 2022 16:22:46 +0000</created>
                <updated>Thu, 7 Jul 2022 23:42:10 +0000</updated>
                            <resolved>Thu, 7 Jul 2022 23:42:10 +0000</resolved>
                                                        <component>Stable API</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4521334" author="xgen-internal-githook" created="Mon, 2 May 2022 23:13:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Patrick Freed&apos;, &apos;email&apos;: &apos;patrick.freed@mongodb.com&apos;, &apos;username&apos;: &apos;patrickfreed&apos;}
&lt;p&gt;Message: &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; Fix runOnRequirements for `estimatedDocumentCount` stable API tests, add test for views (#1202)&lt;br/&gt;
Branch: master&lt;br/&gt;
&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;https://github.com/mongodb/specifications/commit/021cbc80e1e444023fd05d8092df4546e639db40&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4508222" author="xgen-internal-githook" created="Tue, 26 Apr 2022 21:30:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Patrick Freed&apos;, &apos;email&apos;: &apos;patrick.freed@mongodb.com&apos;, &apos;username&apos;: &apos;patrickfreed&apos;}
&lt;p&gt;Message: &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; Revert to using the `count` command for `estimatedDocumentCount` (#1187)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/c43037606247a689cb5ada0099b8628a2c495bdd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/c43037606247a689cb5ada0099b8628a2c495bdd&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1986631">SERVER-63850</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="1999869">CDRIVER-4309</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999871">CSHARP-4095</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999870">CXX-2464</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999872">GODRIVER-2331</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999875">MOTOR-908</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999874">NODE-4079</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999876">PYTHON-3167</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999878">RUBY-2922</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999873">JAVA-4530</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999877">PHPLIB-810</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999879">RUST-1216</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2005210">CXX-2473</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&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>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4309'>CDRIVER-4309</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.22.0, 1.22.0-beta0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2464'>CXX-2464</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.7.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4095'>CSHARP-4095</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.16.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2331'>GODRIVER-2331</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.10.0, 1.10.0-beta1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4530'>JAVA-4530</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.7.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4079'>NODE-4079</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>4.7.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-908'>MOTOR-908</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3167'>PYTHON-3167</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.2</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-810'>PHPLIB-810</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.13.0-beta1, 1.13.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-2922'>RUBY-2922</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1216'>RUST-1216</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.3.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1515'>SWIFT-1515</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.4.0</td>
  </tr>
</table>]]></customfieldvalue>


                        </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|hr1pjw:0c</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;The count command has been added to API version 1 for 6.0. With this change, the estimatedDocumentCount drivers helper can be changed to use the count command for versions 6.0.0+, as we previously the case for versions &amp;lt; 5.0.0.&lt;/p&gt;

&lt;p&gt;This change would allow the estimatedDocumentCount helper to return a count for non-materialized views.&lt;/p&gt;</customfieldvalue>

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