A mongodb instance was unexpectedly closed in a replica set. I have to remove all data and start it in order to recover service as soon as possible. The log information as follow:
2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] MongoDB starting : pid=16224 port=27017 dbpath=/data/mongodata/data 64-bit host=mongo01.log 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] db version v3.2.1 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] git version: a14d55980c2cdc565d4704a7e3ad37e4e535c1b2 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] allocator: tcmalloc 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] modules: none 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] build environment: 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] distmod: ubuntu1404 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] distarch: x86_64 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] target_arch: x86_64 2016-10-08T11:44:54.060+0800 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "0.0.0.0", port: 27017 }, replication: { replSet: "foba" }, security: { keyFile: "/etc/mongodb-keyfile" }, storage: { dbPath: "/data/mongodata/data", journal: { enabled: false } }, systemLog: { destination: "file", logAppend: true, path: "/data/mongodata/log/mongo.log" } } 2016-10-08T11:44:54.092+0800 I - [initandlisten] Detected data files in /data/mongodata/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2016-10-08T11:44:54.092+0800 W - [initandlisten] Detected unclean shutdown - /data/mongodata/data/mongod.lock is not empty. 2016-10-08T11:44:54.092+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint. 2016-10-08T11:44:54.092+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=2G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=s nappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),,log=(enabled=false), 2016-10-08T11:44:54.951+0800 E STORAGE [initandlisten] WiredTiger (22) [1475898294:951592][16224:0x7f94d0c5ad00], file:collection-155-6426631565121784140.wt, WT_SESSION.open_cursor: live.avail: merge range 28672-40960 overlaps with exi sting range 28672-32768: Invalid argument 2016-10-08T11:44:54.951+0800 E STORAGE [initandlisten] WiredTiger (-31804) [1475898294:951642][16224:0x7f94d0c5ad00], file:collection-155-6426631565121784140.wt, WT_SESSION.open_cursor: the process must exit and restart: WT_PANIC: Wire dTiger library panic 2016-10-08T11:44:54.951+0800 I - [initandlisten] Fatal Assertion 28558 2016-10-08T11:44:54.951+0800 I - [initandlisten] 2016-10-08T11:44:54.972+0800 F - [initandlisten] Got signal: 6 (Aborted).
BTW: The version is v3.2.1.