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

Missing data directory is not indicated as error

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.2.9
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • ALL

      When I start mongod and data directory is missing, I have the following log entry:

      2020-09-26T15:17:12.078-0400 I  STORAGE  [initandlisten] exception in initAndListen: NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the 'storage.dbPath' option in the configuration file., terminating
      

      The entry is logged with informational severity (I) but it is an error.

      As a user of the server I expect error entries to be logged with error severity.

      This issue does not exist in 4.4 - the severity there is error.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: