<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:02:00 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>[JAVA-4410] FindObservable skip and limit should be Long</title>
                <link>https://jira.mongodb.org/browse/JAVA-4410</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;FindObservable skip and limit should be Long otherwise it gets impossible to navigate in collections containing more than a couple of millions of records.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1928123">JAVA-4410</key>
            <summary>FindObservable skip and limit should be Long</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="13203">Gone away</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="mayeul.marcadella@gmail.com">Mayeul Marcadella</reporter>
                        <labels>
                            <label>external-user</label>
                    </labels>
                <created>Thu, 18 Nov 2021 08:49:36 +0000</created>
                <updated>Fri, 27 Oct 2023 19:48:31 +0000</updated>
                            <resolved>Mon, 6 Dec 2021 12:00:40 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4231989" author="dbeng-pm-bot" created="Mon, 6 Dec 2021 12:00:42 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to comment on this if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="4203618" author="jeff.yemin" created="Sun, 21 Nov 2021 18:28:51 +0000"  >&lt;p&gt;It would still not be a good idea to use skip with that large a number.  By its nature, the server can not use an index to efficiently skip that many records, so you&apos;re better off implementing pagination using an indexed field of some sort.  See &lt;a href=&quot;https://www.mongodb.com/blog/post/paging-with-the-bucket-pattern--part-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/blog/post/paging-with-the-bucket-pattern--part-1&lt;/a&gt; for more details on the problem and some ideas for solutions.&lt;/p&gt;</comment>
                            <comment id="4203617" author="JIRAUSER1263394" created="Sun, 21 Nov 2021 18:19:05 +0000"  >&lt;p&gt;Actually, the limit is probably fine because querying more than 2 billion records is rather unlikely. However it is not so hard to imagine a dataset containing more than 2 billion entries. I am working with covid19 data and we currently have 2 million records, but the curve is clearly exponential.&lt;/p&gt;</comment>
                            <comment id="4202925" author="jeff.yemin" created="Sat, 20 Nov 2021 15:38:36 +0000"  >&lt;p&gt;The maximum value of a 32-bit signed integer is 2,147,483,648.  Do you have a use case for skip and limit where that number would be insufficient?  &lt;/p&gt;</comment>
                            <comment id="4202141" author="esha.bhargava" created="Sat, 20 Nov 2021 00:19:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mayeul.marcadella%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;mayeul.marcadella@gmail.com&quot;&gt;mayeul.marcadella@gmail.com&lt;/a&gt; Thank you for reporting this issue! We&apos;ll look into it and get back to you soon.&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|hzu7lr:</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>