-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.2.8
-
Component/s: Querying, WiredTiger
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Hi,
I tried to start mongoDB server using services. I wasn't able to start it.
Then i checked the logs. Its showing the read checksum error with some file named as collection.
Below is the mongoDB log
2017-05-23T02:31:07.518-0400 W - [initandlisten] Detected unclean shutdown - E:\Apps\MongoDB\MongoDB\mongoDB\Data\mongod.lock is not empty. 2017-05-23T02:31:07.518-0400 W STORAGE [initandlisten] Recovering data from the last clean checkpoint. 2017-05-23T02:31:07.518-0400 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),direct_io=(data), 2017-05-23T02:31:08.846-0400 E STORAGE [initandlisten] WiredTiger (0) [1495521068:845181][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: read checksum error for 4096B block at offset 344616960: block header checksum of 1316359805 doesn't match expected checksum of 3610363250 2017-05-23T02:31:08.846-0400 E STORAGE [initandlisten] WiredTiger (0) [1495521068:846228][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: collection-8--4378964801540422943.wt: encountered an illegal file format or internal value 2017-05-23T02:31:08.846-0400 E STORAGE [initandlisten] WiredTiger (-31804) [1495521068:846228][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: the process must exit and restart: WT_PANIC: WiredTiger library panic 2017-05-23T02:31:08.846-0400 I - [initandlisten] Fatal Assertion 28558 2017-05-23T02:31:08.846-0400 I - [initandlisten] ***aborting after fassert() failure
After that, I tried to repair the monogo server using --repair command. Its also Failed with error.
Below is the repair log.
2017-05-23T06:48:51.314-0400 E STORAGE [initandlisten] WiredTiger (0) [14955365
31:314231][3284:8766840902224], file:collection-22--4378964801540422943.wt, WT_C
URSOR.prev: read checksum error for 8192B block at offset 128155648: block heade
r checksum of 0 doesn't match expected checksum of 4290245144
2017-05-23T06:48:51.318-0400 E STORAGE [initandlisten] WiredTiger (0) [14955365
31:318313][3284:8766840902224], file:collection-22--4378964801540422943.wt, WT_C
URSOR.prev: collection-22--4378964801540422943.wt: encountered an illegal file f
ormat or internal value
2017-05-23T06:48:51.323-0400 E STORAGE [initandlisten] WiredTiger (-31804) [149
5536531:323335][3284:8766840902224], file:collection-22--4378964801540422943.wt,
WT_CURSOR.prev: the process must exit and restart: WT_PANIC: WiredTiger library
panic
2017-05-23T06:48:51.328-0400 I - [initandlisten] Fatal Assertion 28558
2017-05-23T06:48:51.330-0400 I - [initandlisten]
***aborting after fassert() failure