<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19:58 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-4115] Support batchSize on listCollections helper</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4115</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;br/&gt;
The C driver does not support the &lt;tt&gt;batchSize&lt;/tt&gt; option on the listCollections helper: &lt;tt&gt;mongoc_database_find_collections_with_opts&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;The attachment includes a reproduction script. It is possible to pass a batch size to the initial &lt;tt&gt;listCollections&lt;/tt&gt; command by passing option as the document: {cursor:{batchSize: 1}}.&lt;/p&gt;

&lt;p&gt;However, any &lt;tt&gt;getMore&lt;/tt&gt; command sent by the cursor when fetching more results does not use the same batchSize.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/blob/86197086c2290a67500321f008b7a0a0685f0da7/source/enumerate-collections.rst#driver-methods&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Enumerate Collections&lt;/a&gt; specification does note this behavior is optional:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;MAY allow the cursor.batchSize option to be passed.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Accept a &lt;tt&gt;batchSize&lt;/tt&gt; as a top-level option, which applies to both the initial &lt;tt&gt;listCollections&lt;/tt&gt; command and all &lt;tt&gt;getMore&lt;/tt&gt; operations.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1840419">CDRIVER-4115</key>
            <summary>Support batchSize on listCollections helper</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="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="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                            <label>bg-rf</label>
                    </labels>
                <created>Wed, 4 Aug 2021 01:12:21 +0000</created>
                <updated>Mon, 18 Sep 2023 19:52:19 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1840423">CDRIVER-4116</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="328330" name="example-batchsize-collections.c" size="2219" author="kevin.albertson@mongodb.com" created="Wed, 4 Aug 2021 01:11:29 +0000"/>
                    </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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-3870</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzg4n3:</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>