<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:57 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-267] Streamline limit / batchSize</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-267</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Limit isn&apos;t sanely handled at the moment.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;limit get&apos;s mapped to n_return, but it isn&apos;t quite&lt;/li&gt;
	&lt;li&gt;batch_size get&apos;s used in some places, limit in others&lt;/li&gt;
	&lt;li&gt;there&apos;s no way to pass batch_size via _find()&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We should clean up our handling across the board by either exposing both parameters or directly exposing the wire protocol semantics for numberToReturn&lt;/p&gt;</description>
                <environment></environment>
        <key id="100959">CDRIVER-267</key>
            <summary>Streamline limit / batchSize</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="christian.hergert@10gen.com">Christian Hergert</assignee>
                                    <reporter username="mira.carey@mongodb.com">Mira Carey</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Dec 2013 20:57:36 +0000</created>
                <updated>Wed, 19 Oct 2016 14:14:58 +0000</updated>
                            <resolved>Mon, 30 Dec 2013 09:57:32 +0000</resolved>
                                                    <fixVersion>0.92.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="475610" author="christian.hergert@10gen.com" created="Mon, 30 Dec 2013 09:57:32 +0000"  >&lt;p&gt;Committed to master.&lt;/p&gt;

&lt;p&gt;This is an ABI break.&lt;/p&gt;</comment>
                            <comment id="473744" author="jason.carey" created="Fri, 20 Dec 2013 16:04:21 +0000"  >&lt;p&gt;Okay, managed an actual solution.  Now with actual limit support!&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9f74b20c212f2ad2e6b5f056d35856f6e82ee453&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9f74b20c212f2ad2e6b5f056d35856f6e82ee453&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="473361" author="jason.carey" created="Thu, 19 Dec 2013 20:44:27 +0000"  >&lt;p&gt;Thinking about this some more, I just ditched that commit.  We need actual support for limit on cursors.  I&apos;d forgotten that limit really only lives in user space. $maxScan isn&apos;t a substitute.&lt;/p&gt;

&lt;p&gt;I&apos;ll just bite the bullet and add actual support.&lt;/p&gt;</comment>
                            <comment id="473353" author="jason.carey" created="Thu, 19 Dec 2013 20:36:32 +0000"  >&lt;p&gt;$maxScan is fine with exhaust cursors...  Need to remove a bad check&lt;/p&gt;
</comment>
                            <comment id="473311" author="jason.carey" created="Thu, 19 Dec 2013 19:35:59 +0000"  >&lt;p&gt;Changeset here.  Basically, just ditched limit for now (folks can directly inline $maxScan).  renamed n_return to batch_size&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/906e97bc4dae679550583aed0c976f238a31225c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/906e97bc4dae679550583aed0c976f238a31225c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="237327">CDRIVER-982</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="10012"><![CDATA[Major 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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrs1zb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>77545</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="61">Sprint 2</customfieldvalue>

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