[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: |
|
||||||||||||
| 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" |