<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:42:41 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-36299] Implement support for exhaust cursors with OP_MSG in DBClientCursor</title>
                <link>https://jira.mongodb.org/browse/SERVER-36299</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;tt&gt;DBClientCursor&lt;/tt&gt; will implement the client side of the exhaust cursor &lt;tt&gt;OP_MSG&lt;/tt&gt;&#160;protocol when commands are being used and &lt;tt&gt;QueryOption_Exhaust&lt;/tt&gt;&#160;is requested.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;When &lt;tt&gt;more()&lt;/tt&gt; is called after the initial &lt;tt&gt;find&lt;/tt&gt; command, it will set the wire protocol bit &lt;tt&gt;exhaustAllowed&lt;/tt&gt; on the &lt;tt&gt;getMore&lt;/tt&gt; command it sends. &#160;&lt;tt&gt;DBClientCursor&lt;/tt&gt; will not set this bit on initial &lt;tt&gt;find&lt;/tt&gt; commands. &#160;Note that older implementations which do not support &lt;tt&gt;OP_MSG&lt;/tt&gt; exhaust will ignore this bit, as required by the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;wire protocol spec&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;When &lt;tt&gt;more()&lt;/tt&gt; is called after there was a response to the &lt;tt&gt;getMore&lt;/tt&gt; command that had the wire protocol &lt;tt&gt;moreToCome&lt;/tt&gt; bit set, it will receive the next batch and make it available to the caller.&lt;/li&gt;
	&lt;li&gt;If the response does not have the &lt;tt&gt;moreToCome&lt;/tt&gt; bit set and it indicates an error or the cursor is exhausted (cursor id of 0), &lt;tt&gt;more()&lt;/tt&gt; will return false.&lt;/li&gt;
	&lt;li&gt;If the response does not have the &lt;tt&gt;moreToCome&lt;/tt&gt; bit set, and also does not indicate the cursor is exhausted or contain an error, &lt;tt&gt;DBClientCursor&lt;/tt&gt; will send another &lt;tt&gt;getMore&lt;/tt&gt; command. &#160;This handles the upgrade case when connecting to a 4.0 implementation which does not support &lt;tt&gt;OP_MSG&lt;/tt&gt; exhaust.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;As part of this work, we will remove &lt;tt&gt;OP_QUERY&lt;/tt&gt; exhaust support from &lt;tt&gt;DBClientConnection&lt;/tt&gt;. &#160;This is currently used only by the database cloner, so the only effect of this will be to cause a performance regression when cloning between 4.0 and 4.2, and the commands which use the database cloner are deprecated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="576577">SERVER-36299</key>
            <summary>Implement support for exhaust cursors with OP_MSG in DBClientCursor</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="william.schultz@mongodb.com">William Schultz</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Jul 2018 14:43:36 +0000</created>
                <updated>Sun, 29 Oct 2023 22:29:31 +0000</updated>
                            <resolved>Thu, 6 Sep 2018 23:05:35 +0000</resolved>
                                                    <fixVersion>4.0.3</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1996925" author="xgen-internal-githook" created="Fri, 7 Sep 2018 21:20:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Add integration test for exhaust with OP_MSG&lt;/p&gt;

&lt;p&gt;This reverts commit 2d79aaf6d2b65f0355fcaa5d368ec3c4f493495a.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a8fe1d82c3c5484c7e8a6402a34bc45ea11d06f1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a8fe1d82c3c5484c7e8a6402a34bc45ea11d06f1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1995935" author="xgen-internal-githook" created="Fri, 7 Sep 2018 01:32:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Add integration test for exhaust with OP_MSG&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 1fa70da99c004b19b21f182b8e65edf781411c5f.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2d79aaf6d2b65f0355fcaa5d368ec3c4f493495a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2d79aaf6d2b65f0355fcaa5d368ec3c4f493495a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1995876" author="xgen-internal-githook" created="Thu, 6 Sep 2018 23:04:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Add integration test for exhaust with OP_MSG&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1fa70da99c004b19b21f182b8e65edf781411c5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1fa70da99c004b19b21f182b8e65edf781411c5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1987738" author="xgen-internal-githook" created="Tue, 28 Aug 2018 16:12:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Ensure that dbclient_cursor_test clears last sent message in between requests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2eb308afe270f9443d60f2f8ae574f5b1ea1fd37&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2eb308afe270f9443d60f2f8ae574f5b1ea1fd37&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1987734" author="william.schultz" created="Tue, 28 Aug 2018 16:12:29 +0000"  >&lt;p&gt;Code review &lt;a href=&quot;http://mongodbcr.appspot.com/229430001&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;229430001&lt;/a&gt; is for the addition of the functional changes along with unit tests for DBClientCursor. &lt;br/&gt;
Code review &lt;a href=&quot;http://mongodbcr.appspot.com/241270003&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;241270003&lt;/a&gt; is for the addition of a C++ integration test for exhaust with OP_MSG.&lt;/p&gt;</comment>
                            <comment id="1982868" author="xgen-internal-githook" created="Wed, 22 Aug 2018 18:13:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Add newline to end of dbclient_cursor_test.cpp file&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7618295b2fd4cba46d76afbb97ed732e4228932f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7618295b2fd4cba46d76afbb97ed732e4228932f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1982749" author="xgen-internal-githook" created="Wed, 22 Aug 2018 17:05:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;, &apos;username&apos;: &apos;will62794&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36299&quot; title=&quot;Implement support for exhaust cursors with OP_MSG in DBClientCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36299&quot;&gt;&lt;del&gt;SERVER-36299&lt;/del&gt;&lt;/a&gt; Add support for exhaust cursors with OP_MSG in DBClientCursor&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fe0baa54e765a23d165b5983e2f50f7f2c13d20c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fe0baa54e765a23d165b5983e2f50f7f2c13d20c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="585639">SERVER-36539</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="571049">SERVER-36105</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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>Mon, 13 Aug 2018 19:32:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 22 weeks, 5 days 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1100</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>
                            5 years, 22 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu3hrr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htu60f:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2447">Repl 2018-08-13</customfieldvalue>
    <customfieldvalue id="2448">Repl 2018-08-27</customfieldvalue>
    <customfieldvalue id="2483">Repl 2018-09-10</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|hu3413:</customfieldvalue>

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