<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:06 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>[CSHARP-886] Optimize numberToReturn for OP_GET_MORE based on the limit</title>
                <link>https://jira.mongodb.org/browse/CSHARP-886</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;If an application requests a limit that turns out to be great than the number of documents returned from OP_QUERY, the driver should adjust the numberToReturn value for the OP_GET_MORE to ensure that no more documents are returned by the server than necessary.  Example with a limit of 105:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;For OP_QUERY, set numberToReturn=105, and receive 101 documents in OP_REPLY (the driver already does this).&lt;/li&gt;
	&lt;li&gt;For OP_GET_MORE, instead of setting numberToReturn=105, set it to 4.&lt;/li&gt;
&lt;/ol&gt;



</description>
                <environment></environment>
        <key id="104573">CSHARP-886</key>
            <summary>Optimize numberToReturn for OP_GET_MORE based on the limit</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="9">Done</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 5 Jan 2014 20:42:45 +0000</created>
                <updated>Thu, 2 Apr 2015 18:28:06 +0000</updated>
                            <resolved>Mon, 13 Jan 2014 02:35:47 +0000</resolved>
                                    <version>1.8.3</version>
                                    <fixVersion>1.9</fixVersion>
                                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="480780" author="xgen-internal-githook" created="Mon, 13 Jan 2014 02:34:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-886&quot; title=&quot;Optimize numberToReturn for OP_GET_MORE based on the limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-886&quot;&gt;&lt;del&gt;CSHARP-886&lt;/del&gt;&lt;/a&gt;: Use smallest possible numberToReturn in last GetMore message when Limit is used.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/4362388f17b76ab9036fd1198bbfc5bde60f3686&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/4362388f17b76ab9036fd1198bbfc5bde60f3686&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrv5mv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>95742</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>