Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14898

validate() and repairDatabase() may fassert() and shut down

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • ALL

    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.

      Attachments

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: