<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:50:14 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-19225] Wiredtiger corrupt after shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-19225</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m ran into the same issue as this: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18448&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-18448&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and I&apos;m wondering if there is now a known method to recover the data or the database now that this is fixed in newer versions.  I&apos;ve tried using &quot;mongod --repair --storageEngine wiredTiger&quot; with no success.  The output is saved to attached file repair.log.&lt;/p&gt;

&lt;p&gt;I&apos;ve also attached the same files as issue 18448.  Thanks for your help!&lt;/p&gt;




</description>
                <environment></environment>
        <key id="213900">SERVER-19225</key>
            <summary>Wiredtiger corrupt after shutdown</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="3">Duplicate</resolution>
                                        <assignee username="ramon.fernandez@mongodb.com">Ramon Fernandez Marina</assignee>
                                    <reporter username="dt665m">Denis Tsai</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Jun 2015 23:04:54 +0000</created>
                <updated>Fri, 3 Jul 2015 20:28:43 +0000</updated>
                            <resolved>Tue, 30 Jun 2015 22:24:53 +0000</resolved>
                                    <version>3.0.2</version>
                                                    <component>WiredTiger</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="955164" author="ramon.fernandez" created="Tue, 30 Jun 2015 22:24:37 +0000"  >&lt;p&gt;Thanks for getting back to us &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dt665m&quot; class=&quot;user-hover&quot; rel=&quot;dt665m&quot;&gt;dt665m&lt;/a&gt;, glad to hear that the new files work. I would advise you to run &lt;del&gt;repair&lt;/del&gt; validate to make sure there are no other issues.&lt;/p&gt;

&lt;p&gt;If there were lock files owned by root, attempting to start &lt;tt&gt;mongod&lt;/tt&gt; as a different user should just fail, not cause any problems. The cause of the type of corruption you observed is an unclean shutdown (of either &lt;tt&gt;mongod&lt;/tt&gt; or your system) exposing a bug in WiredTiger (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18316&quot; title=&quot;Database with WT engine fails to recover after system crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18316&quot;&gt;&lt;del&gt;SERVER-18316&lt;/del&gt;&lt;/a&gt; for more details), and I&apos;d recommend you upgrade to 3.0.4 as soon as possible.&lt;/p&gt;

&lt;p&gt;I&apos;m going to close this ticket as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18316&quot; title=&quot;Database with WT engine fails to recover after system crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18316&quot;&gt;&lt;del&gt;SERVER-18316&lt;/del&gt;&lt;/a&gt;, please feel free to open a new ticket if you find a bug in MongoDB.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="955055" author="dt665m" created="Tue, 30 Jun 2015 20:58:22 +0000"  >&lt;p&gt;Hi Ramon!&lt;/p&gt;

&lt;p&gt;Thanks a lot for taking the time to fix this.  After moving the new files over and setting the relevant owner back to mongodb, everything seems to be back to normal.  Thankfully this is a test server and not on our production server.  Can you give me some hints on how to prevent this from happening?  We do some weird stuff on the test server (for example I noticed that a few of the .lock files and the .sock files were owned by root), which means someone tried to run the mongod service as root instead of using the startup script.  Could this have anything to do with it?&lt;/p&gt;


&lt;p&gt;Again thank you so much, the recovered data is still valuable to us.  &lt;/p&gt;</comment>
                            <comment id="954897" author="ramon.fernandez" created="Tue, 30 Jun 2015 18:57:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dt665m&quot; class=&quot;user-hover&quot; rel=&quot;dt665m&quot;&gt;dt665m&lt;/a&gt;, I&apos;m uploading the &lt;tt&gt;WiredTiger.wt&lt;/tt&gt; and &lt;tt&gt;WiredTiger.turtle&lt;/tt&gt; files after a repair attempt with a &lt;tt&gt;.new&lt;/tt&gt; suffix. Can you please put them in your &lt;tt&gt;dbpath&lt;/tt&gt; (without the &lt;tt&gt;.new&lt;/tt&gt; suffix) and try to start &lt;tt&gt;mongod&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;Please let us know how this goes.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="954755" author="ramon.fernandez" created="Tue, 30 Jun 2015 17:31:32 +0000"  >&lt;p&gt;Sorry you run into this bug &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dt665m&quot; class=&quot;user-hover&quot; rel=&quot;dt665m&quot;&gt;dt665m&lt;/a&gt;, and thanks for opening a ticket and uploading the files. We&apos;ll take a look and see what the damage was after the unclean shutdown and whether it can be repaired. Stay tuned for updates.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="201926">SERVER-18316</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="79918" name="WiredTiger" size="46" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="79919" name="WiredTiger.basecfg" size="495" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="79920" name="WiredTiger.lock" size="21" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="79921" name="WiredTiger.turtle" size="892" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="80068" name="WiredTiger.turtle.new" size="879" author="ramon.fernandez@mongodb.com" created="Tue, 30 Jun 2015 18:57:46 +0000"/>
                            <attachment id="79922" name="WiredTiger.wt" size="77824" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="80069" name="WiredTiger.wt.new" size="77824" author="ramon.fernandez@mongodb.com" created="Tue, 30 Jun 2015 18:57:46 +0000"/>
                            <attachment id="79916" name="_mdb_catalog.wt" size="36864" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="79915" name="repair.log" size="5086" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                            <attachment id="79917" name="sizeStorer.wt" size="45056" author="dt665m" created="Mon, 29 Jun 2015 23:04:54 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 30 Jun 2015 17:31:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 33 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_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, 33 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>dt665m</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl1qf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsas67:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;improper shutdown while mongod is active&lt;/p&gt;</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrv1cn:</customfieldvalue>

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