[SERVER-39298] WiredTiger.wt: read checksum error Created: 31/Jan/19  Updated: 01/Feb/19  Resolved: 01/Feb/19

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

Type: Question Priority: Major - P3
Reporter: Sergey Serb Assignee: Eric Sedor
Resolution: Done Votes: 0
Labels: ChecksumError, WiredTiger.wt, snap
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 17.10


Attachments: File WiredTiger.turtle     File WiredTiger.turtle     File WiredTiger.wt     File WiredTiger.wt    
Participants:

 Description   

Hello, can someone help me?

I don't know the root cause of my problem, i did not pressed Ctrl+C, did not power off PC while it was running but after stop/start cycle of rocket.chat server service i got an error:

server2 systemd[1]: Started Service for snap application rocketchat-server.rocketchat-mongo.
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.522+0300 I CONTROL [initandlisten] MongoDB starting : pid=16270 port=27017 dbpath=/var/snap/rocketchat-server/common 64-bit host=server2
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] db version v3.2.7
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] git version: 4249c1d2b5999ebbf1fdf3bc0e0e3b3ff5c0aaf2
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] allocator: tcmalloc
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] modules: none
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] build environment:
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] distmod: ubuntu1604
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] distarch: x86_64
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] target_arch: x86_64
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.523+0300 I CONTROL [initandlisten] options: { net: { bindIp: "127.0.0.1" }, processManagement: { pidFilePath: "/var/snap/rocketchat-server/common/mongod.pid" }, replication: { replSet: "rs0" }, storage: { dbPath: "/var/snap/rocketchat-server/common", journal: { enabled: true }, mmapv1: { smallFiles: true } } }
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.543+0300 I - [initandlisten] Detected data files in /var/snap/rocketchat-server/common created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.543+0300 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3G,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),
янв 31 03:07:19 server2 rocketchat-server.rocketchat-mongo[16251]: 2019-01-31T03:07:19.549+0300 E STORAGE [initandlisten] WiredTiger (0) [1548893239:549785][16270:0x7fc04cbd3c80], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 86016: block header checksum of 440302562 doesn't match expected checksum of 3255595172

Could you make attempt to repair my WiredTiger.wt file?



 Comments   
Comment by Eric Sedor [ 01/Feb/19 ]

Glad to hear!

Comment by Sergey Serb [ 01/Feb/19 ]

Thank you Eric!  The repair worked! 

Comment by Eric Sedor [ 01/Feb/19 ]

Hello,

Thank you for your report. I've attached a repair attempt of the files you provided (dated Feb 01 2019 01:08 AM). Please extract these files and replace them in your $dbpath and let us know if it resolves the issue.

Thank you,
Eric

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