<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:02 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-861] MongoCursor SetSkip() and SetLimit() should accept Int64 values</title>
                <link>https://jira.mongodb.org/browse/CSHARP-861</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Presumably, MongoCursor methods SetSkip() and SetLimit() should accept Int64 values, not currently used Int32. Or at least such overloads should exist in MongoCursor. Int32 values may be not enough in some cases.&lt;/p&gt;</description>
                <environment></environment>
        <key id="97585">CSHARP-861</key>
            <summary>MongoCursor SetSkip() and SetLimit() should accept Int64 values</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="-1">Unassigned</assignee>
                                    <reporter username="nightroman">Roman Kuzmin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Nov 2013 13:27:51 +0000</created>
                <updated>Thu, 20 Mar 2014 19:21:32 +0000</updated>
                            <resolved>Thu, 20 Mar 2014 19:21:32 +0000</resolved>
                                    <version>1.8.3</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="452933" author="rstam" created="Thu, 7 Nov 2013 14:32:27 +0000"  >&lt;p&gt;Skipping large amounts of data is going to be very slow. The server probably can&apos;t skip the data in O(1) time, and probably has to read the documents, or at least the index entries, in order to count them as it is skipping them. So even if we could make the Skip 64-bit you would never want to use Skip values that large.&lt;/p&gt;

&lt;p&gt;It would be possible for Limit to be a 64-bit value, as the Limit is mostly implemented in the driver. There is a limit field in the wire protocol (called numberToReturn), but it is not an absolute limit, rather it is suggesting to the server how many documents to return in the next batch.&lt;/p&gt;</comment>
                            <comment id="452925" author="nightroman" created="Thu, 7 Nov 2013 14:25:47 +0000"  >&lt;p&gt;Oh, I see.&lt;/p&gt;

&lt;p&gt;How do we deal with big data, then? It&apos;s unlikely needed to query and get such a large number of documents, so Int32 SetLimit is probably fine. But we may what to skip large Int64 amount of data and then get some Int32 portion. Or we may just want to get Size() of data using SetSkip and SetLimit. Note that Size() is already Int64.&lt;/p&gt;</comment>
                            <comment id="452899" author="rstam" created="Thu, 7 Nov 2013 13:32:22 +0000"  >&lt;p&gt;The corresponding fields in the wire protocol are only 32 bit, so this isn&apos;t really possible.&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|hru2mv:</customfieldvalue>

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