<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:49:31 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-38634] WiredTiger.wt: encountered an illegal file format or internal value</title>
                <link>https://jira.mongodb.org/browse/SERVER-38634</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi, after a sudden shutdown of the VM, I am encountering errors to start Mongodb.&lt;/p&gt;

&lt;p&gt;The log is attached (mongodb_log)&lt;/p&gt;

&lt;p&gt;It seems that WiredTiger files are corrupted.&lt;/p&gt;

&lt;p&gt;I tried to do a mongod --repair but I have a similar error. The log is attached (mongodb_repair_log)&lt;/p&gt;</description>
                <environment></environment>
        <key id="654432">SERVER-38634</key>
            <summary>WiredTiger.wt: encountered an illegal file format or internal value</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="daniel.hatcher@mongodb.com">Danny Hatcher</assignee>
                                    <reporter username="marcomat">Marco</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2018 11:36:50 +0000</created>
                <updated>Wed, 19 Dec 2018 16:42:19 +0000</updated>
                            <resolved>Wed, 19 Dec 2018 16:42:19 +0000</resolved>
                                    <version>3.6.5</version>
                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="2095474" author="marcomat" created="Wed, 19 Dec 2018 08:49:54 +0000"  >&lt;p&gt;Thanks for your support.&lt;/p&gt;

&lt;p&gt;Marco&#160;&lt;/p&gt;</comment>
                            <comment id="2094476" author="daniel.hatcher" created="Tue, 18 Dec 2018 16:09:04 +0000"  >&lt;p&gt;Hello Marco,&lt;/p&gt;

&lt;p&gt;Unfortunately, that error indicates that the data files are unrecoverable. There is nothing else that we can do.&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2094299" author="marcomat" created="Tue, 18 Dec 2018 14:20:42 +0000"  >&lt;p&gt;Thank you Daniel,&lt;/p&gt;

&lt;p&gt;I tried with your files, but now I have another error.&lt;/p&gt;

&lt;p&gt;You can read the log:&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/203941/203941_mongodb_startup_error_2&quot; title=&quot;mongodb_startup_error_2 attached to SERVER-38634&quot;&gt;mongodb_startup_error_2&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="2092469" author="daniel.hatcher" created="Mon, 17 Dec 2018 15:06:57 +0000"  >&lt;p&gt;Hello Marco,&lt;/p&gt;

&lt;p&gt;I&apos;ve attempted a manual repair of the data files. Please extract the files in  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/203783/203783_repair_attempt.tar&quot; title=&quot;repair_attempt.tar attached to SERVER-38634&quot;&gt;repair_attempt.tar&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; and replace the existing equivalents in your &lt;tt&gt;$dpath&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Please note that we &lt;b&gt;strongly&lt;/b&gt; recommend replica sets for any data that is important to you in order to avoid these scenarios.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2091761" author="marcomat" created="Sat, 15 Dec 2018 14:28:25 +0000"  >&lt;p&gt;Unfortunately I don&apos;t have a replica set node.&lt;/p&gt;

&lt;p&gt;There is no way to repair the WiredTiger files?&lt;/p&gt;

&lt;p&gt;Thank you in advance&lt;/p&gt;</comment>
                            <comment id="2091266" author="daniel.hatcher" created="Fri, 14 Dec 2018 18:56:26 +0000"  >&lt;p&gt;Hello Marco,&lt;/p&gt;

&lt;p&gt;To resolve this issue, I would recommend a clean &lt;a href=&quot;https://docs.mongodb.org/manual/tutorial/resync-replica-set-member/#automatically-sync-a-member&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;resync&lt;/a&gt; from a replica set node that is not affected. Would you be able to do so?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                            <comment id="2091061" author="marcomat" created="Fri, 14 Dec 2018 16:29:51 +0000"  >&lt;p&gt;I&apos;m using the following docker approach to try repair:&#160;&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;docker run -it -v mongodb/dbdata:/data/db 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&lt;/span&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; mongod --dbpath /data/db/ --repair&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;I tried with versions 4.0.4 and 4.1.6 of MongoDB.&#160;&lt;/p&gt;

&lt;p&gt;You can find both logs attached:&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/203679/203679_mongodb_repair_4.0.4&quot; title=&quot;mongodb_repair_4.0.4 attached to SERVER-38634&quot;&gt;mongodb_repair_4.0.4&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/203680/203680_mongodb_repair_4.1.6&quot; title=&quot;mongodb_repair_4.1.6 attached to SERVER-38634&quot;&gt;mongodb_repair_4.1.6&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="2091027" author="daniel.hatcher" created="Fri, 14 Dec 2018 16:03:16 +0000"  >&lt;p&gt;Hello Marco,&lt;/p&gt;

&lt;p&gt;Could you please try running a &lt;tt&gt;mongod &amp;#45;&amp;#45;repair&lt;/tt&gt; with a 4.0 &lt;tt&gt;mongod&lt;/tt&gt; binary? We made several large improvements to the &lt;tt&gt;--repair&lt;/tt&gt; functionality in that version and I&apos;d like to see the output of that run before proceeding.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;/p&gt;

&lt;p&gt;Danny&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="203651" name="WiredTiger.tar.gz" size="122880" author="marcomat" created="Fri, 14 Dec 2018 11:34:18 +0000"/>
                            <attachment id="203650" name="mongodb_log" size="113216" author="marcomat" created="Fri, 14 Dec 2018 11:35:57 +0000"/>
                            <attachment id="203679" name="mongodb_repair_4.0.4" size="12794" author="marcomat" created="Fri, 14 Dec 2018 16:29:19 +0000"/>
                            <attachment id="203680" name="mongodb_repair_4.1.6" size="648957" author="marcomat" created="Fri, 14 Dec 2018 16:29:20 +0000"/>
                            <attachment id="203649" name="mongodb_repair_log" size="113496" author="marcomat" created="Fri, 14 Dec 2018 11:36:45 +0000"/>
                            <attachment id="203941" name="mongodb_startup_error_2" size="3461" author="marcomat" created="Tue, 18 Dec 2018 14:20:33 +0000"/>
                            <attachment id="203783" name="repair_attempt.tar" size="4509" author="daniel.hatcher@mongodb.com" created="Mon, 17 Dec 2018 15:05:18 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 14 Dec 2018 16:03:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 8 weeks 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>
                            5 years, 8 weeks 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>marcomat</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hugd8n:</customfieldvalue>

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

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