<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:30:53 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-53424] WiredTiger has failed to open its metadata</title>
                <link>https://jira.mongodb.org/browse/SERVER-53424</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello!,&#160;&lt;/p&gt;

&lt;p&gt;Im new, sorry if i don&apos;t understand and my english skills...&#160;&lt;/p&gt;

&lt;p&gt;In short: due a crash/error in GCP, my mongo pod was restarted, this caused that when starting the mongo the following error appeared:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/292189/292189_image-2020-12-17-12-21-13-550.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;I don&apos;t know why it gives a version problem. maybe mongo version got updated on GCP reboot.&lt;/p&gt;

&lt;p&gt;So, I downloaded the /data/bin folder with the mongo data and installed Mongo Server 4.0 trying to retrieve my information. When I try to start the mongo I get the following error:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/292187/292187_image-2020-12-17-12-28-15-257.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;When I run the&#160; &quot;&lt;cite&gt;mongod --dbpath /data/db --repair&quot;&lt;/cite&gt;&#160;command it shows the following:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/292186/292186_image-2020-12-17-12-32-47-899.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;If anyone can help me I appreciate it, thank you.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1571361">SERVER-53424</key>
            <summary>WiredTiger has failed to open its metadata</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="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="camilobarreto2201@gmail.com">Camilo Barreto</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Dec 2020 17:33:53 +0000</created>
                <updated>Thu, 7 Jan 2021 21:58:57 +0000</updated>
                            <resolved>Thu, 7 Jan 2021 21:58:57 +0000</resolved>
                                    <version>4.0.21</version>
                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3553793" author="eric.sedor" created="Thu, 7 Jan 2021 21:58:36 +0000"  >&lt;p&gt;Thanks for following up &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=camilobarreto2201%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;camilobarreto2201@gmail.com&quot;&gt;camilobarreto2201@gmail.com&lt;/a&gt;, and glad to hear; be well!&lt;/p&gt;</comment>
                            <comment id="3553753" author="JIRAUSER1258025" created="Thu, 7 Jan 2021 21:36:52 +0000"  >&lt;p&gt;Thanks for the answer, I already solved my problem running the following command in GCP:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;kubectl get image statefulset/mongo mongo=mongo:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;4.2&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;then i restarted the pod and it started successfully...&lt;/p&gt;


&lt;p&gt;I appreciate the answer, I hope this can help more people. Thanks!&lt;/p&gt;</comment>
                            <comment id="3549484" author="eric.sedor" created="Tue, 5 Jan 2021 19:46:36 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=camilobarreto2201%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;camilobarreto2201@gmail.com&quot;&gt;camilobarreto2201@gmail.com&lt;/a&gt;, and thanks for your patience with the delay. I think your suspicion about a mongo update on reboot seems reasonable.&lt;/p&gt;

&lt;p&gt;So it sounds like the timeline of the issue is this:&lt;/p&gt;

&lt;p&gt;1) Server is running 4.0.21 until a restart. Presumably this is an unclean shutdown.&lt;br/&gt;
2) Server fails to starts on 4.4 due to an invalid featureCompatibilityVersion document&lt;br/&gt;
3) On copy of the dbpath, mongo version 4.0 fails to start due to a &quot;non-specific WiredTiger error&quot;&lt;br/&gt;
4) MongoDB version 4.0 also fails to &lt;tt&gt;--repair&lt;/tt&gt; claiming &quot;metadata corruption detected&quot;&lt;/p&gt;

&lt;p&gt;Is that right?&lt;/p&gt;

&lt;p&gt;If so, then as a first step, please make sure you are preserving a copy of the dbpath from after the failed 4.4 startup attempt (step 2). Work off of a copy.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;On a copy of the dbpath, can you try --repair with MongoDB 4.4?&lt;/li&gt;
	&lt;li&gt;If that works, you should be able to downgrade back to 4.2 after a clean shutdown. But you must follow downgrade instructions from 4.4 to get back to 4.0, or you must remain on 4.4.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If this does not work, can you please provide the following logs in file form:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;full logs from the failed 4.4 startup&lt;/li&gt;
	&lt;li&gt;full logs from the failed 4.0 startup&lt;/li&gt;
	&lt;li&gt;full logs from the failed 4.0 --repair&lt;/li&gt;
	&lt;li&gt;full logs from a failed 4.4 --repair&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Unfortunately, the screenshots are not as helpful as the log files themselves would be.&lt;/p&gt;

&lt;p&gt;I&apos;ve created a secure &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/c29df8b0-9efc-4169-9862-0b0c34cbf908.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;upload portal&lt;/a&gt; for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                            <attachment id="292190" name="image-2020-12-17-11-34-16-045.png" size="432510" author="camilobarreto2201@gmail.com" created="Thu, 17 Dec 2020 16:34:16 +0000"/>
                            <attachment id="292189" name="image-2020-12-17-12-21-13-550.png" size="388847" author="camilobarreto2201@gmail.com" created="Thu, 17 Dec 2020 17:21:14 +0000"/>
                            <attachment id="292188" name="image-2020-12-17-12-27-29-209.png" size="312026" author="camilobarreto2201@gmail.com" created="Thu, 17 Dec 2020 17:27:30 +0000"/>
                            <attachment id="292187" name="image-2020-12-17-12-28-15-257.png" size="107592" author="camilobarreto2201@gmail.com" created="Thu, 17 Dec 2020 17:28:15 +0000"/>
                            <attachment id="292186" name="image-2020-12-17-12-32-47-899.png" size="178822" author="camilobarreto2201@gmail.com" created="Thu, 17 Dec 2020 17:32:48 +0000"/>
                    </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>Fri, 18 Dec 2020 23:42:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 4 weeks, 6 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>eric.sedor@mongodb.com</customfieldvalue>

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

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

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