[SERVER-35102] WiredTiger.wt 文件损坏 Created: 19/May/18  Updated: 28/Jun/18  Resolved: 24/May/18

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

Type: Question Priority: Major - P3
Reporter: wuqinghua Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

centos 7


Attachments: File WiredTiger.turtle     File WiredTiger.wt     File repair_attempt.tgz    
Participants:

 Description   

mongodb 启动提示 

WiredTiger error (0) [1526701572:306120][3887:0x7fda17c7ee40], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value



 Comments   
Comment by Kelsey Schubert [ 24/May/18 ]

Hi wu_qing_hua,

Unfortunately, the error persisting after restarting with the repaired files generally indicates that there was corruption on the disk, most often caused by a faulty storage layer. In this situation, our best recommendation would be to resync the affected node or restore from a backup if possible.

To prevent this type of problem in the future please take note of the following guidelines to help mitigate any issues related to unreliable storage layers or server failures.

Thank you,
Kelsey

Comment by wuqinghua [ 22/May/18 ]

Thank you! Can still report the same error Is the other file damaged?

Comment by Ramon Fernandez Marina [ 21/May/18 ]

wu_qing_hua, I've attached a file containing the results of an attempted repair. Please extract it on your dbpath and see if you can start MongoDB again.

Regards,
Ramón.

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