[SERVER-24343] When PC reboot, mongodb is not shutdown cleanly, then mongodb failed to recover. Using WT storage engine Created: 01/Jun/16 Updated: 14/Aug/18 Resolved: 02/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | 3.2.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | tianlei.shi | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | envns, rpo, wtc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
db version v3.2.0 |
||
| Attachments: |
|
| Operating System: | Linux |
| Participants: |
| Description |
|
Mongodb works fine at first.
|
| Comments |
| Comment by Kelsey Schubert [ 02/Jun/16 ] |
|
Additionally, our recommendations for stopping MongoDB can be found here. To ensure a clean shutdown, please follow one of the methods listed. Thanks, |
| Comment by Ramon Fernandez Marina [ 02/Jun/16 ] |
|
The underlying storage layer, from the filesystem to the physical devices, need to offer certain durability guarantees for MongoDB to work properly. For more details please see the MongoDB Production Notes. Regards, |
| Comment by tianlei.shi [ 02/Jun/16 ] |
|
I'll use a backup then. According to your comments, database will be probably corrupted in the event of a power loss for XFS. Thanks, |
| Comment by Ramon Fernandez Marina [ 01/Jun/16 ] |
|
litmus, you may try to run mongod --repair, but please note the following:
That being said, please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. I'll keep the ticket open a bit longer if you want to explore the repair attempt but, in the future, a question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Thanks, |
| Comment by tianlei.shi [ 01/Jun/16 ] |
|
Our file system is XFS, we're using RAID-5. |
| Comment by tianlei.shi [ 01/Jun/16 ] |
|
We don't have a replica. |