<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:46 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-4037] mongos: writeback failed because of stale config</title>
                <link>https://jira.mongodb.org/browse/SERVER-4037</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;we are seeing mongos output about 300 errors/sec of the following:&lt;br/&gt;
Fri Oct  7 14:15:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;WriteBackListener-10.x:27021&amp;#93;&lt;/span&gt; writeback failed because of stale config, retrying attempts: 58673730&lt;br/&gt;
Fri Oct  7 14:15:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;WriteBackListener-10.x:27021&amp;#93;&lt;/span&gt; writeback failed because of stale config, retrying attempts: 58673731&lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;the attempts appear to be going to a shard which previously had a similar problem of outputting a ton of errors of the following:&lt;br/&gt;
Sat Sep 24 14:44:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn175294&amp;#93;&lt;/span&gt; Assertion: 13388:&lt;span class=&quot;error&quot;&gt;&amp;#91;discovery.items&amp;#93;&lt;/span&gt; shard version not ok in Client::Context: client in sharded mode, but doesn&apos;t have version set for this collection: discovery.items myVersion: 1|98 &lt;/p&gt;

&lt;p&gt;this is with mongos nightly as of oct 6.&lt;/p&gt;

&lt;p&gt;we are also seeing sporadic errors of &quot;db assertion failed&quot; when running map reduce jobs, similar to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3081&quot; title=&quot;map reduce error: shard version not ok in Client::Context: your version is too old&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3081&quot;&gt;&lt;del&gt;SERVER-3081&lt;/del&gt;&lt;/a&gt;:&lt;br/&gt;
Wed Sep 28 03:27:08 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn11550&amp;#93;&lt;/span&gt; ERROR: sharded m/r failed on shard: &lt;br/&gt;
shard1/10.x:27017,10.y:27017 error: &lt;/p&gt;
{ assertion: &quot;[mydb.mycoll] shard 
version not ok in Client::Context: client in sharded mode, but doesn&apos;t 
have version set for this collection...&quot;, assertionCode: 13388, 
errmsg: &quot;db assertion failure&quot;, ok: 0.0 }
&lt;p&gt; &lt;br/&gt;
Thu Sep 29 02:12:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn52340&amp;#93;&lt;/span&gt; ERROR: sharded m/r failed on shard: &lt;br/&gt;
shard4/10.x:27017,10.y:27017 error: &lt;/p&gt;
{ assertion: &quot;[mydb.mycoll] shard 
version not ok in Client::Context: client in sharded mode, but doesn&apos;t 
have version set for this collection...&quot;, assertionCode: 13388, 
errmsg: &quot;db assertion failure&quot;, ok: 0.0 }
&lt;p&gt; &lt;br/&gt;
Wed Oct  5 14:50:03 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn360741&amp;#93;&lt;/span&gt; ERROR: sharded m/r failed on shard: &lt;br/&gt;
shard1/10.x:27017,10.y:27017 error: &lt;/p&gt;
{ assertion: &quot;[mydb.mycoll] shard 
version not ok in Client::Context: client in sharded mode, but doesn&apos;t 
have version set for this collection...&quot;, assertionCode: 13388, 
errmsg: &quot;db assertion failure&quot;, ok: 0.0 }
&lt;p&gt; &lt;br/&gt;
Fri Oct  7 02:07:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn26339&amp;#93;&lt;/span&gt; ERROR: sharded m/r failed on shard: &lt;br/&gt;
shard2/10.x:27017,10.y:27017 error: &lt;/p&gt;
{ assertion: &quot;[mydb.mycoll] shard 
version not ok in Client::Context: client in sharded mode, but doesn&apos;t 
have version set for this collection: revinate_p...&quot;, assertionCode: 
13388, errmsg: &quot;db assertion failure&quot;, ok: 0.0 }
&lt;p&gt; &lt;/p&gt;</description>
                <environment>ubuntu 10.04 x86_64</environment>
        <key id="23382">SERVER-4037</key>
            <summary>mongos: writeback failed because of stale config</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="-1">Unassigned</assignee>
                                    <reporter username="wayne530">Y. Wayne Huang</reporter>
                        <labels>
                            <label>mongos</label>
                    </labels>
                <created>Fri, 7 Oct 2011 21:24:09 +0000</created>
                <updated>Mon, 11 Jul 2016 18:32:31 +0000</updated>
                            <resolved>Sat, 8 Oct 2011 05:01:42 +0000</resolved>
                                    <version>2.0.0-rc2</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="61871" author="wayne530" created="Fri, 21 Oct 2011 19:30:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4118&quot; title=&quot;mongos causes dos by opening a ton of connections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4118&quot;&gt;&lt;del&gt;SERVER-4118&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it appears mongos does not spew log entries anymore but it certainly is getting into a tight loop of connecting and issuing queries for some reason&lt;/p&gt;</comment>
                            <comment id="61755" author="eliot" created="Fri, 21 Oct 2011 04:58:43 +0000"  >&lt;p&gt;Can you open a new ticket with those logs, etc...&lt;/p&gt;</comment>
                            <comment id="61655" author="wayne530" created="Thu, 20 Oct 2011 17:30:59 +0000"  >&lt;p&gt;Eliot, we upgraded to the nightly build the day of your comment and hadn&apos;t seen the problem in a while but it returned this morning. This time it didn&apos;t seem to generate log messages on mongos but it created upwards of 1-2k of command ops/sec on two of our shards. Bouncing mongos fixed the issue. Therefore I don&apos;t believe the fix works in all cases. Are there subsequent fixes in the 2.0.1 rc that are also related to this problem? If not, we should re-open this.&lt;/p&gt;</comment>
                            <comment id="59568" author="eliot" created="Mon, 10 Oct 2011 20:42:52 +0000"  >&lt;p&gt;The fix was not in that version but is in the current nightly.&lt;/p&gt;</comment>
                            <comment id="59566" author="wayne530" created="Mon, 10 Oct 2011 20:40:19 +0000"  >&lt;p&gt;Mon Oct 10 13:39:52 ./mongos db version v2.0.1-pre-, pdfile version 4.5 starting (--help for usage)&lt;br/&gt;
