<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:56:40 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-41046] Cannot repair mongodb</title>
                <link>https://jira.mongodb.org/browse/SERVER-41046</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It seems that the db is corrupted (core dump).&#160; I used &quot;--repair&quot; command, but failed.&#160; The detailed error message is attached.&#160; Please help!&lt;/p&gt;</description>
                <environment></environment>
        <key id="760381">SERVER-41046</key>
            <summary>Cannot repair mongodb</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="cchang">Charlie Chang</reporter>
                        <labels>
                            <label>wt-repair-success</label>
                    </labels>
                <created>Wed, 8 May 2019 04:18:29 +0000</created>
                <updated>Tue, 14 May 2019 18:41:13 +0000</updated>
                            <resolved>Fri, 10 May 2019 14:19:29 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2241368" author="daniel.hatcher" created="Fri, 10 May 2019 14:19:22 +0000"  >&lt;p&gt;Glad to hear it!&lt;/p&gt;</comment>
                            <comment id="2240904" author="cchang" created="Fri, 10 May 2019 03:16:40 +0000"  >&lt;p&gt;The trick seems to be working.&#160; Thanks Daniel!&lt;/p&gt;</comment>
                            <comment id="2239974" author="daniel.hatcher" created="Thu, 9 May 2019 15:07:21 +0000"  >&lt;p&gt;If the repair works on 4.0.9 then you will be able to restart the node as 3.6.0 again. If the repair does not work for whatever reason, unfortunately there is nothing else we can do.&lt;/p&gt;</comment>
                            <comment id="2239963" author="cchang" created="Thu, 9 May 2019 15:02:38 +0000"  >&lt;p&gt;I see.&#160; Thanks Daniel.&lt;/p&gt;

&lt;p&gt;We are not using cluster for this mongodb.&#160; It&apos;s standalone at this point.&#160; It appears that I have to do some homework before migrating to 4.0.9. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;For now, I just wanted to confirm that I can restart this db using 3.6.0 IF it can be repaired by 4.0.9, right?&#160; Are there any potential issues with this approach?&lt;/p&gt;</comment>
                            <comment id="2239830" author="daniel.hatcher" created="Thu, 9 May 2019 14:02:36 +0000"  >&lt;p&gt;Our general recommendation would be to go to 4.0.9 for your cluster. &lt;b&gt;However&lt;/b&gt;,  there are parts of your application or database schema that may not be compatible with the newest version of MongoDB. We have a comprehensive list of compatibility changes between MongoDB 3.6 and 4.0 in our &lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/4.0-compatibility/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documentation&lt;/a&gt; that you would need to read through before permanently upgrading. You would also need to make sure that the drivers you are using are &lt;a href=&quot;https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;compatible with 4.0&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2239487" author="cchang" created="Thu, 9 May 2019 03:52:33 +0000"  >&lt;p&gt;Thanks Daniel!&lt;/p&gt;

&lt;p&gt;Regarding your last statement, you suggested I use version 4.0.9 to repair the corrupted db.&#160; If it works, I should restart the db using version 3.6.0??&#160; My question is, if it works, why can&apos;t I just use version 4.0.9 in production since it&apos;s more stable?&#160; Is there any db structure change between 3.6.0 and 4.0.9 that prevents me from using 4.0.9?&lt;/p&gt;</comment>
                            <comment id="2238367" author="daniel.hatcher" created="Wed, 8 May 2019 12:53:03 +0000"  >&lt;p&gt;This error message leads us to suspect some form of physical corruption. Please make a complete copy of the database&apos;s $dbpath directory to work off of and safeguard the current $dbpath.&lt;/p&gt;

&lt;p&gt;Our ability to determine the source of this corruption depends greatly on your ability to provide:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;The logs for the affected node, including before, leading up to, and after the first sign of corruption.&lt;/li&gt;
	&lt;li&gt;A description of the underlying storage mechanism in use, including details like:
	&lt;ol&gt;
		&lt;li&gt;What file system and/or volume management system is in use?&lt;/li&gt;
		&lt;li&gt;Is data storage locally attached or network-attached?&lt;/li&gt;
		&lt;li&gt;Are disks RAIDed and if so how?&lt;/li&gt;
		&lt;li&gt;Are disks SSDs or HDDs?&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;A description of your backup method, if any.&lt;/li&gt;
	&lt;li&gt;A description of your disks have been recently checked for integrity?&lt;/li&gt;
	&lt;li&gt;A history of the deployment, including:
	&lt;ol&gt;
		&lt;li&gt;a timeline of version changes&lt;/li&gt;
		&lt;li&gt;a timeline of hardware upgrade/downgrade cycles or configuration changes&lt;/li&gt;
		&lt;li&gt;a timeline of disaster recovery or backup restoration activities&lt;/li&gt;
		&lt;li&gt;a timeline of any manipulations of the underlying database files, including copies or moves, and information about whether mongod was running during each manipulation.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The ideal resolution is to perform 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 an unaffected node. You tried the repair for 3.6.0; could you please downloading the 4.0.9 binaries and try the repair with that version? Once the repair is done, you can restart with the original binaries.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="216218" name="mongodb error.txt" size="9668" author="cchang" created="Wed, 8 May 2019 04:15:57 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 8 May 2019 12:53:03 +0000</customfieldvalue>

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

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

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

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