Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3955

Add verbose option to log more messages on error returns

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.9, 4.0.2, 4.1.2, WT3.2.0
    • Component/s: None
    • Labels:
    • Sprint:
      Storage NYC 2018-06-18, Storage NYC 2018-07-02, Storage NYC 2018-07-16
    • Backport Requested:
      v4.0

      Description

      Some error returns from the WiredTiger library don't normally print out error messages, since they can happen in situations that are expected by the calling application. Occasionally it is very helpful in debugging a problem to know the specific source of an error code.

      We could add a new verbose=[error_returns] configuration option, that would change the WT_RET and WT_ERR macro families to log a message if the error code is not WT_NOTFOUND or WT_ROLLBACK. The macros could start printing out line and file numbers along with the error code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel.gottlieb Daniel Gottlieb
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: