<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:42:05 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>[DOCS-1862] Page in manual needed on how to deal with a possibly corrupt database</title>
                <link>https://jira.mongodb.org/browse/DOCS-1862</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10017&quot; title=&quot;Remove &amp;quot;run repair&amp;quot; recommendation from error messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10017&quot;&gt;&lt;del&gt;SERVER-10017&lt;/del&gt;&lt;/a&gt; is a request to remove error messages that say to run repair, or to consider running repair. This is because running repair is usually a last resort; there are usually better ways to recover a node than running repair.&lt;/p&gt;

&lt;p&gt;Eliot has approved &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10017&quot; title=&quot;Remove &amp;quot;run repair&amp;quot; recommendation from error messages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10017&quot;&gt;&lt;del&gt;SERVER-10017&lt;/del&gt;&lt;/a&gt; with the approach of replacing the &quot;run repair&quot; recommendations in error messages with &quot;action may be required&quot;, and with a link to a page in the manual that provides guidelines on what to do in potential corruption scenarios.&lt;/p&gt;

&lt;p&gt;This DOCS ticket is for that page.&lt;/p&gt;

&lt;p&gt;The page should describe that, if in a replica set, it is preferable to sync the node from scratch, or perhaps to seed it from the data files of another node (if there is no evidence of corruption in that node). Or if not in a replica set, using a recent backup. It should also discuss running validate to help determine if there is evidence of corruption, and the performance hit of doing so. Also repair as a last resort.&lt;/p&gt;

&lt;p&gt;When complete, we need to edit the dochub link for the key &quot;repair&quot; (see &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2776&quot; title=&quot;Invalid redirect: http://dochub.mongodb.org/core/repair &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2776&quot;&gt;&lt;del&gt;DOCS-2776&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</description>
                <environment></environment>
        <key id="87832">DOCS-1862</key>
            <summary>Page in manual needed on how to deal with a possibly corrupt database</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="bgrabar">Bob Grabar</assignee>
                                    <reporter username="jantje.daniel">Ian Daniel</reporter>
                        <labels>
                            <label>sprint-rollover</label>
                    </labels>
                <created>Thu, 29 Aug 2013 05:33:04 +0000</created>
                <updated>Mon, 16 Mar 2015 23:57:26 +0000</updated>
                            <resolved>Tue, 4 Mar 2014 20:59:31 +0000</resolved>
                                                    <fixVersion>v1.3.2</fixVersion>
                    <fixVersion>mongodb-2.6</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="507350" author="samk" created="Fri, 28 Feb 2014 19:41:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs/pull/1520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/pull/1520&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="472144" author="xgen-internal-githook" created="Tue, 17 Dec 2013 21:41:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Zackrobat&apos;, u&apos;name&apos;: u&apos;Zack Brown&apos;, u&apos;email&apos;: u&apos;zack.brown@10gen.com&apos;}
&lt;p&gt;Message: Minor rewrites&lt;/p&gt;

&lt;p&gt;These need to be extracted from &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt; to avoid merge hell.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/3b73f408e64f93c099baaaa0d02ed063868e6b22&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/3b73f408e64f93c099baaaa0d02ed063868e6b22&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="471907" author="xgen-internal-githook" created="Tue, 17 Dec 2013 16:37:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Zackrobat&apos;, u&apos;name&apos;: u&apos;Zack Brown&apos;, u&apos;email&apos;: u&apos;zack.brown@10gen.com&apos;}
&lt;p&gt;Message: Minor rewrites&lt;/p&gt;

&lt;p&gt;These need to be extracted from &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt; to avoid merge hell.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/b7bd21f1712f8f4db8967ac9c15108dfe9a5da50&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/b7bd21f1712f8f4db8967ac9c15108dfe9a5da50&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466270" author="xgen-internal-githook" created="Thu, 5 Dec 2013 17:14:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt;: edits to shutdown methods&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/1ea4f550c91397c78925c65e4eac470817ee7cee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/1ea4f550c91397c78925c65e4eac470817ee7cee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466269" author="xgen-internal-githook" created="Thu, 5 Dec 2013 17:14:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt;: edits to shutdown methods&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c0b06c9ca9479cf5af518f7f1b700de280d574a1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c0b06c9ca9479cf5af518f7f1b700de280d574a1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466268" author="xgen-internal-githook" created="Thu, 5 Dec 2013 17:14:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Zackrobat&apos;, u&apos;name&apos;: u&apos;Zack Brown&apos;, u&apos;email&apos;: u&apos;zack.brown@10gen.com&apos;}
&lt;p&gt;Message: Clean up shutdown procedures.&lt;/p&gt;

&lt;p&gt;Take this out of &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt;, which has gotten a lot of cruft that will otherwise cause merge issues.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/0fc2c66445b1afbe3ffa31e9d963893aeaef0721&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/0fc2c66445b1afbe3ffa31e9d963893aeaef0721&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466267" author="xgen-internal-githook" created="Thu, 5 Dec 2013 17:14:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;Zackrobat&apos;, u&apos;name&apos;: u&apos;Zack Brown&apos;, u&apos;email&apos;: u&apos;zack.brown@10gen.com&apos;}
&lt;p&gt;Message: Clean up shutdown procedures.&lt;/p&gt;

&lt;p&gt;Take this out of &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1862&quot; title=&quot;Page in manual needed on how to deal with a possibly corrupt database&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1862&quot;&gt;&lt;del&gt;DOCS-1862&lt;/del&gt;&lt;/a&gt;, which has gotten a lot of cruft that will otherwise cause merge issues.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/90e393642986b7c6ac46076d1c66c7845eafe263&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/90e393642986b7c6ac46076d1c66c7845eafe263&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="417331" author="jantje.daniel" created="Wed, 4 Sep 2013 04:28:46 +0000"  >&lt;p&gt;Hi Sam,&lt;/p&gt;

&lt;p&gt;Sorry for my delay in responding.&lt;/p&gt;

&lt;p&gt;I agree that we should use that page rather than write another, however that page will need some changes in order for it to work.&lt;/p&gt;

&lt;p&gt;The current page focusses on recovering after an unexpected shutdown, especially if journalling is not set. It would need to be generalised (including the title) to recovering from &lt;b&gt;any&lt;/b&gt; cause of possible data corruption. If we do not change it, users referred to this page when seeing the warning message in a log file might think, &quot;But there was no unexpected shutdown of the node, and I am running journalling, so this does not refer to me.&quot;&lt;/p&gt;

&lt;p&gt;I also think that the page needs re-ordering so that we state at the start of the page what the recovery process is if you are running in a replica set. My reasoning is that it is a simpler procedure than running repair or validate, so users should not have to wade through the complicated scary procedure to find out that the replica set procedure is much simpler.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Ian&lt;/p&gt;</comment>
                            <comment id="413972" author="samk" created="Thu, 29 Aug 2013 13:55:16 +0000"  >&lt;p&gt;Is the document you describe not the following document: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/recover-data-following-unexpected-shutdown/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/recover-data-following-unexpected-shutdown/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Include the following dochub url &lt;a href=&quot;http://dochub.mongodb.org/core/data-recovery&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://dochub.mongodb.org/core/data-recovery&lt;/a&gt; in the server code...&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
sam&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="80191">SERVER-10017</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="68455">DOCS-1239</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10855" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Actual Time</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>Thu, 29 Aug 2013 13:55:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 50 weeks, 5 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 50 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bgrabar</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jantje.daniel</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrq2n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrsy0f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>82755</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrya4f:</customfieldvalue>

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