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

&lt;p&gt;&#160; &#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 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 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 &quot;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true})&quot; trying to resolve the issue &quot;requested shard version differs from config shard version&quot;. But I have five questions about 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;&apos;s &quot;REMEDIATION AND WORKAROUNDS&quot;.&lt;/p&gt;

&lt;p&gt;1. Can I just refresh the chunk version data of the abnormal collection but refresh global mongod&apos;s chunk version data?&lt;br/&gt;
2. 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;br/&gt;
3. Is my application&apos;s reading and writing beening affected before the completed of the command?&quot;db.adminCommand({_flushRoutingTableCacheUpdates: ns, syncFromConfig: true})&quot; &#65311;&lt;br/&gt;
4. Is there other ways to resolve the problem?&lt;br/&gt;
5. 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 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 &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;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>OS:RHEL7 x86_64&lt;br/&gt;
mongodb:4.2.3&lt;br/&gt;
mode:16 shardings</environment>
        <key id="1566875">SERVER-53346</key>
            <summary>The best method resolving BUG  SERVER-45119  of mongodb 4.2.3 for rhel7 x86_64 </summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="backlog-server-triage">Backlog - Triage Team</assignee>
                                    <reporter username="fengjing@vastdata.com.cn">Jing Feng</reporter>
                        <labels>
                            <label>Bug</label>
                    </labels>
                <created>Mon, 14 Dec 2020 00:49:43 +0000</created>
                <updated>Tue, 6 Dec 2022 01:41:40 +0000</updated>
                            <resolved>Mon, 14 Dec 2020 15:55:56 +0000</resolved>
                                    <version>4.2.3</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1566812">SERVER-53338</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>0.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_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 8 weeks, 3 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, 8 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-triage</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|hyllan:</customfieldvalue>

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

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