We are using MongoDB 3.4.7 with wiredTiger on numerous remote stand alone systems where the client & server reside on the same box. Unfortunately these systems are subject to being forcibly shut down. Occasionally on some systems after a forced shutdown, our MongoDB service does not start and the MongoDB log files contain something resembling the following error:
2018-04-19T16:29:37.425-0500 W - [initandlisten] Detected unclean shutdown - c:\Data\MongoDB\data\db\mongod.lock is not empty.
2018-04-19T16:29:37.426-0500 I - [initandlisten] Detected data files in c:\Data\MongoDB\data\db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-04-19T16:29:37.426-0500 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2018-04-19T16:29:37.426-0500 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=3527M,session_max=20000,eviction=(threads_min=4,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-04-19T16:29:37.431-0500 E STORAGE [initandlisten] WiredTiger error (0) [1524173377:431385][7268:1993686752], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value
2018-04-19T16:29:37.431-0500 E STORAGE [initandlisten] WiredTiger error (-31804) [1524173377:431385][7268:1993686752], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2018-04-19T16:29:37.431-0500 I - [initandlisten] Fatal Assertion 28558 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 361
2018-04-19T16:29:37.431-0500 I - [initandlisten]
***aborting after fassert() failure