Mon Oct 10 13:39:52 git version: 671479a616924e405d25cb79581f27b934c7fcff&lt;br/&gt;
Mon Oct 10 13:39:52 build info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41&lt;/p&gt;</comment>
                            <comment id="59561" author="eliot" created="Mon, 10 Oct 2011 20:34:17 +0000"  >&lt;p&gt;what git hash?&lt;br/&gt;
nightly is built from head, but may be delayed.&lt;/p&gt;</comment>
                            <comment id="59554" author="wayne530" created="Mon, 10 Oct 2011 19:52:45 +0000"  >&lt;p&gt;hi Eliot &amp;#8211; you mentioned these issues are fixed in 2.0.0 and 2.0 head, respectively. we are running 2.0 nightly (assume that comes from 2.0 head) and we still see this issue as of this morning. we can try a new mongos from last night but since you indicated the issues were fixed already and we have the nightly from friday, it seems it would not help.  also, can you link the two issues you&apos;re referring to?&lt;/p&gt;</comment>
                            <comment id="59264" author="eliot" created="Sat, 8 Oct 2011 05:01:42 +0000"  >&lt;p&gt;There were cases for this.&lt;br/&gt;
1 is fixed in 2.0.0&lt;br/&gt;
The other in 2.0 head for 2.0.1&lt;/p&gt;</comment>
                            <comment id="59217" author="wayne530" created="Fri, 7 Oct 2011 21:40:34 +0000"  >&lt;p&gt;restarting mongos stopped the infinite retry, which was causing 300-400 command ops/sec on one shard and increasing the write lock % from &amp;lt; 1% to 8%. this was effectively dos&apos;ing one of our shards.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 8 Oct 2011 05:01:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 17 weeks, 5 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, 17 weeks, 5 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>eliot</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|hroojj:</customfieldvalue>

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

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

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