<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:48:01 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-59748] Mongo Service started failed by WiredTiger Error</title>
                <link>https://jira.mongodb.org/browse/SERVER-59748</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi~&lt;/p&gt;

&lt;p&gt;Since 2021-08-26, Mongo Service started failed and i noticed on 2021-09-01, And I don&apos;t know why it occurs.&lt;/p&gt;

&lt;p&gt;I run Mongo-4.4.msi installer to install MongoDB Community Server on Windows 10 x64, it works very well until 2021-08-26.&lt;/p&gt;

&lt;p&gt;Then i run mongod by manually, it started fail too.&lt;/p&gt;

&lt;p&gt;I checked the log and find this, but i don&apos;t know why it occurs.&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-09-02T23:52:52.699+08:00&quot;},&quot;s&quot;:&quot;E&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:22435,   &quot;ctx&quot;:&quot;initandlisten&quot;,&quot;msg&quot;:&quot;WiredTiger error&quot;,&quot;attr&quot;:{&quot;error&quot;:22,&quot;message&quot;:&quot;[1630597972:698658][14340:140723883234640], txn-recover: __config_err, 19: Error parsing &apos;access_pattern_hint=none,allocation_size=4KB,app_metadata=(formatVersion=8),assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none),bloc\ufffd_allocation=best,block_compressor=,cache_resident=false,checksum=on,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=119,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=16k,key_format=u,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=16k,leaf_value_max=0,log=(enabled=true),memory_page_image_max=0,memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=true,prefix_compression_min=4,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,value_format=u,version=(major=1,minor=1),checkpoint=(WiredTigerCheckpoint.911=(addr=\&quot;018083e4f21c45cf8381e4f4a0783d8481e41ddd6f65808080e3ba3fc0e3775fc0\&quot;,order=911,time=1629903471,size=7843840,newest_start_durable_ts=0,oldest_start_ts=0,newest_txn=0,newest_stop_durable_ts=0,newest_stop_ts=-1,newest_stop_txn=-11,prepare=0,write_gen=211836,run_write_gen=211836)),checkpoint_backup_info=,checkpoint_lsn=(644,256)&apos; at offset 154: Unexpected character: Invalid argument&quot;}}&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&apos;m attaching the files and log, and I hope it helps.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1866333">SERVER-59748</key>
            <summary>Mongo Service started failed by WiredTiger Error</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="edwin.zhou@mongodb.com">Edwin Zhou</assignee>
                                    <reporter username="catfishlty1@gmail.com">F C</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Sep 2021 15:58:53 +0000</created>
                <updated>Thu, 23 Sep 2021 16:20:00 +0000</updated>
                            <resolved>Wed, 22 Sep 2021 21:52:57 +0000</resolved>
                                    <version>4.4.8</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4081052" author="JIRAUSER1262200" created="Thu, 23 Sep 2021 16:20:00 +0000"  >&lt;p&gt;Thanks for your help~&lt;/p&gt;

&lt;p&gt;I&apos;ll protect my data throught these ways in the future.&lt;/p&gt;</comment>
                            <comment id="4078905" author="JIRAUSER1257066" created="Wed, 22 Sep 2021 21:52:49 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=catfishlty1%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;catfishlty1@gmail.com&quot;&gt;catfishlty1@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I attempted to repair the metadata files that you attached to this ticket. Unfortunately the repair attempt was not successful. To avoid a problem like this in the future, it is our strong recommendation to:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Use a &lt;a href=&quot;https://docs.mongodb.com/manual/replication/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replica set&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Use the &lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;most recent version&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Keep up to date &lt;a href=&quot;https://docs.mongodb.com/manual/core/backups/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;backups of your databases&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Have a process in place to restore backups.&lt;/li&gt;
	&lt;li&gt;Follow all &lt;a href=&quot;https://docs.mongodb.com/manual/administration/production-notes/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;production notes&lt;/a&gt;, especially those for &lt;a href=&quot;https://docs.mongodb.com/manual/administration/production-notes/#disk-and-storage-systems&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;underlying storage systems&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Schedule and perform regular checks of the integrity of your filesystems and disks.&lt;/li&gt;
	&lt;li&gt;Never manipulate the underlying database files in any way.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                            <comment id="4069909" author="JIRAUSER1262200" created="Sat, 18 Sep 2021 04:14:49 +0000"  >&lt;p&gt;Thanks for your reply~&lt;br/&gt;
