<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:22: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-50423] Change memberConfig&apos;s slaveDelay field to secondaryDelaySecs in FCV 4.7</title>
                <link>https://jira.mongodb.org/browse/SERVER-50423</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="1447672">SERVER-50423</key>
            <summary>Change memberConfig&apos;s slaveDelay field to secondaryDelaySecs in FCV 4.7</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="ali.mir@mongodb.com">Ali Mir</assignee>
                                    <reporter username="pavithra.vetriselvan@mongodb.com">Pavithra Vetriselvan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Aug 2020 16:22:31 +0000</created>
                <updated>Sun, 29 Oct 2023 22:04:13 +0000</updated>
                            <resolved>Fri, 29 Jan 2021 18:44:27 +0000</resolved>
                                                    <fixVersion>4.9.0</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3590167" author="xgen-internal-githook" created="Fri, 29 Jan 2021 18:32:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &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; Rename jstests with slave references&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e0755098879d67a8a32cf4519d4f8f57929a0046&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e0755098879d67a8a32cf4519d4f8f57929a0046&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3586593" author="xgen-internal-githook" created="Thu, 28 Jan 2021 05:05:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &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; Add featureFlagUseSecondaryDelaySecs to disabled feature flags variants (#804)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/dsi/commit/969990ec4ced08c675990052c0524eedd87bdc7d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/dsi/commit/969990ec4ced08c675990052c0524eedd87bdc7d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3586578" author="xgen-internal-githook" created="Thu, 28 Jan 2021 04:27:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &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; Change memberConfig&apos;s slaveDelay field to secondaryDelaySecs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/35a6a97338930d75a7f5cfd89671ae9af65aaf85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/35a6a97338930d75a7f5cfd89671ae9af65aaf85&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3586577" author="xgen-internal-githook" created="Thu, 28 Jan 2021 04:27:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &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; Change memberConfig&apos;s slaveDelay field to secondaryDelaySecs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/648edcd0be0b06c60de8a35f4d475a65bfa0896a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/648edcd0be0b06c60de8a35f4d475a65bfa0896a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3576219" author="ali.mir" created="Thu, 21 Jan 2021 18:07:23 +0000"  >&lt;p&gt;While debugging a test failure for this patch, we uncovered a bug in the setFCV code path. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.chan&quot; class=&quot;user-hover&quot; rel=&quot;jason.chan&quot;&gt;jason.chan&lt;/a&gt;&#160;documented it in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53894&quot; title=&quot;setFCV transitions to fully upgraded/downgraded too early on command retry &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53894&quot;&gt;&lt;del&gt;SERVER-53894&lt;/del&gt;&lt;/a&gt;. We found that in certain cases, the local FCV document can be updated to the fully upgraded version before all the upgrade/downgrade behavior is complete. In this patch, this behavior is the reconfig issued to use the secondaryDelaySecs or slaveDelay field. We noticed that the bug caused the test &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ba63352/jstests/multiVersion/genericSetFCVUsage/set_feature_compatibility_version.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;set_feature_compatibility_version.js&lt;/a&gt;&#160;to hang. When we put together a quick fix for the issue, the test was passing. I put up a patch with the quick fix &lt;a href=&quot;https://evergreen.mongodb.com/version/6009a1e761837d785b99ef09&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&#160;(The &lt;tt&gt;index_downgrade_fcv.js&lt;/tt&gt;&#160;failure is unrelated) and the results are mostly green. As a result, this ticket can&apos;t be committed until&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53894&quot; title=&quot;setFCV transitions to fully upgraded/downgraded too early on command retry &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-53894&quot;&gt;&lt;del&gt;SERVER-53894&lt;/del&gt;&lt;/a&gt;&#160;is fixed. I&apos;m going to continue investigating exactly why this patch uncovered this bug and write a comment accordingly, but I just wanted to update others.&lt;/p&gt;

&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pavithra.vetriselvan&quot; class=&quot;user-hover&quot; rel=&quot;pavithra.vetriselvan&quot;&gt;pavithra.vetriselvan&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3574486" author="xgen-internal-githook" created="Wed, 20 Jan 2021 20:45:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &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; Set FCV before writing initial replica set config&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/90e4270e9b22071c7d0367195c56bf2c5b50e56f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/90e4270e9b22071c7d0367195c56bf2c5b50e56f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3423897" author="steven.vannelli" created="Fri, 2 Oct 2020 21:44:35 +0000"  >&lt;p&gt;Removing this from the current sprint since it is dependent on CLOUDP-70821.&lt;/p&gt;</comment>
                            <comment id="3375514" author="tess.avitabile" created="Thu, 3 Sep 2020 20:01:23 +0000"  >&lt;p&gt;Please make sure that if this goes in over multiple commits, that it is flag-guarded in case there&apos;s a continuous release in the interim. You should also be sure to use the current FCV values. After the 4.7 release on 9/8, we&apos;ll make FCV 4.8 constants available for use, and you should use those. If this ticket gets pushed after the 4.8 release around 9/21, you should use FCV 4.9.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1485208">SERVER-51110</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1529965">SERVER-52349</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1605706">DOCS-14169</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1594299">SERVER-53894</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1596902">SERVER-53953</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1616163">SERVER-54389</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.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, 3 Sep 2020 20:01:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 1 week, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-51110'>SERVER-51110</a></s>]]></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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>This patch replaces the `slaveDelay` field on members in the replica set config with the field `secondaryDelaySecs`. However, this behavior is feature flagged, and we plan to enable this new field for 5.0. Nodes in FCV &amp;lt; 5.0 will still use `slaveDelay`.&lt;br/&gt;
&lt;br/&gt;
</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1718</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>
                            3 years, 1 week, 5 days ago
                        </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>pavithra.vetriselvan@mongodb.com</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy1can:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxy47z:</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="4248">Repl 2020-09-21</customfieldvalue>
    <customfieldvalue id="4312">Repl 2020-11-02</customfieldvalue>
    <customfieldvalue id="4372">Repl 2020-11-16</customfieldvalue>
    <customfieldvalue id="4373">Repl 2020-11-30</customfieldvalue>
    <customfieldvalue id="4474">Repl 2020-12-14</customfieldvalue>
    <customfieldvalue id="4475">Repl 2020-12-28</customfieldvalue>
    <customfieldvalue id="4566">Repl 2021-01-11</customfieldvalue>
    <customfieldvalue id="4567">Repl 2021-01-25</customfieldvalue>
    <customfieldvalue id="4622">Repl 2021-02-08</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></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|hy0yjz:</customfieldvalue>

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