<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:13:09 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-47053] Relax oplog application constraints in EMRC=false variants</title>
                <link>https://jira.mongodb.org/browse/SERVER-47053</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When using rollbackViaRefetch, we need to relax oplog application constraints when applying oplog entries during RECOVERING before we have reached minValid. Since we do not currently set our application mode to kRecovering correctly during this period, we should relax constraints by setting &lt;tt&gt;oplogApplicationEnforcesSteadyStateConstraints=false&lt;/tt&gt; in the EMRC=false &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c02679b143b4635ca0ed5fd542520c3e594fe204/etc/evergreen.yml#L10118&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;variants&lt;/a&gt; to avoid constraint violations that cause node crashes.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1286677">SERVER-47053</key>
            <summary>Relax oplog application constraints in EMRC=false variants</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="william.schultz@mongodb.com">William Schultz</assignee>
                                    <reporter username="william.schultz@mongodb.com">William Schultz</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Mar 2020 17:19:51 +0000</created>
                <updated>Sun, 29 Oct 2023 22:10:26 +0000</updated>
                            <resolved>Tue, 24 Mar 2020 18:02:14 +0000</resolved>
                                    <version>4.5.1</version>
                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3195027" author="daniel.gottlieb@10gen.com" created="Mon, 8 Jun 2020 15:30:20 +0000"  >&lt;p&gt;Ah understood. I hadn&apos;t realized that the constraint checking was just for testing. No need to pre-emptively catch all the things!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The thought was that EMRC=false would likely be removed by 4.6, and we may not start enforcing constraints by default until 4.8 (or later)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;4.8 would probably need to be aware that it can be starting on 4.6 data files. &lt;/p&gt;</comment>
                            <comment id="3194927" author="william.schultz" created="Mon, 8 Jun 2020 14:45:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.gottlieb&quot; class=&quot;user-hover&quot; rel=&quot;daniel.gottlieb&quot;&gt;daniel.gottlieb&lt;/a&gt; That sounds like a plausible and problematic scenario. However, it should be noted that currently (e.g. in 4.4), we &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ab9233d37298a13752ebed493c2c2f973b087adf/src/mongo/db/repl/repl_server_parameters.idl#L281-L288&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;relax constraints by default&lt;/a&gt; in production, so any issues with constraint enforcement should not be &quot;real&quot; issues yet. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21700&quot; title=&quot;Do not relax constraints during steady state replication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21700&quot;&gt;&lt;del&gt;SERVER-21700&lt;/del&gt;&lt;/a&gt; we explicitly decided to enforce constraints only in our testing infrastructure to see what bugs it might surface. &lt;/p&gt;

&lt;p&gt;In relation to potential constraint enforcement issues with EMRC=false, our thinking was that it may be a moot point, if we start enforcing constraints in production after we have removed EMRC=false entirely. The thought was that EMRC=false would likely be removed by 4.6, and we may not start enforcing constraints by default until 4.8 (or later), so we wouldn&apos;t have to worry about the interaction of EMRC=false and constraint enforcement in production. Does that make sense? I do think the scenario you described could be a real bug, but I don&apos;t feel as compelled to test it (or fix it) if EMRC=false will be going away for good in 4.6. If that bug turned up in a real BF, then that&apos;s different, and we would probably need to determine some way to address it, at least to avoid more BFs in this development cycle.&lt;/p&gt;</comment>
                            <comment id="3194759" author="daniel.gottlieb@10gen.com" created="Mon, 8 Jun 2020 13:57:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt; I&apos;ve seen a few similar tickets filed. Can you tell me if the following case can happen and/or is handled?&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Running with eMRC=false, do a rollback via refetch&lt;/li&gt;
	&lt;li&gt;After rolling back ops, we at some point take an unstable checkpoint&lt;/li&gt;
	&lt;li&gt;Before durably applying operations up through &lt;tt&gt;minValid&lt;/tt&gt;, restart the node with eMRC=on&lt;/li&gt;
	&lt;li&gt;Oplog application needs to be relaxed until the node applies up to the previous &lt;tt&gt;minValid&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3002662" author="xgen-internal-githook" created="Thu, 26 Mar 2020 16:49:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;username&apos;: &apos;will62794&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47053&quot; title=&quot;Relax oplog application constraints in EMRC=false variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47053&quot;&gt;&lt;del&gt;SERVER-47053&lt;/del&gt;&lt;/a&gt; Check for undefined setParameters options in servers.js&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/255521e38defd59ad8ffaffbc68ed63238ada62d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/255521e38defd59ad8ffaffbc68ed63238ada62d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2994636" author="xgen-internal-githook" created="Tue, 24 Mar 2020 17:40:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;William Schultz&apos;, &apos;username&apos;: &apos;will62794&apos;, &apos;email&apos;: &apos;william.schultz@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47053&quot; title=&quot;Relax oplog application constraints in EMRC=false variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47053&quot;&gt;&lt;del&gt;SERVER-47053&lt;/del&gt;&lt;/a&gt; Don&apos;t enforce oplog application constraints on EMRC=false variant&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6923fac12fdf1a1dd1ad313033b8418d69bb29ee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6923fac12fdf1a1dd1ad313033b8418d69bb29ee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2993031" author="william.schultz" created="Mon, 23 Mar 2020 20:50:28 +0000"  >&lt;p&gt;It should be acceptable to set &lt;tt&gt;oplogApplicationEnforcesSteadyStateConstraints:false&lt;/tt&gt; on the entire majority read concern off variant, since we expect it is likely that we will remove EMRC=false entirely (PM-1769) before the enforcement of constraints is turned on by default in production. Right now we explicitly set &lt;tt&gt;oplogApplicationEnforcesSteadyStateConstraints:true&lt;/tt&gt; in our tests.&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="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1292164">SERVER-47132</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1284079">SERVER-47022</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="241486">SERVER-21700</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></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, 24 Mar 2020 17:40:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 35 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>
                            3 years, 35 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>50.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>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxamg7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwycfz:</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="3768">Repl 2020-04-06</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|hxa8pj:</customfieldvalue>

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