<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:37:28 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>[GODRIVER-1937] BatchSize does not work for legacy collection enumeration</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1937</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;This &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/e51b43f1844c0673aaafe4e2f6748e154300b071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;commit&lt;/a&gt;&#160;added a BatchSize option for Database#ListCollections but the legacy listCollections code path for server version 2.6 does not honor it (see &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/2aca31d5986a9e1c65a92264736de9fdc3b9b4ca/x/mongo/driver/operation_legacy.go#L442&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;). We should fix that by using the cursor.batchSize command field to set the NumberToReturn field in the constructed OP_QUERY message similar to the legacy listIndexes &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/2aca31d5986a9e1c65a92264736de9fdc3b9b4ca/x/mongo/driver/operation_legacy.go#L589&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logic&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Additionally, &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1934&quot; title=&quot;Correct cursor options are not always passed down to the operations layer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1934&quot;&gt;&lt;del&gt;GODRIVER-1934&lt;/del&gt;&lt;/a&gt; is adding a test for getMore/killCursors commands to mongo/integration/database_test.go. Due to this bug, the test has to be skipped on 2.6, so the work for this ticket should also unskip it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1662728">GODRIVER-1937</key>
            <summary>BatchSize does not work for legacy collection enumeration</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13201">Fixed</resolution>
                                        <assignee username="matt.dale@mongodb.com">Matt Dale</assignee>
                                    <reporter username="divjot.arora@mongodb.com">Divjot Arora</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Mar 2021 00:05:40 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:50 +0000</updated>
                            <resolved>Wed, 5 May 2021 16:36:20 +0000</resolved>
                                                    <fixVersion>1.5.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="3756799" author="xgen-internal-githook" created="Wed, 5 May 2021 16:24:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Dale&apos;, &apos;email&apos;: &apos;9760375+matthewdale@users.noreply.github.com&apos;, &apos;username&apos;: &apos;matthewdale&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1937&quot; title=&quot;BatchSize does not work for legacy collection enumeration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1937&quot;&gt;&lt;del&gt;GODRIVER-1937&lt;/del&gt;&lt;/a&gt; Update legacy ListCollections to support the BatchSize option for server version 2.6 (#656)&lt;br/&gt;
Branch: release/1.5&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/2894cc48ae1b660f69a29fb57ab2088a35a87701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/2894cc48ae1b660f69a29fb57ab2088a35a87701&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3755497" author="xgen-internal-githook" created="Tue, 4 May 2021 22:36:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Matt Dale&apos;, &apos;email&apos;: &apos;9760375+matthewdale@users.noreply.github.com&apos;, &apos;username&apos;: &apos;matthewdale&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1937&quot; title=&quot;BatchSize does not work for legacy collection enumeration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1937&quot;&gt;&lt;del&gt;GODRIVER-1937&lt;/del&gt;&lt;/a&gt; Update legacy ListCollections to support the BatchSize option for server version 2.6 (#656)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/899e5cd8638d46c9b85b90b1c5868221cb08f1aa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/899e5cd8638d46c9b85b90b1c5868221cb08f1aa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3747415" author="JIRAUSER1259527" created="Thu, 29 Apr 2021 19:04:46 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/656&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/656&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|hxochz:</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>