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

Include resource when error occurs

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.0.0-rc7
    • Storage, WiredTiger
    • None
    • Storage Execution

    Description

      In SERVER-17145 an error message was logged without enough context:

       Invariant failure: ret resulted in status UnknownError 2: No such file or directory at src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp 438

      Please improve error messages in wired tiger to include the resource, like filename/table/etc., in the error message.

      In this example an error message like this would be preferred:

      No such file or directory (file:/dir/file.wt, table:blah)

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: