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

Convert ExitCode::fail's to more descriptive values

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      There are currently 64 references to ExitCode::fail, whose value is 1. However, using a catch-all exit code like fail for the mongod or a related process is not as helpful as a descriptive code like `badOptions` or `netError`. These descriptive exit codes point to the general class of the issue and can be greatly helpful to anyone debugging a server crash or unexpected exit.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: