[SERVER-40007] file:WiredTiger.wt, connection: the process must exit and restart Created: 07/Mar/19  Updated: 25/Apr/19  Resolved: 25/Apr/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.4.14
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: hexiaojie Assignee: Danny Hatcher (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File WiredTiger.turtle     File WiredTiger.wt     File repair-attempt.tar    
Operating System: ALL
Steps To Reproduce:

Hello,

This is  replica set, but the other one is broken, so need to repair :WiredTiger.wt file but I don't know how to fix it, If you can provide repair method very thank.

Participants:

 Description   

2019-03-06T17:15:41.139+0800 I CONTROL [initandlisten] options: { config: "/home/mongodb/confs/shard2.conf", net:

{ bindIp: "DB-NODE2", port: 22222 }

, operationProfiling: { mode: "slowOp" }, processManagement: { fork: true, pidFilePath: "/home/mongodb/tmp/shard2.pid" }, replication: { replSetName: "shard2" }, security: { authorization: "enabled", keyFile: "/home/mongodb/confs/mongod.key" }, setParameter: { enableLocalhostAuthBypass: "false" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/home/mongodb/datas/shard2", engine: "wiredTiger", journal:

{ enabled: true }

, wiredTiger: { engineConfig:

{ cacheSizeGB: 2.0 }

} }, systemLog: { destination: "file", logAppend: false, logRotate: "rename", path: "/home/mongodb/logs/shard2.log" } }
2019-03-06T17:15:41.140+0800 W - [initandlisten] Detected unclean shutdown - /home/mongodb/datas/shard2/mongod.lock is not empty.
2019-03-06T17:15:41.163+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten]
2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=2048M,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),
2019-03-06T17:15:41.168+0800 E STORAGE [initandlisten] WiredTiger error (0) [1551863741:168723][5658:0x7fecbe3e1dc0], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value
2019-03-06T17:15:41.168+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1551863741:168749][5658:0x7fecbe3e1dc0], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
2019-03-06T17:15:41.168+0800 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365
2019-03-06T17:15:41.168+0800 I - [initandlisten]

 

***aborting after fassert() failure

2019-03-06T17:15:41.186+0800 F - [initandlisten] Got signal: 6 (Aborted).

0x7fecbf97ca51 0x7fecbf97bc69 0x7fecbf97c14d 0x7fecbd0de500 0x7fecbcd6e8a5 0x7fecbcd70085 0x7fecbec208f3 0x7fecbf68b796 0x7fecbec2af9a 0x7fecbec2b1b6 0x7fecbec2b418 0x7fecc032b7bc 0x7fecc0329db8 0x7fecc02de783 0x7fecc03693eb 0x7fecc036992d 0x7fecc0369bec 0x7fecc02ed001 0x7fecc035f6d8 0x7fecc032946e 0x7fecc032954b 0x7fecc02dad3b 0x7fecbf66fd3a 0x7fecbf6685d5 0x7fecbf55a767 0x7fecbec0cb9c 0x7fecbec2c7cb 0x7fecbcd5acdd 0x7fecbec8bd41
----- BEGIN BACKTRACE -----



 Comments   
Comment by Danny Hatcher (Inactive) [ 08/Mar/19 ]

Hello,

Please extract repair-attempt.tar and replace these files in your $dbpath.

Thank you,

Danny

Generated at Thu Feb 08 04:53:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.