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

Don't crash the server when a database is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Usability
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1) create a database in directory per db mode
      2) shutdown server
      3) move database out of the way
      4) restart server
      5) observe assertion failure.

      Show
      1) create a database in directory per db mode 2) shutdown server 3) move database out of the way 4) restart server 5) observe assertion failure.

      Description

      Recently a hard system crash corrupted one of my databases. While I'm trying to figure out which database is corrupt and in need of repair, and to prevent unnecessary repairs to a clean database I'd like to just move it out of the way. Unfortunately that causes an assertion failure. This doesn't seem like a good reason to take down the whole mongod when the other databases could still be perfectly usable.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: