<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:10: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-25794] Can&apos;t start MongoDB 3.2.8 server with WiredTiger</title>
                <link>https://jira.mongodb.org/browse/SERVER-25794</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;This is for installation on my Mac. I was running a mongo via homebrew and recently also ran another installation via docker with local db path mounted to it. Without realizing both server process were on, I ran a mongorestore for one collection I got off from production and did some rename collection and created a new collection, etc. After that, I restarted servers via homebrew and now server exits with checksum error.&lt;/p&gt;

&lt;p&gt;Please see attached files for more info. Need it fixed asap. Thanks!&lt;/p&gt;</description>
                <environment></environment>
        <key id="311784">SERVER-25794</key>
            <summary>Can&apos;t start MongoDB 3.2.8 server with WiredTiger</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="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="dongkoo">Dong Koo</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Aug 2016 15:09:59 +0000</created>
                <updated>Mon, 13 Aug 2018 20:25:59 +0000</updated>
                            <resolved>Tue, 6 Sep 2016 16:15:07 +0000</resolved>
                                    <version>3.2.8</version>
                                                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1379194" author="thomas.schubert" created="Thu, 8 Sep 2016 04:03:51 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dongkoo&quot; class=&quot;user-hover&quot; rel=&quot;dongkoo&quot;&gt;dongkoo&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We do not support the steps you have referenced. If your database cannot be recovered using the built-in repair or the attempted manual repair effort, I unfortunately don&apos;t have any further suggestions to offer.&lt;/p&gt;

&lt;p&gt;I would recommend extreme caution if you are attempting to recover data using the wt binary, as it is not aware of the data structures used by MongoDB and may be using a different version of the WiredTiger engine.&lt;/p&gt;

&lt;p&gt;Finally, please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. As such, I&apos;m unable to provide additional support for data recovery on this forum beyond the initial repair attempt which was not successful.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1377650" author="dongkoo" created="Tue, 6 Sep 2016 19:43:20 +0000"  >&lt;p&gt;One of the collection failed to dump using wt cmd tool. I guess it is unrecoverable at this point.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1473190736:9334&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;7411:0x7fff7a974000&amp;#93;&lt;/span&gt;, WT_SESSION.open_cursor: &apos;table:collection-40-5575108824741027845&apos; cannot be used until all column groups are created: Invalid argument&lt;br/&gt;
wt: cursor open(table:collection-40-5575108824741027845) failed: Invalid argument&lt;/p&gt;</comment>
                            <comment id="1377606" author="dongkoo" created="Tue, 6 Sep 2016 19:09:47 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Just one more thing. I found this &lt;a href=&quot;http://www.alexbevi.com/blog/2016/02/10/recovering-a-wiredtiger-collection-from-a-corrupt-mongodb-installation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.alexbevi.com/blog/2016/02/10/recovering-a-wiredtiger-collection-from-a-corrupt-mongodb-installation/&lt;/a&gt; and trying it manually. It seems your repair attempt files allowed me to run wt cmd tool. While running salvage cmd, I found some files return file not found error:&lt;br/&gt;
wt: salvage(&lt;a href=&quot;file:collection-116-5575108824741027845.wt):&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;file:collection-116-5575108824741027845.wt):&lt;/a&gt; No such file or directory&lt;/p&gt;

&lt;p&gt;And trying wt dump on these files return this error:&lt;br/&gt;
wt: metadata:: cursor.search: WT_NOTFOUND: item not found&lt;/p&gt;

&lt;p&gt;Was wondering if you had any insight into this.&lt;/p&gt;</comment>
                            <comment id="1377361" author="thomas.schubert" created="Tue, 6 Sep 2016 16:15:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dongkoo&quot; class=&quot;user-hover&quot; rel=&quot;dongkoo&quot;&gt;dongkoo&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for the update. As you identified, this error indicates that the repair attempt was unsuccessful. Unfortunately, I cannot point you to any tools that would recover data from this situation.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1377344" author="dongkoo" created="Tue, 6 Sep 2016 15:58:44 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;That didn&apos;t work. Error log is below. Any way to salvage db data such as export from directory?&lt;/p&gt;

&lt;p&gt; mongod(_ZN5mongo13initAndListenEi+0x13) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10ca5ba33&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongod(main+0x3FC) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x10ca5ff8c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 libdyld.dylib(start+0x1) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fff923155ad&amp;#93;&lt;/span&gt;&lt;br/&gt;
 ??? &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3&amp;#93;&lt;/span&gt;&lt;br/&gt;
-----  END BACKTRACE  -----&lt;br/&gt;
2016-09-06T11:55:02.395-0400 I -        &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;***aborting after invariant() failure&lt;/p&gt;</comment>
                            <comment id="1377328" author="thomas.schubert" created="Tue, 6 Sep 2016 15:45:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dongkoo&quot; class=&quot;user-hover&quot; rel=&quot;dongkoo&quot;&gt;dongkoo&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Sorry for the delay getting back to you. Unfortunately, from your description I think recovery from this situation is unlikely. &lt;/p&gt;

&lt;p&gt;I have attempted a repair of WiredTiger files and attached the new files to this ticket. Please replace these files in your &lt;tt&gt;$dbpath&lt;/tt&gt; and attempt to restart the mongod instance.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1377245" author="dongkoo" created="Tue, 6 Sep 2016 14:58:09 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Anything on this yet?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="136444" name="WiredTiger" size="46" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136445" name="WiredTiger.lock" size="21" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136446" name="WiredTiger.turtle" size="935" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136447" name="WiredTiger.wt" size="851968" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136448" name="WiredTigerLAS.wt" size="4096" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136449" name="WiredTigerLog.0000000094" size="104857728" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136450" name="WiredTigerLog.0000000095" size="104857728" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136441" name="_mdb_catalog.wt" size="61440" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136451" name="mongo.log" size="37961164" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="137612" name="repair_attempt.tar.gz" size="40875" author="kelsey.schubert@mongodb.com" created="Tue, 6 Sep 2016 15:45:49 +0000"/>
                            <attachment id="136442" name="sizeStorer.wt" size="61440" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +0000"/>
                            <attachment id="136443" name="storage.bson" size="95" author="dongkoo" created="Thu, 25 Aug 2016 15:09:59 +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>Fri, 26 Aug 2016 02:19:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 23 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>nick.brewer</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 23 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>dongkoo</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjxx3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsp393:</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_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[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsem53:</customfieldvalue>

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