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

Include resource when error occurs

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.0-rc7
    • Component/s: Storage, WiredTiger
    • Labels:
      None
    • Storage Execution

      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)
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: