[SERVER-14898] validate() and repairDatabase() may fassert() and shut down Created: 14/Aug/14  Updated: 09/Apr/15  Resolved: 19/Aug/14

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

Type: Bug Priority: Major - P3
Reporter: Ramon Fernandez Marina Assignee: Ramon Fernandez Marina
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-15759 Do not fassert on invalid "next recor... Closed
Related
Operating System: ALL
Participants:

 Description   

validate() and repairDatabase() may crash the server upon encountering certain types of data corruption.

If stopping mongod is a desirable behavior (e.g.: XFS shuts down filesystems when it finds corruption to prevent further damage), this could be changed to an improvement to provide a suitable error message instead of a stack trace.

Note that mongod --repair is also affected by this behavior.



 Comments   
Comment by Ramon Fernandez Marina [ 19/Aug/14 ]

I understand this is expected behavior when mongod finds data corruption in database files, so I'm closing this ticket as "works as designed"

Generated at Thu Feb 08 03:36:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.