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

Don't crash the server when a database is missing

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • Labels:
      None
    • ALL
    • 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.

      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.

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            chris.kuethe@gmail.com Chris Kuethe
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: