<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:29:30 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-52961] Fail MongoDB FCV upgrade 3.6 if local.replset.minvalid document contains not null timestamp in &apos;oplogDeleteFromPoint&apos; field.</title>
                <link>https://jira.mongodb.org/browse/SERVER-52961</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;b&gt;This ticket came from investigation on a help ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50147&quot; title=&quot;Cannot start mongo after upgrading to 4.2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50147&quot;&gt;&lt;del&gt;SERVER-50147&lt;/del&gt;&lt;/a&gt; filed by customer.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Currently, when repl is enabled, MongoDB 3.4 &lt;a href=&quot;https://github.com/mongodb/mongo/blob/68fadc9173d8565ff687b4b769700b48d35ca5d5/src/mongo/db/repl/sync_tail.cpp#L1338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;sets&lt;/a&gt; &apos;oplogDeleteFromPoint&apos; field  in minvalid document to a non-null timestamp during steady state oplog application before writing oplog entries and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/68fadc9173d8565ff687b4b769700b48d35ca5d5/src/mongo/db/repl/sync_tail.cpp#L1344&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;clears&lt;/a&gt; the timestamp after writing the oplog entries. So, on unclean shutdown 3.4 can have &apos;oplogDeleteFromPoint&apos; with non-null timestamp. &lt;/p&gt;

&lt;p&gt;In that unclean shutdown case, if the user restarts the node as standalone before upgrading to mongoDB binary version 3.6, then we can hit the problem mentioned in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50147&quot; title=&quot;Cannot start mongo after upgrading to 4.2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50147&quot;&gt;&lt;del&gt;SERVER-50147&lt;/del&gt;&lt;/a&gt;. (see &lt;a href=&quot;https://jira.mongodb.org/secure/EditComment!default.jspa?id=1433774&amp;amp;commentId=3345767&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for related nexus of prior work)&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;br/&gt;
The current work-around solution is to manually unset the &apos;oplogDeleteFromPoint&apos; field in minvalid document which is an unsafe solution. &apos;oplogDeleteFromPoint&apos; with non-null timestamp indicates that there was a  shutdown happened in the middle of writing an oplog batch and this info is necessary for startup recovery until &lt;a href=&quot;https://github.com/mongodb/mongo/blob/530c50d569e72170007ba0061a43758c873bab3b/src/mongo/db/repl/replication_consistency_markers_impl.cpp#L280-L284&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB 3.6 binary FCV 3.4&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Discussed some solutions of unsetting the field in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50147&quot; title=&quot;Cannot start mongo after upgrading to 4.2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50147&quot;&gt;&lt;del&gt;SERVER-50147&lt;/del&gt;&lt;/a&gt;, but it&apos;s really not safe to unset the field manually in any-version. Safer option would be to fail MongoDB FCV upgrade 3.6 if local.replset.minvalid document contains not null timestamp in &apos;oplogDeleteFromPoint&apos; field (makes user to do startup-recovery in 3.4 binary or 3.6 binary with FCV 3.4). Also, need to unset the &apos;oplogDeleteFromPoint&apos; field with null timestamp on FCV 3.6 upgrade irrespective of whether the node is standalone or repl-enabled.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1547867">SERVER-52961</key>
            <summary>Fail MongoDB FCV upgrade 3.6 if local.replset.minvalid document contains not null timestamp in &apos;oplogDeleteFromPoint&apos; field.</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="evin.roesle@mongodb.com">Evin Roesle</assignee>
                                    <reporter username="suganthi.mani@mongodb.com">Suganthi Mani</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Nov 2020 12:39:17 +0000</created>
                <updated>Mon, 27 Sep 2021 17:25:29 +0000</updated>
                            <resolved>Wed, 2 Dec 2020 00:01:13 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3511636" author="evin.roesle" created="Wed, 2 Dec 2020 00:01:13 +0000"  >&lt;p&gt;We are closing this issue as we do not believe that the risk on 3.6 is worth taking as this does not appear to be common and there is a workaround available for this issue. &lt;/p&gt;

&lt;p&gt;To work around this issue you can delete the data files on the node that is failing the upgrade so that an initial sync is triggered. This will safely fix the issue.&lt;/p&gt;

&lt;p&gt;If you encounter this issue and the workaround is not suitable, please reopen this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1433774">SERVER-50147</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000yTqXVQA0]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 20 Nov 2020 14:46:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 10 weeks, 1 day 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_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 10 weeks, 1 day 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>evin.roesle@mongodb.com</customfieldvalue>
            <customfieldvalue>suganthi.mani@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyicrj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy4cvj:</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_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|hyhz0v:</customfieldvalue>

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