[SERVER-53610] system crashed; mongodb kept restarting but could never start Created: 04/Jan/21  Updated: 08/Feb/21  Resolved: 08/Feb/21

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

Type: Bug Priority: Major - P3
Reporter: Kevin Higgins Assignee: Edwin Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

was running on OSX. Docker shows this:
5168dc21c882 mongo:3.6.1 "/usr/bin/mongod --b…" 8 minutes ago Restarting (14) 42 seconds ago lair_db


Attachments: File WiredTiger-repair.tar.gz     File WiredTiger.turtle     File WiredTiger.wt    
Participants:

 Description   

Problem Description

Over the weekend my system crashed while mongodb was running. Upon starting the system, and the dockerized container, mongodb kept restarting but could never start. I believe this corrupted the WiredTiger.wt and WiredTiger.turtle files.

Steps to Reproduce

Expected Results

Actual Results

Additional Notes



 Comments   
Comment by Edwin Zhou [ 08/Feb/21 ]

Hi kevinphiggi@gmail.com,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Edwin

Comment by Edwin Zhou [ 26/Jan/21 ]

Hi kevinphiggi@gmail.com,

Were you successful in restoring your node? We'd like to hear back from you!

Thanks,
Edwin

Comment by Edwin Zhou [ 12/Jan/21 ]

Hi kevinphiggi@gmail.com,

Please make a complete copy of the database's $dbpath directory to safeguard so that you can work off of the current $dbpath.

The ideal resolution is to perform a clean resync from an unaffected node.

You can also try mongod --repair using the latest version of MongoDB.

I've also attached a repair attempt of the files you provided as WiredTiger-repair.tar.gz. Please extract these files, replace them in your $dbpath, and let us know if it resolves the issue.

Best,
Edwin

Generated at Thu Feb 08 05:31:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.