[SERVER-36344] WiredTiger.wt, connection: read checksum error for 4096B block at offset 24576 Created: 30/Jul/18  Updated: 15/Sep/18  Resolved: 30/Jul/18

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

Type: Bug Priority: Major - P3
Reporter: Hesham Youssef Assignee: Nick Brewer
Resolution: Done Votes: 0
Labels: docker, envc, rpo, 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: OS X
Steps To Reproduce:

2018-07-30T12:26:55.494+0200 I STORAGE [initandlisten] Detected WT journal files. Running recovery from last checkpoint.
2018-07-30T12:26:55.494+0200 I STORAGE [initandlisten] journal to nojournal transition config: create,cache_size=9G,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-07-30T12:26:55.497+0200 E STORAGE [initandlisten] WiredTiger (0) [1532946415:497482][1689:0x7fff95a49380], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 24576: block header checksum of 903856122 doesn't match expected checksum of 2782833813
2018-07-30T12:26:55.497+0200 E STORAGE [initandlisten] WiredTiger (0) [1532946415:497523][1689:0x7fff95a49380], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value
2018-07-30T12:26:55.497+0200 E STORAGE [initandlisten] WiredTiger (-31804) [1532946415:497554][1689:0x7fff95a49380], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-07-30T12:26:55.497+0200 I - [initandlisten] Fatal Assertion 28558
2018-07-30T12:26:55.497+0200 I - [initandlisten]

***aborting after fassert() failure

2018-07-30T12:26:55.507+0200 F - [initandlisten] Got signal: 6 (Abort trap: 6).

Participants:

 Description   

After an unexpected restart to my computer I getting this errors when I try to start mongod "WiredTiger.wt, connection: read checksum error for 4096B block at offset 24576"



 Comments   
Comment by Nick Brewer [ 30/Jul/18 ]

hey@peytz.dk Glad to hear it's fixed.

Here's some precautions you can take to proactively mitigate issues related to unreliable storage layers or server failures:

-Nick

Comment by Hesham Youssef [ 30/Jul/18 ]

Hi Nick

I have extracted the attached files and Yes that solved the problem

Here are the info you asked about:

  • I'm running mongo in a container
  • I'm using MacOS High Sierra "10.13.6"
Comment by Nick Brewer [ 30/Jul/18 ]

hey@peytz.dk 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?

Additionally, I'd like to confirm the following:

  • The environment (native, virtualized, container)
  • The operating system and version

Thanks,
Nick

repair-attempt.tar.gz

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