<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:25 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-1053] Make cursor &quot;limit&quot; a signed int64_t</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1053</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Since the beginning, mongoc_collection_find&apos;s &quot;limit&quot; parameter has been unsigned. Negative limits are a useful way to tell the server to send a single batch and close the cursor; there should be a way to communicate a negative limit to the server via the C Driver.&lt;/p&gt;

&lt;p&gt;This is an API break; wait for 2.0.&lt;/p&gt;

&lt;p&gt;Update the doc for mongoc_cursor_set_limit.&lt;/p&gt;</description>
                <environment></environment>
        <key id="243730">CDRIVER-1053</key>
            <summary>Make cursor &quot;limit&quot; a signed int64_t</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Dec 2015 14:46:36 +0000</created>
                <updated>Mon, 16 Oct 2023 06:21:48 +0000</updated>
                                                            <fixVersion>2.0.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2754214" author="patrick.freed" created="Thu, 23 Jan 2020 00:35:29 +0000"  >&lt;p&gt;Is there any way for wrapping drivers to specify a negative limit prior to this change?&lt;br/&gt;
Edit: Oh, I see singleBatch is a supported option.&lt;/p&gt;</comment>
                            <comment id="1155866" author="xgen-internal-githook" created="Wed, 27 Jan 2016 21:29:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jmikola&apos;, u&apos;name&apos;: u&apos;Jeremy Mikola&apos;, u&apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1054&quot; title=&quot;Support negative cursor limit for single-batch OP_QUERY and find command results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1054&quot;&gt;&lt;del&gt;CDRIVER-1054&lt;/del&gt;&lt;/a&gt;: Support negative cursor limit&lt;/p&gt;

&lt;p&gt;This adds internal support for specifying a negative cursor limit (i.e. single-batch mode) for both OP_QUERY and find command code paths. Note that this does not change the public API, which will be handled for 2.0 by &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1053&quot; title=&quot;Make cursor &amp;quot;limit&amp;quot; a signed int64_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1053&quot;&gt;CDRIVER-1053&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f8802e35c6dbabc5bf40620c9402f21f7d65ed5b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f8802e35c6dbabc5bf40620c9402f21f7d65ed5b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1154787" author="xgen-internal-githook" created="Wed, 27 Jan 2016 02:05:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jmikola&apos;, u&apos;name&apos;: u&apos;Jeremy Mikola&apos;, u&apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1054&quot; title=&quot;Support negative cursor limit for single-batch OP_QUERY and find command results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1054&quot;&gt;&lt;del&gt;CDRIVER-1054&lt;/del&gt;&lt;/a&gt;: Support negative cursor limit&lt;/p&gt;

&lt;p&gt;This adds internal support for specifying a negative cursor limit (i.e. single-batch mode) for both OP_QUERY and find command code paths. Note that this does not change the public API, which will be handled for 2.0 by &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1053&quot; title=&quot;Make cursor &amp;quot;limit&amp;quot; a signed int64_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1053&quot;&gt;CDRIVER-1053&lt;/a&gt;.&lt;br/&gt;
Branch: r1.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f8802e35c6dbabc5bf40620c9402f21f7d65ed5b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f8802e35c6dbabc5bf40620c9402f21f7d65ed5b&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="243897">CDRIVER-1054</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-4742</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6kz3:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>