Include resource when error occurs

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: