[SERVER-38772] mongodb--WiredTiger.wt read checksum error Created: 26/Dec/18  Updated: 04/Jan/19  Resolved: 04/Jan/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: ni yulin Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File WiredTiger.turtle     File WiredTiger.wt     File repair_attempt.tar.gz    
Operating System: ALL
Participants:

 Description   

I've got a problem with mongodb. I couldn't start it.
When I try to start I've the following errors:

2018-12-26T12:23:06.394+0800 I -        [initandlisten] Detected data files in /data/mongoDB/db2018 created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-12-26T12:23:06.394+0800 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=18G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2018-12-26T12:23:07.992+0800 E STORAGE  [initandlisten] WiredTiger (0) [1545798187:992917][27772:0x7f0a9be18c80], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 32768B block at offset 28672: block header checksum of 4156249558 doesn't match expected checksum of 3758681889
2018-12-26T12:23:07.993+0800 E STORAGE  [initandlisten] WiredTiger (0) [1545798187:993051][27772:0x7f0a9be18c80], file:WiredTiger.wt, WT_CURSOR.next: WiredTiger.wt: encountered an illegal file format or internal value
2018-12-26T12:23:07.993+0800 E STORAGE  [initandlisten] WiredTiger (-31804) [1545798187:993074][27772:0x7f0a9be18c80], file:WiredTiger.wt, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-12-26T12:23:07.993+0800 I -        [initandlisten] Fatal Assertion 28558
2018-12-26T12:23:07.993+0800 I -        [initandlisten] ***aborting after fassert() failure

Could you please help to recover my database, it's very important.
I attached two files where I think is the problem.

Thanks a lot for your support.

 



 Comments   
Comment by Kelsey Schubert [ 26/Dec/18 ]

Hi nylwin,

Thank you for your report. I've attached a repair attempt, repair_attempt.tar.gz, of the files you provided. Please extract these files and replace them in your $dbpath and let us know if it resolves the issue. If you are still seeing errors after replacing these files, please provide the complete logs from the affected node so that we can further investigate.

Thank you,
Kelsey

Generated at Thu Feb 08 04:49:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.