<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:41 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-2961] mongos may try to setShardVersion on a slave</title>
                <link>https://jira.mongodb.org/browse/SERVER-2961</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;after using a slave conn, it may try to call setShardVersion on a slave&lt;/p&gt;

&lt;p&gt;You&apos;ll see something like&lt;br/&gt;
setShardVersion failed ... not master&lt;/p&gt;</description>
                <environment></environment>
        <key id="16195">SERVER-2961</key>
            <summary>mongos may try to setShardVersion on a slave</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Apr 2011 20:00:12 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:31 +0000</updated>
                            <resolved>Tue, 19 Apr 2011 21:47:26 +0000</resolved>
                                                    <fixVersion>1.8.2</fixVersion>
                    <fixVersion>1.9.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="31234" author="mconigliaro" created="Thu, 5 May 2011 16:46:01 +0000"  >&lt;p&gt;I have created &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3049&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-3049&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="31082" author="eliot" created="Thu, 5 May 2011 00:21:27 +0000"  >&lt;p&gt;Its normal to get some after a failover.&lt;br/&gt;
If you think there is an issue, please open a new case with all the logs, etc...&lt;/p&gt;</comment>
                            <comment id="31076" author="mconigliaro" created="Wed, 4 May 2011 23:43:41 +0000"  >&lt;p&gt;I&apos;m also getting lots of these in my app:&lt;/p&gt;

&lt;p&gt;com.mongodb.MongoException: setShardVersion failed host&lt;span class=&quot;error&quot;&gt;&amp;#91;mongodb05.example:27018&amp;#93;&lt;/span&gt; &lt;/p&gt;
{ errmsg: &quot;not master&quot;, ok: 0.0 }

&lt;p&gt;Interestingly, they don&apos;t happen on every request. The app seems to fail with this exception about half the time. Restarting mongos seems to resolve this, though it&apos;s not a great workaround. Automatic failover is essentially broken for us at this point.&lt;/p&gt;</comment>
                            <comment id="31069" author="mconigliaro" created="Wed, 4 May 2011 22:56:15 +0000"  >&lt;p&gt;Still seeing occasional errors like this in my mongos.log after failover. This is on 1.8.2-rc0.&lt;/p&gt;

&lt;p&gt;Wed May  4 22:50:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; Assertion: 10429:setShardVersion failed host&lt;span class=&quot;error&quot;&gt;&amp;#91;mongodb05.example.com:27018&amp;#93;&lt;/span&gt; &lt;/p&gt;
{ errmsg: &quot;not master&quot;, ok: 0.0 }
&lt;p&gt;0x51fc59 0x69ca53 0x69c5e2 &lt;br/&gt;
 /usr/bin/mongos(_ZN5mongo11msgassertedEiPKc+0x129) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x51fc59&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69ca53&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x69c5e2&amp;#93;&lt;/span&gt;&lt;br/&gt;
Wed May  4 22:50:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn3&amp;#93;&lt;/span&gt; AssertionException in process: setShardVersion failed host&lt;span class=&quot;error&quot;&gt;&amp;#91;mongodb05.example.com:27018&amp;#93;&lt;/span&gt; &lt;/p&gt;
{ errmsg: &quot;not master&quot;, ok: 0.0 }</comment>
                            <comment id="29339" author="auto" created="Tue, 19 Apr 2011 21:47:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: don&apos;t use ShardConnection for getMore &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2961&quot; title=&quot;mongos may try to setShardVersion on a slave&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2961&quot;&gt;&lt;del&gt;SERVER-2961&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
test forthcoming&lt;br/&gt;
Branch: v1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/dff2c6b66e29f2d7b91fe5994d07532adca38135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/dff2c6b66e29f2d7b91fe5994d07532adca38135&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="29338" author="auto" created="Tue, 19 Apr 2011 21:46:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2961&quot; title=&quot;mongos may try to setShardVersion on a slave&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2961&quot;&gt;&lt;del&gt;SERVER-2961&lt;/del&gt;&lt;/a&gt; and comment&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f8cb1e292c1e7e80ba5627468705cbf0130c82af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f8cb1e292c1e7e80ba5627468705cbf0130c82af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="29334" author="auto" created="Tue, 19 Apr 2011 20:40:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: don&apos;t use ShardConnection for getMore &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2961&quot; title=&quot;mongos may try to setShardVersion on a slave&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2961&quot;&gt;&lt;del&gt;SERVER-2961&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
test forthcoming&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/157ab952e51c0c08e9c6534541ee276a4d9b4292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/157ab952e51c0c08e9c6534541ee276a4d9b4292&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="17656">PYTHON-251</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Apr 2011 20:40:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 41 weeks, 6 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 41 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21069</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|ht0fgf:</customfieldvalue>

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