<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:30:37 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-53338] The best method resolving BUG  SERVER-45119  of mongodb 4.2.3 for rhel7 x86_64 </title>
                <link>https://jira.mongodb.org/browse/SERVER-53338</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;&#160; &#160; Resently,My mongodb server having 16 shardings which mongodb version is 4.2.3 for rhel7 x86_64 ,one of the 16 shardings throws error messages about mongodb 4.x verion&apos;s&#160;BUG &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;. As the&#160;BUG &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; description ,we can refresh mongod&apos;s chunk version data using the command as&#160; &quot;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true})&quot;&#160; trying to resolve the issue &quot;requested shard version differs from config shard version&quot;. But I have five questions about the&#160;&#160;BUG &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;&apos;s &quot;&lt;b&gt;REMEDIATION AND WORKAROUNDS&lt;/b&gt;&quot;.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Can I just refresh the chunk version data of the abnormal collection but refresh global mongod&apos;s chunk version data?&lt;/li&gt;
	&lt;li&gt;Is the abnormal sharding beening locked if I use the command &quot;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true})&quot;&#160; to refresh global mongod&apos;s chunk version data?&lt;/li&gt;
	&lt;li&gt;Is my application&apos;s reading and writing beening affected before the completed of the command&#160;&quot;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true})&quot; &#65311;&lt;/li&gt;
	&lt;li&gt;Is there other way to resolve the problem?&lt;/li&gt;
	&lt;li&gt;How can I reproduce the scene of the BUG &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; with mongodb 4.2.3 sharding for rhel7 x86_64? I was failed to reproduce the secene of the&#160;BUG &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; using method descriped in&#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;.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="1566812">SERVER-53338</key>
            <summary>The best method resolving BUG  SERVER-45119  of mongodb 4.2.3 for rhel7 x86_64 </summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="fengjing@vastdata.com.cn">Jing Feng</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 Dec 2020 15:23:49 +0000</created>
                <updated>Fri, 3 Jun 2022 14:22:34 +0000</updated>
                            <resolved>Fri, 15 Jan 2021 22:06:50 +0000</resolved>
                                    <version>4.2.3</version>
                                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="3568424" author="eric.sedor" created="Fri, 15 Jan 2021 22:06:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=fengjing%40vastdata.com.cn&quot; class=&quot;user-hover&quot; rel=&quot;fengjing@vastdata.com.cn&quot;&gt;fengjing@vastdata.com.cn&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The best approach to &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; at this point is to upgrade to 4.2.6 to avoid the issue altogether. That is what we recommend.&lt;/p&gt;

&lt;p&gt;Beyond that, if it is truly necessary for you to explore this, we&apos;d like to encourage you to start by asking our community for help by posting on the &lt;a href=&quot;https://community.mongodb.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Developer Community Forums&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There, you can get clarifications on how MongoDB works and suggestions for how to approach particular problems. If you post there explaining some context about why you need to reproduce &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;, they should be able to provide insight.&lt;/p&gt;

&lt;p&gt;If the discussion there leads you to suspect a bug in the MongoDB server, or an inaccuracy in what we&apos;ve documented at &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;, then we&apos;d be able to address this here in the SERVER project (which is for reporting bugs and feature suggestions for the MongoDB server).&lt;/p&gt;

&lt;p&gt;Hopefully this helps,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1566875">SERVER-53346</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Jan 2021 22:54:58 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 3 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>fengjing@vastdata.com.cn</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hylkwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy7fxr:</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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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