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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ramon Fernandez
            Reporter:
            Ramon Fernandez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: