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

Convert ExitCode::fail's to more descriptive values

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: