<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:38:14 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-2282] Document that collection enumeration is limited to 100 entries on 2.6</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2282</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;

&lt;p&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;We got a Mongomirror help ticket that complains Mongomirror didn&apos;t migrate all the collections from a 2.6 replicaset. After debugging I found the cursor returned from Go drive ListCollections function doesn&apos;t return all the collections during iteration. There are at most 101 collections returned by the cursor.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;This happens on 2.6 server either standalone or replicaset.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#1a1a1a&quot;&gt;How to Reproduce&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;Use mlaunch to bring up a 2.6 server on port 27017. Run&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/356732/356732_main.go&quot; title=&quot;main.go attached to GODRIVER-2282&quot;&gt;main.go&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;You will see although 120 collections were created, the output is&#160;&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;col97&lt;br/&gt;
col98&lt;br/&gt;
col99&lt;br/&gt;
count: 101, cursor err: &amp;lt;nil&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1970100">GODRIVER-2282</key>
            <summary>Document that collection enumeration is limited to 100 entries on 2.6</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="huan.li@mongodb.com">Huan Li</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jan 2022 03:00:24 +0000</created>
                <updated>Thu, 10 Feb 2022 23:03:57 +0000</updated>
                            <resolved>Thu, 10 Feb 2022 23:03:57 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="4349380" author="benji.rewis" created="Thu, 10 Feb 2022 23:03:57 +0000"  >&lt;p&gt;We&apos;ve documented that collection enumeration is limited to 100 entries on MongoDB version 2.6 as a known bug in the Go driver.&lt;/p&gt;</comment>
                            <comment id="4348725" author="benji.rewis" created="Thu, 10 Feb 2022 19:21:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/850&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/850&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4330815" author="ryan.chipman" created="Wed, 2 Feb 2022 17:08:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tim.fogarty&quot; class=&quot;user-hover&quot; rel=&quot;tim.fogarty&quot;&gt;tim.fogarty&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.walters&quot; class=&quot;user-hover&quot; rel=&quot;robert.walters&quot;&gt;robert.walters&lt;/a&gt; are we proposing that &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;we make a support-policy decision that mongomirror will not support migration of 2.6 clusters that have more than 100 collections&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;or that &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;mongomirror has a bug that prevents migration of 2.6 clusters that have more than 100 collections, and we&apos;re choosing not to fix it at this time&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The two are similar, but it seems like they might be slightly different wrt &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.bhargava&quot; class=&quot;user-hover&quot; rel=&quot;esha.bhargava&quot;&gt;esha.bhargava&lt;/a&gt;&apos;s question&lt;/p&gt;</comment>
                            <comment id="4329155" author="jessica.sigafoos" created="Tue, 1 Feb 2022 22:41:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.walters&quot; class=&quot;user-hover&quot; rel=&quot;robert.walters&quot;&gt;robert.walters&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryan.chipman&quot; class=&quot;user-hover&quot; rel=&quot;ryan.chipman&quot;&gt;ryan.chipman&lt;/a&gt; , please see Esha&apos;s question in the comment above.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="356732" name="main.go" size="897" author="huan.li@mongodb.com" created="Tue, 25 Jan 2022 02:59:02 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K000011BvrQQAS]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i010jz:</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>