<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:53 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-1546] Operations that return cursors should not abstract batches of results</title>
                <link>https://jira.mongodb.org/browse/JAVA-1546</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;It will be useful to high level APIs if operations that return cursors expose the batches as first class citizens.  This will allow batch size to be controlled on a per-request basis, which will help create reactive streams that support back pressure.&lt;/p&gt;</description>
                <environment></environment>
        <key id="168818">JAVA-1546</key>
            <summary>Operations that return cursors should not abstract batches of results</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="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Nov 2014 18:18:35 +0000</created>
                <updated>Tue, 31 Mar 2015 20:09:53 +0000</updated>
                            <resolved>Tue, 18 Nov 2014 17:39:50 +0000</resolved>
                                                    <fixVersion>3.0.0</fixVersion>
                                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="869455" author="jeff.yemin" created="Tue, 31 Mar 2015 20:09:53 +0000"  >&lt;p&gt;Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.&lt;/p&gt;</comment>
                            <comment id="818019" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Handling case where the first batch of a tailable cursor is empty but still provides a cursorId&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="818018" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Cleaner fix for OperationIterable looping logic&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="818016" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Fix OperationIterable looping logic&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="818013" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Add AsyncBatchCursor to operations&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="818010" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Created AsyncBatchCursor and implementation, while allows users of core to operate on query batches directly&lt;br/&gt;
rather than through an abstraction which hides the existence of batches.  Among other things, this will allow&lt;br/&gt;
users of core to implement back pressure.&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="818009" author="xgen-internal-githook" created="Fri, 30 Jan 2015 18:45:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Added BatchCursor interface and implementation to expose batches directly in core and using it in all operations&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="767404" author="xgen-internal-githook" created="Tue, 18 Nov 2014 22:14:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Handling case where the first batch of a tailable cursor is empty but still provides a cursorId&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/71bfa8e1f8fde8730e16f85a06997318ac947bc7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="767360" author="xgen-internal-githook" created="Tue, 18 Nov 2014 21:24:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Cleaner fix for OperationIterable looping logic&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4b798d9855df7855bfdda83c36d0e3cde38e0fc3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="767344" author="xgen-internal-githook" created="Tue, 18 Nov 2014 21:09:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Fix OperationIterable looping logic&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a178ca3b413efbfea86db5cccd1f82df8881852f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="767068" author="xgen-internal-githook" created="Tue, 18 Nov 2014 17:39:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Add AsyncBatchCursor to operations&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b8ffd2f6f5666896d9766ad4b8fec4a9319ed7d0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="766189" author="xgen-internal-githook" created="Mon, 17 Nov 2014 19:07:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Created AsyncBatchCursor and implementation, while allows users of core to operate on query batches directly&lt;br/&gt;
rather than through an abstraction which hides the existence of batches.  Among other things, this will allow&lt;br/&gt;
users of core to implement back pressure.&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/13cbd7a1ee6f85f0801c1e2d674eb11051315093&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="766188" author="xgen-internal-githook" created="Mon, 17 Nov 2014 19:07:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: Added BatchCursor interface and implementation to expose batches directly in core and using it in all operations&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1546&quot; title=&quot;Operations that return cursors should not abstract batches of results&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1546&quot;&gt;&lt;del&gt;JAVA-1546&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c013f7172cce88f29e2d52d551bad8908ca55997&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|hs3wfj:</customfieldvalue>

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

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