-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.2.12
-
Component/s: WiredTiger
-
None
-
ALL
We tried to re-start mongo db service and it is not restarting which seems like the WiredTiger.wt file got corrupted which we are not able to recover. Below is the error stack;
root@ip-172-31-26-92:/data# mongod 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] MongoDB starting : pid=23951 port=27017 dbpath=/data/db 64-bit host=ip-172-31-26-92 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] db version v3.2.12 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] git version: ef3e1bc78e997f0d9f22f45aeb1d8e3b6ac14a14 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] allocator: tcmalloc 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] modules: none 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] build environment: 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] distmod: ubuntu1604 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] distarch: x86_64 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] target_arch: x86_64 2018-10-23T10:31:07.775+0000 I CONTROL [initandlisten] options: {} 2018-10-23T10:31:07.800+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2018-10-23T10:31:07.800+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1G,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-10-23T10:31:07.806+0000 E STORAGE [initandlisten] WiredTiger (-31802) [1540290667:806369][23951:0x7faaa92bdc80], file:WiredTiger.wt, connection: /data/db/WiredTiger.wt: handle-read: pread: failed to read 4096 bytes at offset 45056: WT_ERROR: non-specific WiredTiger error 2018-10-23T10:31:07.806+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error 2018-10-23T10:31:07.806+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating 2018-10-23T10:31:07.806+0000 I CONTROL [initandlisten] dbexit: rc: 100