<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:34 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>[SERVER-3967] could not initialize cursor across all shards</title>
                <link>https://jira.mongodb.org/browse/SERVER-3967</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;after updating from 1.8.3 to 2.0.0, we are seeing numerous &apos;could not initialize cursor across all shards&apos; reported by mongos. we have 4 shards, each a replicaset of two replicas and an arbiter. all nodes--mongos, config, replicas, &amp;amp; arbiters were updated to 2.0.0.&lt;/p&gt;

&lt;p&gt;Tue Sep 27 21:19:26 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn900&amp;#93;&lt;/span&gt; ns: my_db.my_coll could not initialize cursor across all shards because : ns: my_db.my_coll ClusteredCursor::query @ shard3/10.x.x.46:27017,10.x.x.47:27017 attempt: 5&lt;/p&gt;</description>
                <environment>linux x86_64 ubuntu 10.04.3 10gen stable package</environment>
        <key id="22915">SERVER-3967</key>
            <summary>could not initialize cursor across all shards</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="3">Duplicate</resolution>
                                        <assignee username="greg_10gen">Greg Studer</assignee>
                                    <reporter username="wayne530">Y. Wayne Huang</reporter>
                        <labels>
                            <label>mongos</label>
                            <label>sharding</label>
                    </labels>
                <created>Wed, 28 Sep 2011 04:33:37 +0000</created>
                <updated>Fri, 30 Mar 2012 14:24:31 +0000</updated>
                            <resolved>Wed, 2 Nov 2011 13:38:49 +0000</resolved>
                                    <version>2.0.0</version>
                                                    <component>Sharding</component>
                                        <votes>1</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="60624" author="greg_10gen" created="Sat, 15 Oct 2011 03:50:45 +0000"  >&lt;p&gt;This is the same issue as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3889&quot; title=&quot;Possible for setShardVersion to never be set on mongod after multiple StaleConfigExceptions due to reset metadata&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3889&quot;&gt;&lt;del&gt;SERVER-3889&lt;/del&gt;&lt;/a&gt;, manifesting in a query across multiple shards.  Fix is in rc and testing.  &lt;/p&gt;</comment>
                            <comment id="60580" author="alans" created="Fri, 14 Oct 2011 23:04:18 +0000"  >&lt;p&gt;We got the same problem. Noticed exactly the same error after running for 5 days. After a mongos process was restarted, the error was gone, but the mongos process that&apos;s not restarted still produced the same error. This stops any one from using shards in production with 2.0. Quick fix is critical.&lt;/p&gt;</comment>
                            <comment id="57614" author="wayne530" created="Thu, 29 Sep 2011 16:52:36 +0000"  >&lt;p&gt;it happened about 60 times in 24 hours--most of them reported the same namespace/collection &amp;amp; shard.&lt;/p&gt;</comment>
                            <comment id="57197" author="wayne530" created="Wed, 28 Sep 2011 05:54:38 +0000"  >&lt;p&gt;it happens occasionally--i&apos;ll monitor the next 24 hours and report the frequency but it seems to be about once every couple of hours. if the same error was also reported in 1.8.x, we had 0 instances of the error since this mongos instance was created and only after updating to 2.0.0 did we start to see it.&lt;/p&gt;</comment>
                            <comment id="57196" author="eliot" created="Wed, 28 Sep 2011 05:46:36 +0000"  >&lt;p&gt;Is the count not initialize error happening consistently or occasionally?&lt;/p&gt;</comment>
                            <comment id="57193" author="wayne530" created="Wed, 28 Sep 2011 05:21:54 +0000"  >&lt;p&gt;yes, all shards are healthy (i can post rs.status() if you&apos;d like). each shard has 3 members in the states PRIMARY, SECONDARY and ARBITER. there was some flipping of primary/secondary during the update and in a couple instances, we asked the new primary to step down (we&apos;re not using slaveOk so secondaries are more or less cold). we noticed that on step down, both non-arbiter nodes would become secondary for several seconds until one node was elected primary. i&apos;m not sure if this is relevant. this is the same behavior we typically observe when calling rs.stepDown(), even in 1.8.x.&lt;/p&gt;</comment>
                            <comment id="57192" author="eliot" created="Wed, 28 Sep 2011 05:15:47 +0000"  >&lt;p&gt;Are all shards healthy?&lt;br/&gt;
Looks like 1 shard doesn&apos;t have a primary.&lt;/p&gt;</comment>
                            <comment id="57190" author="eliot" created="Wed, 28 Sep 2011 05:02:44 +0000"  >&lt;p&gt;Can you send the full mongos log?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="22453">SERVER-3889</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13328" name="mongos-1.log.gz" size="387965" author="wayne530" created="Wed, 28 Sep 2011 05:09:47 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 28 Sep 2011 05:02:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 18 weeks, 4 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 18 weeks, 4 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alans</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>wayne530</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hropd3:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22954</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlkcf:</customfieldvalue>

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