My Env is MongoDB with Single Node in Windows10 on Hard Drive. No SSD and No RAID. Also no backup method. So I can&apos;t recover the data from ReplicaSet or Other Node or Backup data. I think I&apos;ll do something to protect the data in the future.&lt;br/&gt;
I suspect that it&apos;s occured by blue screen during Windows corruption. &lt;br/&gt;
I checked the files again, and try to correct the WiredTiger meta file back to normal, but it&apos;s still not working. I use Hex Editor to check the turtle or wt files, and found there&apos;re some Unicode instead of correct characters, so the parse method throw out the error.&lt;br/&gt;
I&apos;ll reply to you about the content you memtioned:&lt;br/&gt;
1. log file is override by mistake.&lt;br/&gt;
2. missing&lt;br/&gt;
3.1 Windows10 with NTFS&lt;br/&gt;
3.2 Local in Hard Drive&lt;br/&gt;
3.3 No Raid&lt;br/&gt;
3.4 HDD&lt;br/&gt;
4. No&lt;br/&gt;
5. It works well&lt;br/&gt;
6.1 Before the corruption I use 4.4, after that I upgrade it to 5.x to try to restart it again, but it&apos;s faild. Then I downgrade to 4.4, and run --repair it.&lt;br/&gt;
6.2 No hardware changes during the corruption.&lt;br/&gt;
6.3 no&lt;br/&gt;
6.4 no&lt;/p&gt;

&lt;p&gt;The &apos;mongod-repair.log&apos; shows the procedure of repairing with &apos;--repair&apos;. I hope it can help. And it&apos;s hard to provide other logs on Windows.&lt;/p&gt;

&lt;p&gt;After all, I hope there&apos;s a way to salvage the data by wt tool and the exists data file.&lt;/p&gt;

&lt;p&gt;I hope it can help~&lt;/p&gt;</comment>
                            <comment id="4069648" author="JIRAUSER1257066" created="Fri, 17 Sep 2021 21:26:55 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=catfishlty1%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;catfishlty1@gmail.com&quot;&gt;catfishlty1@gmail.com&lt;/a&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 safeguard so that you can work off of 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;As much of syslog and dmesg content leading up to the first sign of corruption as possible.&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. &lt;/p&gt;

&lt;p&gt;You can also try &lt;a href=&quot;https://docs.mongodb.com/manual/reference/program/mongod/#cmdoption-mongod-repair&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;mongod --repair&lt;/tt&gt;&lt;/a&gt; using the latest version of MongoDB.&lt;/p&gt;

&lt;p&gt;In the event that a &lt;tt&gt;--repair&lt;/tt&gt; operation is unsuccessful, then please also provide:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The logs leading up to the first occurrence of any issue&lt;/li&gt;
	&lt;li&gt;The logs of the repair operation.&lt;/li&gt;
	&lt;li&gt;The logs of any attempt to start mongod after the repair operation completed.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Best,&lt;br/&gt;
Edwin&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="333251" name="WiredTiger" size="47" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +0000"/>
                            <attachment id="333250" name="WiredTiger.lock" size="21" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +0000"/>
                            <attachment id="333258" name="WiredTiger.turtle" size="1276" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:32 +0000"/>
                            <attachment id="333257" name="WiredTiger.wt" size="114688" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +0000"/>
                            <attachment id="333256" name="WiredTiger.wt.orig" size="114688" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +0000"/>
                            <attachment id="333255" name="WiredTigerHS.wt" size="12288" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:32 +0000"/>
                            <attachment id="333260" name="_mdb_catalog.wt" size="32768" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:21 +0000"/>
                            <attachment id="333259" name="_repair_incomplete" size="73" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:20 +0000"/>
                            <attachment id="333249" name="mongd-repair.log" size="101221" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:58:48 +0000"/>
                            <attachment id="333261" name="mongod.cfg" size="582" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:13 +0000"/>
                            <attachment id="333254" name="mongod.lock" size="5" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:32 +0000"/>
                            <attachment id="333253" name="sizeStorer.wt" size="36864" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +0000"/>
                            <attachment id="333252" name="storage.bson" size="114" author="catfishlty1@gmail.com" created="Thu, 2 Sep 2021 15:57:33 +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>Fri, 17 Sep 2021 21:26:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 19 weeks, 6 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>catfishlty1@gmail.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 19 weeks, 6 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>edwin.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>catfishlty1@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i009yv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzk99j:</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>
                                    <customfieldvalue><![CDATA[edwin.zhou@mongodb.com]]></customfieldvalue>
    

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

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