[SERVER-35489]  file:WiredTiger.wt, connection: read checksum error for 4096B block, mongodb 3.6 won't start Created: 07/Jun/18  Updated: 16/Oct/21  Resolved: 25/Oct/18

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

Type: Bug Priority: Major - P3
Reporter: ANIL ATAV Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: wtc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

I am use wt tool to repair a corrupted db, but wt salvage can't repair these errors:

2018-06-07T19:55:47.362+0300 E STORAGE [initandlisten] WiredTiger error (0) [1528390547:362459][1864:0x7f39ed4ed9c0], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 499712: block header checksum of 1026909540 doesn't match expected checksum of 2007672309
2018-06-07T19:55:47.362+0300 E STORAGE [initandlisten] WiredTiger error (0) [1528390547:362707][1864:0x7f39ed4ed9c0], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value: (__wt_block_read_off, 227)
2018-06-07T19:55:47.362+0300 E STORAGE [initandlisten] WiredTiger error (-31804) [1528390547:362726][1864:0x7f39ed4ed9c0], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-06-07T19:55:47.362+0300 F - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
2018-06-07T19:55:47.362+0300 F - [initandlisten]

***aborting after fassert() failure

I have attached WiredTiger.wt and WiredTiger.turtle. Any help would be appreciated.

Thanks,



 Comments   
Comment by Kelsey Schubert [ 16/Jun/18 ]

Hi ATAV,

Sorry for the delay getting back to you.

I've attached a repair attempt 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

repair_attempt.tar.gz

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