-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Server Triage
-
ALL
-
Hi Mongo Team
Can someone help me in trying to fix my mongo wiredtiger?
[root@ip-172-17-0-111 data]# mongod --repair --dbpath=/var/lib/mongo/data --storageEngine wiredTiger 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] MongoDB starting : pid=717 port=27017 dbpath=/var/lib/mongo/data 64-bit host=ip-172-17-0-111.ap-northeast-2.compute.internal 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] db version v3.4.24 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] git version: 865b4f6a96d0f5425e39a18337105f33e8db504d 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.0-fips 29 Mar 2010 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] allocator: tcmalloc 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] modules: none 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] build environment: 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] distmod: amazon 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] distarch: x86_64 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] target_arch: x86_64 2020-02-20T05:13:41.166+0000 I CONTROL [initandlisten] options: { repair: true, storage: { dbPath: "/var/lib/mongo/data", engine: "wiredTiger" } } 2020-02-20T05:13:41.166+0000 W - [initandlisten] Detected unclean shutdown - /var/lib/mongo/data/mongod.lock is not empty. 2020-02-20T05:13:41.188+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint. 2020-02-20T05:13:41.188+0000 I STORAGE [initandlisten] 2020-02-20T05:13:41.188+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine 2020-02-20T05:13:41.188+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem 2020-02-20T05:13:41.188+0000 I STORAGE [initandlisten] Detected WT journal files. Running recovery from last checkpoint. 2020-02-20T05:13:41.188+0000 I STORAGE [initandlisten] journal to nojournal transition config: create,cache_size=7507M,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),verbose=(recovery_progress), 2020-02-20T05:13:41.204+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1582175621:204286][717:0x7f674fd20580], txn-recover: unsupported WiredTiger file version: this build only supports major/minor versions up to 1/0, and the file is version 3/0: WT_ERROR: non-specific WiredTiger error 2020-02-20T05:13:41.204+0000 E STORAGE [initandlisten] WiredTiger error (0) [1582175621:204336][717:0x7f674fd20580], txn-recover: WiredTiger is unable to read the recovery log. 2020-02-20T05:13:41.204+0000 E STORAGE [initandlisten] WiredTiger error (0) [1582175621:204363][717:0x7f674fd20580], txn-recover: This may be due to the log files being encrypted, being from an older version or due to corruption on disk 2020-02-20T05:13:41.204+0000 E STORAGE [initandlisten] WiredTiger error (0) [1582175621:204380][717:0x7f674fd20580], txn-recover: You should confirm that you have opened the database with the correct options including all encryption and compression options 2020-02-20T05:13:41.204+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1582175621:204401][717:0x7f674fd20580], txn-recover: Recovery failed: WT_ERROR: non-specific WiredTiger error 2020-02-20T05:13:41.206+0000 I - [initandlisten] Assertion: 28718:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 254 2020-02-20T05:13:41.206+0000 I STORAGE [initandlisten] exception in initAndListen: 28718 -31802: WT_ERROR: non-specific WiredTiger error, terminating 2020-02-20T05:13:41.206+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets... 2020-02-20T05:13:41.206+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock 2020-02-20T05:13:41.206+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog... 2020-02-20T05:13:41.206+0000 I CONTROL [initandlisten] now exiting 2020-02-20T05:13:41.206+0000 I CONTROL [initandlisten] shutting down with code:100