<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:54:28 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>[SERVER-62206] Remove DBClientBase::query_DEPRECATED() and migrate remaining callers</title>
                <link>https://jira.mongodb.org/browse/SERVER-62206</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is follow-up work to related tickets &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59512&quot; title=&quot;Introduce new find API to DBClientBase which uses IDL-generated FindCommandRequest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59512&quot;&gt;&lt;del&gt;SERVER-59512&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61385&quot; title=&quot;Migrate most callers of legacy &amp;#39;DBClientBase::query()&amp;#39; API to modern &amp;#39;find()&amp;#39; API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61385&quot;&gt;&lt;del&gt;SERVER-61385&lt;/del&gt;&lt;/a&gt;. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59512&quot; title=&quot;Introduce new find API to DBClientBase which uses IDL-generated FindCommandRequest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59512&quot;&gt;&lt;del&gt;SERVER-59512&lt;/del&gt;&lt;/a&gt; introduced &lt;tt&gt;DBClientBase::find()&lt;/tt&gt; as a replacement for &lt;tt&gt;DBClientBase::query()&lt;/tt&gt;. The essential difference between the two is that &lt;tt&gt;find()&lt;/tt&gt; accepts a &lt;tt&gt;FindCommandRequest&lt;/tt&gt; whereas &lt;tt&gt;query()&lt;/tt&gt; accepted something resembling an OP_QUERY, even though the OP_QUERY find format was deprecated in 5.0 and removed in 5.1. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61385&quot; title=&quot;Migrate most callers of legacy &amp;#39;DBClientBase::query()&amp;#39; API to modern &amp;#39;find()&amp;#39; API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61385&quot;&gt;&lt;del&gt;SERVER-61385&lt;/del&gt;&lt;/a&gt; renamed &lt;tt&gt;DBClientBase::query()&lt;/tt&gt; to &lt;tt&gt;DBClientBase::query_DEPRECATED()&lt;/tt&gt; and migrated almost all callers to &lt;tt&gt;DBClientBase::find()&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The work for this ticket is to move all lingering remaining callers off &lt;tt&gt;DBClientBase::query_DEPRECATED()&lt;/tt&gt; so that the old API can be deleted from the internal client code. There are three major categories of callers which must be dealt with:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Callers which run exhaust queries. The new &lt;tt&gt;find()&lt;/tt&gt; API needs to be improved to support exhaust in order to allow these callers to be migrated.&lt;/li&gt;
	&lt;li&gt;Callers which rely on the &lt;tt&gt;DBClientCursorBatchIterator&lt;/tt&gt; overload of &lt;tt&gt;query_DEPRECATED()&lt;/tt&gt;. The callers either need to be refactored, or some equivalent of &lt;tt&gt;DBClientCursorBatchIterator&lt;/tt&gt; needs to be introduced to the &lt;tt&gt;find()&lt;/tt&gt; API.&lt;/li&gt;
	&lt;li&gt;Callers which still construct an OP_QUERY-style BSON payload, and need it to be parsed to a &lt;tt&gt;FindCommandRequest&lt;/tt&gt;. In particular, this includes the code for dealing with the precondition of an applyOps command, and the call site for the shell in mozjs/mongo.cpp.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1954863">SERVER-62206</key>
            <summary>Remove DBClientBase::query_DEPRECATED() and migrate remaining callers</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="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Dec 2021 12:31:21 +0000</created>
                <updated>Sun, 29 Oct 2023 21:44:48 +0000</updated>
                            <resolved>Thu, 23 Jun 2022 02:23:40 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                                    <component>Internal Client</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4633967" author="xgen-internal-githook" created="Wed, 22 Jun 2022 22:46:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;David Storch&apos;, &apos;email&apos;: &apos;david.storch@mongodb.com&apos;, &apos;username&apos;: &apos;dstorch&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62206&quot; title=&quot;Remove DBClientBase::query_DEPRECATED() and migrate remaining callers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62206&quot;&gt;&lt;del&gt;SERVER-62206&lt;/del&gt;&lt;/a&gt; Remove DBClientBase::query_DEPRECATED()&lt;/p&gt;

&lt;p&gt;Also includes related simplifications to the implementation&lt;br/&gt;
of &apos;DBClientCursor&apos;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/eb8e6a0a8f090d761fc8450670c7636d976effc7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/eb8e6a0a8f090d761fc8450670c7636d976effc7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4633966" author="xgen-internal-githook" created="Wed, 22 Jun 2022 22:46:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;David Storch&apos;, &apos;email&apos;: &apos;david.storch@mongodb.com&apos;, &apos;username&apos;: &apos;dstorch&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62206&quot; title=&quot;Remove DBClientBase::query_DEPRECATED() and migrate remaining callers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62206&quot;&gt;&lt;del&gt;SERVER-62206&lt;/del&gt;&lt;/a&gt; Accommodate deletion of DBClientCursorBatchIterator&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/a9710635755a1208cddf3a1f29870d464532d6be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/a9710635755a1208cddf3a1f29870d464532d6be&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="2089158">SERVER-68007</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2077383">SERVER-67544</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1858379">SERVER-59512</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1922389">SERVER-61385</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 Mar 2022 21:55:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 33 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2576</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 33 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0fbcv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0b4hw:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5284">QO 2022-02-07</customfieldvalue>
    <customfieldvalue id="5286">QO 2022-02-21</customfieldvalue>
    <customfieldvalue id="5288">QO 2022-03-07</customfieldvalue>
    <customfieldvalue id="5290">QO 2022-03-21</customfieldvalue>
    <customfieldvalue id="5887">QO 2022-04-04</customfieldvalue>
    <customfieldvalue id="5889">QO 2022-04-18</customfieldvalue>
    <customfieldvalue id="5890">QE 2022-05-02</customfieldvalue>
    <customfieldvalue id="5892">QE 2022-05-16</customfieldvalue>
    <customfieldvalue id="5894">QE 2022-05-30</customfieldvalue>
    <customfieldvalue id="5896">QE 2022-06-13</customfieldvalue>
    <customfieldvalue id="5898">QE 2022-06-27</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0exi7:</customfieldvalue>

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