[SERVER-29706] machine power off leads to read checksum error Created: 19/Jun/17  Updated: 19/Jun/17  Resolved: 19/Jun/17

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

Type: Question Priority: Major - P3
Reporter: chenyuliang Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File WiredTiger.turtle     File WiredTiger.wt     File WiredTigerLAS.wt    
Issue Links:
Duplicate
duplicates SERVER-29705 mongod start fail with error: read ch... Closed
Participants:

 Description   

As the title says, mongod process exits because of the machine shutdown. When I try to restart mongod, there are error infos in log, which seems to be a bad file format:

2017-06-17T23:30:21.525+0800 E STORAGE  [initandlisten] WiredTiger error (0) [1497713421:525505][10001:0x7f9cc3cd0ce0], file:WiredTiger.wt, WT_CURSOR.insert: read checksum error for 24576B block at offset 233472: block header checksum of 3121098103 doesn't match expected checksum of 3702490606
2017-06-17T23:30:21.525+0800 E STORAGE  [initandlisten] WiredTiger error (0) [1497713421:525580][10001:0x7f9cc3cd0ce0], file:WiredTiger.wt, WT_CURSOR.insert: WiredTiger.wt: encountered an illegal file format or internal value
2017-06-17T23:30:21.525+0800 E STORAGE  [initandlisten] WiredTiger error (-31804) [1497713421:525604][10001:0x7f9cc3cd0ce0], file:WiredTiger.wt, WT_CURSOR.insert: the process must exit and restart: WT_PANIC: WiredTiger library panic
2017-06-17T23:30:21.525+0800 I -        [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361

Is there a way to fix the WiredTiger.wt file? Thank you!

Some related files are attached.


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