[SERVER-35577] read checksum error on wiredTiger.wt Created: 13/Jun/18  Updated: 14/Aug/18  Resolved: 15/Jun/18

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

Type: Bug Priority: Major - P3
Reporter: Mandy Klein Assignee: Nick Brewer
Resolution: Done Votes: 0
Labels: envns, rns, rps, trcf, wtc
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   

we have an error in our WiredTiger.wt file and can not start our database anymore. Can you please help us with this problem?

 

We get the following error:

[1528707963:669364][119248:0x7fbf92551740], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 12288: block header checksum of 2896414579 doesn't match expected checksum of 3327239497
[1528707963:669386][119248:0x7fbf92551740], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value: (__wt_block_read_off, 227)
[1528707963:669391][119248:0x7fbf92551740], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic

 

It is a production error, the removal of which is very urgent

 

thanks a lot for your support



 Comments   
Comment by Nick Brewer [ 15/Jun/18 ]

Hi Mandy,

What I did was basically a wt salvage on the two files you supplied.

I'm glad you were able to get most of your data back. For future reference, here's some precautions you can take to mitigate issues related to unreliable storage layers or server failures:

Nick

Comment by Mandy Klein [ 15/Jun/18 ]

Hello,

we were able to reboot the database with the help of the files, but could not access the data as a whole.

we also needed to clean up the files, using salvage. See also:

http://www.alexbevi.com/blog/2016/02/10/recovering-a-wiredtiger-collection-from-a-corrupt-mongodb-installation/

After that, we lost a small amount of data but were able to save the bulk.

 

Thanks for your quick support, mayve youcan also tell me what you needed to change about the data?

 

Best regards

Mandy

 

 

Comment by Nick Brewer [ 14/Jun/18 ]

Hi,

I've attached the files after a repair attempt. Would you please extract these files, substitute them for the current ones in your $dbpath, and let us know if it resolves the issue?

Thanks,
Nick

repair-attempt.tar.gz

Comment by Mandy Klein [ 14/Jun/18 ]

@nick Brewer, wiredtiger.turtle file is uploaded

Comment by Nick Brewer [ 13/Jun/18 ]

kle,

Could you upload the wiredtiger.turtle file as well? This will be necessary in order to attempt to recover the file.

Thanks,
Nick

Comment by Eric Milkie [ 13/Jun/18 ]

I moved your request to the SERVER project. The WiredTiger project is for consumers of the standalone WiredTiger storage engine.

Comment by Mandy Klein [ 13/Jun/18 ]

@keith.bostic, its a MongoDB insallation

Comment by Keith Bostic (Inactive) [ 13/Jun/18 ]

kle, is this a MongoDB installation, or a standalone WiredTiger installation?

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