<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:14:11 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-47432]  Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message &apos;Failed to run query after 10 retries :: caused by :: version mismatch detected</title>
                <link>https://jira.mongodb.org/browse/SERVER-47432</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;After migrating the MongoDB version from 4.0.16 - Feb 5, 2020 to&#160; 4.0.17 - Mar 25, 2020. for some collections when I run a Query or a MR I am getting:&lt;/p&gt;

&lt;p&gt;Failed to retrieve documents&lt;/p&gt;

&lt;p&gt;[M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;sharded cluster&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;direct&amp;#93;&lt;/span&gt;] Database error!&lt;/p&gt;

&lt;p&gt;Stacktrace: &lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;_/ java.lang.Exception: [M_AUDIT_CDR.AUDIT_KPN@Copy of mongo4.0 &lt;span class=&quot;error&quot;&gt;&amp;#91;sharded cluster&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;direct&amp;#93;&lt;/span&gt;] Database error!&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;____/ Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message &apos;Failed to run query after 10 retries :: caused by :: version mismatch detected for M_AUDIT_CDR.AUDIT_KPN&apos; on server&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;Can you please give me a quick solution to fix this, since all my system is stuck because I cannot access several collections.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Rui&lt;/p&gt;</description>
                <environment></environment>
        <key id="1309522">SERVER-47432</key>
            <summary> Mongo Server error (MongoQueryException): Query failed with error code 13388 and error message &apos;Failed to run query after 10 retries :: caused by :: version mismatch detected</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="backlog-server-triage">Backlog - Triage Team</assignee>
                                    <reporter username="rui.ribeiro@comfone.com">Rui Ribeiro</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Apr 2020 12:31:48 +0000</created>
                <updated>Tue, 6 Dec 2022 02:30:09 +0000</updated>
                            <resolved>Mon, 13 Apr 2020 16:23:40 +0000</resolved>
                                    <version>4.0.17</version>
                                                    <component>MapReduce</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3037035" author="carl.champain" created="Mon, 13 Apr 2020 16:22:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.ribeiro%40comfone.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.ribeiro@comfone.com&quot;&gt;rui.ribeiro@comfone.com&lt;/a&gt;, we have a release candidate for 4.0.18-rc0 available now, assuming we do not identify any blocking issues in our final testing, I would expect 4.0.18 GA to be generally available early this week.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shil%40mixmax.com&quot; class=&quot;user-hover&quot; rel=&quot;shil@mixmax.com&quot;&gt;shil@mixmax.com&lt;/a&gt;,&#160;&lt;tt&gt;ns&lt;/tt&gt; stands for &lt;a href=&quot;https://docs.mongodb.com/manual/reference/glossary/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;namespace&lt;/a&gt;, so you need to replace &lt;tt&gt;ns&lt;/tt&gt; with the namespace of your collection.&#160;&lt;/p&gt;

&lt;p&gt;I&apos;m going to close this ticket.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
 Carl&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                            <comment id="3035996" author="shil@mixmax.com" created="Sat, 11 Apr 2020 20:23:04 +0000"  >&lt;p&gt;Hi Carl,&lt;/p&gt;

&lt;p&gt;What should &lt;tt&gt;ns&#160;&lt;/tt&gt; be here?&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Run&#160;&lt;tt&gt;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true}))&lt;/tt&gt;&#160;against each shard directly&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;br/&gt;
Thanks,&lt;br/&gt;
Shil&lt;/p&gt;</comment>
                            <comment id="3033930" author="rui.ribeiro@comfone.com" created="Thu, 9 Apr 2020 19:27:06 +0000"  >&lt;p&gt;Hi Carl&lt;/p&gt;

&lt;p&gt;Thank you for the tips.&#160;&lt;/p&gt;

&lt;p&gt;Luckily I found the problem immediately, since this was happening for some random collections.&lt;/p&gt;

&lt;p&gt;I already downgraded to 4.0.16.&lt;/p&gt;

&lt;p&gt;Will you release the fix in 20.04.2020 (end of your sprint) ?&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Rui&lt;/p&gt;</comment>
                            <comment id="3033848" author="carl.champain" created="Thu, 9 Apr 2020 18:34:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.ribeiro%40comfone.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.ribeiro@comfone.com&quot;&gt;rui.ribeiro@comfone.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;If you can&apos;t downgrade to 4.0.16, the following steps should resolve the issue on 4.0.17:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Stop the balancer&lt;/li&gt;
	&lt;li&gt;Wait for all the chunk migrations to finish&lt;/li&gt;
	&lt;li&gt;Run &lt;tt&gt;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true}))&lt;/tt&gt; against each shard directly&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;If the balancer is re-enabled, there is a risk of this problem re-appearing.&lt;/p&gt;</comment>
                            <comment id="3033442" author="carl.champain" created="Thu, 9 Apr 2020 15:19:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.ribeiro%40comfone.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.ribeiro@comfone.com&quot;&gt;rui.ribeiro@comfone.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We think you are experiencing&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45119&quot; title=&quot;CollectionShardingState::getCurrentShardVersionIfKnown returns collection version instead of shard version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45119&quot;&gt;&lt;del&gt;SERVER-45119&lt;/del&gt;&lt;/a&gt;. This issue was fixed in 4.0.18, which will be released soon. In the meantime, please&#160;downgrade to 4.0.16.&lt;/p&gt;</comment>
                            <comment id="3033428" author="carl.champain" created="Thu, 9 Apr 2020 15:07:51 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rui.ribeiro%40comfone.com&quot; class=&quot;user-hover&quot; rel=&quot;rui.ribeiro@comfone.com&quot;&gt;rui.ribeiro@comfone.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Can you please provide the full &lt;tt&gt;mongod.log&lt;/tt&gt; file for this node?&lt;br/&gt;
 I&apos;ve created a secure &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/a83506de-479e-4042-96e2-7ea65a518b57.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload portal&lt;/a&gt; for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Carl&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1050837">SERVER-45119</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25137"><![CDATA[Server Triage]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 9 Apr 2020 15:07:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 43 weeks, 2 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 43 weeks, 2 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>backlog-server-triage</customfieldvalue>
            <customfieldvalue>carl.champain@mongodb.com</customfieldvalue>
            <customfieldvalue>rui.ribeiro@comfone.com</customfieldvalue>
            <customfieldvalue>shil@mixmax.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxed07:</customfieldvalue>

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

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