<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:59:24 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-42050] problem upgrading from 3.6.10 to 4.0.9</title>
                <link>https://jira.mongodb.org/browse/SERVER-42050</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I was trying to upgrade a mongo replica set from version 3.2.12 to 4.0.9. i managed to upgrade all the server one at a time to 3.6.10 and had problems upgrading most of them to 4.0.9 .&lt;br/&gt;
the procedure in which i upgrade to 3.6.10 was to upgrade each secondary , after which failover. Upgrade the final server and then changed compatibility level . Between each upgrade I made sure that all the replicas were working find and checked that all compatibility level was correct after each upgrade.&lt;br/&gt;
while trying to upgrade the second server in the replica i got an error message :&lt;/p&gt;

&lt;p&gt;2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is &apos;always&apos;.&lt;br/&gt;
2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** We suggest setting it to &apos;never&apos;&lt;br/&gt;
2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;br/&gt;
2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is &apos;always&apos;.&lt;br/&gt;
2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** We suggest setting it to &apos;never&apos;&lt;br/&gt;
2019-07-02T13:46:15.104+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;&lt;br/&gt;
2019-07-02T13:46:15.301+0000 F CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ** IMPORTANT: UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.6 before attempting an upgrade to 4.0; see &lt;a href=&quot;http://dochub.mongodb.org/core/4.0-upgrade-fcv&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/4.0-upgrade-fcv&lt;/a&gt; for mor&lt;br/&gt;
e details.&lt;br/&gt;
2019-07-02T13:46:15.312+0000 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
2019-07-02T13:46:15.312+0000 I NETWORK &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; removing socket file: /tmp/mongodb-27017.sock&lt;br/&gt;
2019-07-02T13:46:15.312+0000 I REPL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutting down replication subsystems&lt;br/&gt;
2019-07-02T13:46:15.312+0000 W REPL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; ReplicationCoordinatorImpl::shutdown() called before startup() finished. Shutting down without cleaning up the replication system&lt;br/&gt;
2019-07-02T13:46:15.312+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;WTOplogJournalThread&amp;#93;&lt;/span&gt; oplog journal thread loop shutting down&lt;br/&gt;
2019-07-02T13:46:15.313+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTigerKVEngine shutting down&lt;br/&gt;
2019-07-02T13:46:15.314+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Shutting down session sweeper thread&lt;br/&gt;
2019-07-02T13:46:15.314+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Finished shutting down session sweeper thread&lt;br/&gt;
2019-07-02T13:46:15.329+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Downgrading WiredTiger datafiles.&lt;br/&gt;
2019-07-02T13:46:15.473+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger message &lt;span class=&quot;error&quot;&gt;&amp;#91;1562075175:473466&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;4603:0x7fe667aadb80&amp;#93;&lt;/span&gt;, txn-recover: Main recovery loop: starting at 38514/118528 to 38515/256&lt;br/&gt;
2019-07-02T13:46:15.566+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger message &lt;span class=&quot;error&quot;&gt;&amp;#91;1562075175:566631&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;4603:0x7fe667aadb80&amp;#93;&lt;/span&gt;, txn-recover: Recovering log 38514 through 38515&lt;br/&gt;
2019-07-02T13:46:15.622+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger message &lt;span class=&quot;error&quot;&gt;&amp;#91;1562075175:622052&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;4603:0x7fe667aadb80&amp;#93;&lt;/span&gt;, txn-recover: Recovering log 38515 through 38515&lt;br/&gt;
2019-07-02T13:46:15.668+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; WiredTiger message &lt;span class=&quot;error&quot;&gt;&amp;#91;1562075175:668505&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;4603:0x7fe667aadb80&amp;#93;&lt;/span&gt;, txn-recover: Set global recovery timestamp: 0&lt;br/&gt;
2019-07-02T13:46:15.910+0000 I STORAGE &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: removing fs lock...&lt;br/&gt;
2019-07-02T13:46:15.910+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
2019-07-02T13:46:15.910+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutting down with code:62&lt;br/&gt;
2019-07-02T13:46:15.942+0000 I CONTROL &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; ***** SERVER RESTARTED *****&lt;/p&gt;

&lt;p&gt;i though that the problem was in syncing so I downgraded it to 3.6.10 and made sure that there was no replication lag but when I tried to reinstall 4.0.9 i got the same error.&#160;&lt;/p&gt;

&lt;p&gt;I tried to start the mongo with --repair but it failed twice so my only option is to run inital sync on those problematic servers, one at a time .&#160;&lt;/p&gt;

&lt;p&gt;I would for some help&#160;&lt;br/&gt;
thanks&lt;/p&gt;</description>
                <environment>centos 7.4</environment>
        <key id="832845">SERVER-42050</key>
            <summary>problem upgrading from 3.6.10 to 4.0.9</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="4">Incomplete</resolution>
                                        <assignee username="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="lioral">Lior Altarescu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Jul 2019 18:14:07 +0000</created>
                <updated>Mon, 29 Jul 2019 20:57:46 +0000</updated>
                            <resolved>Mon, 29 Jul 2019 20:57:46 +0000</resolved>
                                                                    <component>Admin</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2348915" author="daniel.hatcher" created="Mon, 29 Jul 2019 20:57:46 +0000"  >&lt;p&gt;Closing due to lack of response.&lt;/p&gt;</comment>
                            <comment id="2329361" author="eric.sedor" created="Tue, 16 Jul 2019 19:10:09 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;We still need additional information to diagnose the problem. If this is still an issue for you, would you please provide:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;exact steps taken from the start of the upgrade process until the first error&lt;/li&gt;
	&lt;li&gt;the output of commands run as part of the process&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                            <comment id="2311750" author="eric.sedor" created="Wed, 3 Jul 2019 20:35:30 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lioral&quot; class=&quot;user-hover&quot; rel=&quot;lioral&quot;&gt;lioral&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Can you please get the deployment to MongoDB 3.6 and provide the exact steps taken from the start of the upgrade process until the first error? If there is a bug in the upgrade process, we will need to reproduce it.&lt;/p&gt;

&lt;p&gt;Importantly, please provide the output of commands run as part of the process.&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;br/&gt;
Eric&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Jul 2019 20:35:30 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 28 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>daniel.hatcher@mongodb.com</customfieldvalue>
            <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>lioral</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvaa0v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huzd7b:</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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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