<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:57:47 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-85452] config.shards can be outdated if auto bootstrap is not complete before replSetReconfig</title>
                <link>https://jira.mongodb.org/browse/SERVER-85452</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This bug surfaced from the fix made in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-82363&quot; title=&quot;Make ShardingTest wait for the config shard&amp;#39;s config.shards entry to be updated on setup&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-82363&quot;&gt;&lt;del&gt;SERVER-82363&lt;/del&gt;&lt;/a&gt; due to changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21185&quot; title=&quot;Make shard primary responsible for updating config server&amp;#39;s knowledge of shard replica set members&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21185&quot;&gt;&lt;del&gt;SERVER-21185&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;As part of auto-bootstrap procedure, a shard entry is added in &lt;tt&gt;config.shards&lt;/tt&gt; inside &lt;a href=&quot;https://github.com/10gen/mongo/blob/c8b05bb0389b004bb1c228e27e590bc38db7c677/src/mongo/db/s/sharding_ready.cpp#L80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;_transitionToConfigShard&lt;/a&gt; via &lt;a href=&quot;https://github.com/10gen/mongo/blob/c8b05bb0389b004bb1c228e27e590bc38db7c677/src/mongo/db/s/sharding_ready.cpp#L62&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;scheduleTransitionToConfigShard&lt;/a&gt;. The &lt;tt&gt;_isReady&lt;/tt&gt; promise of &lt;tt&gt;ShardingReady&lt;/tt&gt; is &lt;a href=&quot;https://github.com/10gen/mongo/blob/e627a7d75870a18ed4dea1f6b7d874597d45d5ed/src/mongo/db/s/config_server_op_observer.cpp#L151&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;fulfilled&lt;/a&gt; once the config entry is committed. In the case of calling it when stepping up a primary mongod as part of &lt;a href=&quot;https://github.com/10gen/mongo/blob/19a3dec6b0ff8ee6dac0ffc644f0fd773714a81d/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp#L956&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;_shardingOnTransitionToPrimaryHook&lt;/a&gt;, a concurrent &lt;tt&gt;replSetReconfig&lt;/tt&gt; command can cause &lt;a href=&quot;https://github.com/10gen/mongo/blob/e627a7d75870a18ed4dea1f6b7d874597d45d5ed/src/mongo/s/client/shard_registry.cpp#L495&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ShardRegistry::scheduleReplicaSetUpdateOnConfigServerIfNeeded&lt;/a&gt; silently &lt;a href=&quot;https://github.com/10gen/mongo/blob/e627a7d75870a18ed4dea1f6b7d874597d45d5ed/src/mongo/s/client/shard_registry.cpp#L533&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;fail to update&lt;/a&gt; without retrying later due to no shard entry present yet. The previous function is called via &lt;tt&gt;ReplicationCoordinatorImpl&lt;/tt&gt; post updating its replica set config document from &lt;a href=&quot;https://github.com/10gen/mongo/blob/916e8966874206ec19f2ad8ebc04bfd632c7831a/src/mongo/db/repl/replication_coordinator_impl.cpp#L4239&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;_finishReplSetReconfig&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2551283">SERVER-85452</key>
            <summary>config.shards can be outdated if auto bootstrap is not complete before replSetReconfig</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="13201">Fixed</resolution>
                                        <assignee username="wenqin.ye@mongodb.com">Wenqin Ye</assignee>
                                    <reporter username="abdul.qadeer@mongodb.com">Abdul Qadeer</reporter>
                        <labels>
                            <label>auto-reverted</label>
                    </labels>
                <created>Fri, 19 Jan 2024 15:45:12 +0000</created>
                <updated>Wed, 7 Feb 2024 18:40:10 +0000</updated>
                            <resolved>Wed, 7 Feb 2024 15:12:41 +0000</resolved>
                                    <version>7.3.0-rc0</version>
                    <version>7.2.0-rc3</version>
                                    <fixVersion>8.0.0-rc0</fixVersion>
                    <fixVersion>7.3.0-rc3</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="6076048" author="xgen-internal-githook" created="Wed, 7 Feb 2024 18:27:23 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Wenqin&apos;, &apos;email&apos;: &apos;wenqinYe@users.noreply.github.com&apos;, &apos;username&apos;: &apos;wenqinYe&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85452&quot; title=&quot;config.shards can be outdated if auto bootstrap is not complete before replSetReconfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85452&quot;&gt;&lt;del&gt;SERVER-85452&lt;/del&gt;&lt;/a&gt;: Retry updating config.shards if sharding is not ready (#18523)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 636391b003f1de818659521c21abec223f76eaf3&lt;br/&gt;
Branch: v7.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1eee54b950720e914b36ac4f74a15c23162b5e80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1eee54b950720e914b36ac4f74a15c23162b5e80&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6063608" author="xgen-internal-githook" created="Fri, 2 Feb 2024 19:39:02 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Wenqin&apos;, &apos;email&apos;: &apos;wenqinYe@users.noreply.github.com&apos;, &apos;username&apos;: &apos;wenqinYe&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85452&quot; title=&quot;config.shards can be outdated if auto bootstrap is not complete before replSetReconfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85452&quot;&gt;&lt;del&gt;SERVER-85452&lt;/del&gt;&lt;/a&gt;: Retry updating config.shards if sharding is not ready (#18523)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 71dd473c69e5ab5217550d210637262a73005e2b&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5e82636904b505421c9994dddfa03d98d1366e06&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5e82636904b505421c9994dddfa03d98d1366e06&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6051413" author="xgen-internal-githook" created="Tue, 30 Jan 2024 05:02:28 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;auto-revert-processor&apos;, &apos;email&apos;: &apos;dev-prod-dag@mongodb.com&apos;, &apos;username&apos;: &apos;&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85452&quot; title=&quot;config.shards can be outdated if auto bootstrap is not complete before replSetReconfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85452&quot;&gt;&lt;del&gt;SERVER-85452&lt;/del&gt;&lt;/a&gt;: Retry updating config.shards if sharding is not ready (#18302)&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit b3b9914676d902785476266c3b7d6b618d853df2.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: b0faa9c800ee7947064cbad9f2db0f2242e1e903&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/576aea1526eaeeb7de128a93f9e4a07bdae53d9e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/576aea1526eaeeb7de128a93f9e4a07bdae53d9e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6050659" author="xgen-internal-githook" created="Mon, 29 Jan 2024 21:14:05 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Wenqin&apos;, &apos;email&apos;: &apos;wenqinYe@users.noreply.github.com&apos;, &apos;username&apos;: &apos;wenqinYe&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85452&quot; title=&quot;config.shards can be outdated if auto bootstrap is not complete before replSetReconfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85452&quot;&gt;&lt;del&gt;SERVER-85452&lt;/del&gt;&lt;/a&gt;: Retry updating config.shards if sharding is not ready (#18302)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: b3b9914676d902785476266c3b7d6b618d853df2&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/68fc718562291aba49edb56e1de9fab6ad9881c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/68fc718562291aba49edb56e1de9fab6ad9881c9&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="27038"><![CDATA[v7.3]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Jan 2024 23:52:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 hours, 30 minutes 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 hours ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>156.0</customfieldvalue>

                        </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>abdul.qadeer@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>wenqin.ye@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i395h3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2qul8:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7992">Cluster Scalability 2024-1-22</customfieldvalue>
    <customfieldvalue id="7993">Cluster Scalability 2024-2-5</customfieldvalue>
    <customfieldvalue id="8295">Cluster Scalability 2024-2-19</customfieldvalue>

                        </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|i38rmf:</customfieldvalue>

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