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

Record system errors we die on

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Diagnostics, Usability
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      verify(<system_call> == 0) doesn't say why it failed, only that it did. Printing (for linux) strerror would be helpful in these situations.

      For example:
      https://github.com/mongodb/mongo/blob/master/src/mongo/db/initialize_server_global_state.cpp#L87

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: