<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:32:17 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-53953] Fix invariant failure when downgrading FCV with an index build in progress</title>
                <link>https://jira.mongodb.org/browse/SERVER-53953</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In the ticket&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50423&quot; title=&quot;Change memberConfig&amp;#39;s slaveDelay field to secondaryDelaySecs in FCV 4.7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50423&quot;&gt;&lt;del&gt;SERVER-50423&lt;/del&gt;&lt;/a&gt;, we&apos;ve added reconfigs to the upgrade/downgrade path that will change the name of the delay field name on replica set member configs. This behavior is hidden behind a feature flag. When the feature flag is enabled and we perform a reconfig on downgrade to change the field name from secondaryDelaySecs to slaveDelay, the test &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1c28b3c/jstests/noPassthrough/index_downgrade_fcv.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;index_downgrade_fcv.js&lt;/a&gt;&#160;fails due to an invariant failure &lt;a href=&quot;https://github.com/mongodb/mongo/blob/45a54bb/src/mongo/db/index_builds_coordinator.cpp#L2121-L2123&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here.&lt;/a&gt;&#160;The error code is &lt;tt&gt;ReadConcernMajorityNotAvailableYet&lt;/tt&gt;, which makes me suspect the index build component failed while attempting to establish a read concern majority cursor for the collection scan, as the system was in the middle of a reconfig. One potential solution is to busy-wait until read concern majority is available, which we seem to do &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d0f8750/src/mongo/db/read_concern_mongod.cpp#L427-L431&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&#160;&lt;/p&gt;

&lt;p&gt;As a note, we have disabled the &lt;tt&gt;index_downgrade_fcv.js&lt;/tt&gt;&#160;test for feature flag enabled variants in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50423&quot; title=&quot;Change memberConfig&amp;#39;s slaveDelay field to secondaryDelaySecs in FCV 4.7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50423&quot;&gt;&lt;del&gt;SERVER-50423&lt;/del&gt;&lt;/a&gt;. We should make sure to enable this test again once this ticket is closed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1596902">SERVER-53953</key>
            <summary>Fix invariant failure when downgrading FCV with an index build in progress</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="samy.lanka@mongodb.com">Samyukta Lanka</assignee>
                                    <reporter username="ali.mir@mongodb.com">Ali Mir</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jan 2021 19:30:33 +0000</created>
                <updated>Sun, 29 Oct 2023 21:58:34 +0000</updated>
                            <resolved>Tue, 23 Feb 2021 04:24:27 +0000</resolved>
                                                    <fixVersion>4.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3629409" author="xgen-internal-githook" created="Tue, 23 Feb 2021 04:18:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Samy Lanka&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;username&apos;: &apos;lankas&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53953&quot; title=&quot;Fix invariant failure when downgrading FCV with an index build in progress&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53953&quot;&gt;&lt;del&gt;SERVER-53953&lt;/del&gt;&lt;/a&gt; Use safe reconfigs for setFCV command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d9f77934c145e2f602c3b5c72d7ce9ae6aec233a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d9f77934c145e2f602c3b5c72d7ce9ae6aec233a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3623513" author="samy.lanka" created="Thu, 18 Feb 2021 17:49:17 +0000"  >&lt;p&gt;I think the root of the problem here is that forced reconfigs will bypass &lt;a href=&quot;https://github.com/mongodb/mongo/blob/3fb8a941f4624291e3091a1ff96dde4f62b772cd/src/mongo/db/repl/replication_coordinator_impl.cpp#L3516-L3519&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;doing a noop write&lt;/a&gt; while also &lt;a href=&quot;https://github.com/mongodb/mongo/blob/3fb8a941f4624291e3091a1ff96dde4f62b772cd/src/mongo/db/repl/replication_coordinator_impl.cpp#L3625-L3627&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;clearing the committed snapshot&lt;/a&gt; (as detailed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54389&quot; title=&quot;Audit internal uses of force reconfig and consider using safe reconfig&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54389&quot;&gt;&lt;del&gt;SERVER-54389&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;For this specific case, using a safe reconfig instead should solve the problem since that will mean there will be a committed snapshot to read from. However, there is still the issue of force reconfigs triggering an invariant for index builds. I think that should be addressed in a separate ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1529965">SERVER-52349</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1629863">SERVER-54703</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1629872">SERVER-54705</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1447672">SERVER-50423</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1616163">SERVER-54389</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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_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>Thu, 18 Feb 2021 17:49:17 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 50 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>ali.mir@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyqohz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hycd4f:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4622">Repl 2021-02-08</customfieldvalue>
    <customfieldvalue id="4655">Repl 2021-02-22</customfieldvalue>
    <customfieldvalue id="4756">Repl 2021-03-08</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|hyqar3:</customfieldvalue>

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