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

Starting mongod on dbpath with journal shouldn't advise repair

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Admin, Storage
    • Labels:
      None
    • ALL

      Suppose you're running with --dur, that you then have an unclean shutdown. If you manage to start a mongod and forget --dur, the mongod exits with the old message about removing the lock file and running repair. Ideally we shouldn't tell people to run repair if they've got a journal, but should instead tell them to run with --dur, as we do if they start up without --dur and the journal exists but the lock file doesn't.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: