<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:56: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-21096] 3.2 pv0 logs an n-op on promotion to primary which can cause problems with 3.0 nodes</title>
                <link>https://jira.mongodb.org/browse/SERVER-21096</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In order to support readConcern, 3.2 nodes log an n-op to the oplog, effectively creating a floor for what they will consider committed. 3.0 nodes ignore n-ops while processing the oplog. This can cause a problem wherein no node believes themselves to be electable:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;3.2 low priority node is elected and logs an n-op&lt;/li&gt;
	&lt;li&gt;that node steps down from primary due to a heartbeat from a higher priority node&lt;/li&gt;
	&lt;li&gt;that higher priority node (3.0) will not run because it is not the freshest&lt;/li&gt;
	&lt;li&gt;the 3.2 node will not run because it is not highest priority&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Log containing example for mixed_storage_version_replication.js: &lt;a href=&quot;https://logkeeper.mongodb.org/build/56295972be07c42d836c7ac3/test/5629599abe07c42d836c7ec7?raw=1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/build/56295972be07c42d836c7ac3/test/5629599abe07c42d836c7ec7?raw=1&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="235879">SERVER-21096</key>
            <summary>3.2 pv0 logs an n-op on promotion to primary which can cause problems with 3.0 nodes</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="9">Done</resolution>
                                        <assignee username="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="matt.dannenberg">Matt Dannenberg</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Oct 2015 14:15:37 +0000</created>
                <updated>Wed, 25 Nov 2015 00:26:59 +0000</updated>
                            <resolved>Fri, 20 Nov 2015 13:08:15 +0000</resolved>
                                    <version>3.2.0-rc0</version>
                                    <fixVersion>3.2.0-rc4</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1094136" author="xgen-internal-githook" created="Fri, 20 Nov 2015 13:06:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21096&quot; title=&quot;3.2 pv0 logs an n-op on promotion to primary which can cause problems with 3.0 nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21096&quot;&gt;&lt;del&gt;SERVER-21096&lt;/del&gt;&lt;/a&gt;: only record election win in PV1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bfbe3dd12eb0aca46db1eacd2c4424f388b1b528&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bfbe3dd12eb0aca46db1eacd2c4424f388b1b528&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1093145" author="scotthernandez" created="Thu, 19 Nov 2015 16:36:12 +0000"  >&lt;p&gt;Yes, we are going to not record the oplog n-op when becoming primary under PV0. This means that readConcern.majority will not work until a user-write is recorded after the election. Even once reconfig&apos;n to PV1, a writeCocnern.majority write should be done before the readConcern.majority.&lt;/p&gt;

&lt;p&gt;No changes to 3.0 are needed for this solution.&lt;/p&gt;</comment>
                            <comment id="1076646" author="milkie" created="Mon, 2 Nov 2015 13:49:30 +0000"  >&lt;p&gt;Question, if we made logging an &apos;n&apos; op for elections only occur for pv1, would that also fix this issue?&lt;/p&gt;</comment>
                            <comment id="1076029" author="scotthernandez" created="Sat, 31 Oct 2015 14:37:21 +0000"  >&lt;p&gt;I added code to update the optime at the end of each batch and everything tests fine; The patch is minor.&lt;/p&gt;</comment>
                            <comment id="1068971" author="milkie" created="Fri, 23 Oct 2015 14:56:58 +0000"  >&lt;p&gt;Let&apos;s investigate making &apos;n&apos; ops update the optime in 3.0, to see if that solves this problem without introducing other issues.&lt;/p&gt;</comment>
                            <comment id="1068938" author="scotthernandez" created="Fri, 23 Oct 2015 14:30:17 +0000"  >&lt;p&gt;When restarting the 3.0 node it will load its last optime from the oplog, even if op=&quot;n&quot;. This is a 3.0 bug we need to fix, in that all oplog entries need to cause the system to update its optime since those entries are still part of the persisted oplog.&lt;/p&gt;</comment>
                    </comments>
                    <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>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>Fri, 23 Oct 2015 14:30:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 12 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 12 weeks, 5 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>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>matt.dannenberg</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkqvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdwgn:</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="720">Repl B (10/30/15)</customfieldvalue>
    <customfieldvalue id="721">Repl C (11/20/15)</customfieldvalue>
    <customfieldvalue id="754">Repl D (12/11/15)</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsfj27:</customfieldvalue>

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