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

Record system errors we die on

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Diagnostics, Usability
    • None
    • 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

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: