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

Report WT_ERR failure points, or put breadcrumbs to figure them from the core

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable

      It would be useful to report file:line in WT_ERR macros, because when you look at backtrace sometimes it's hard to see which line got us to err:

      Given a backtrace / core, or a reported failure, how do we know what was the initial failure point in the code. We use WT_ERR macros to unwind the stack on a failure, but we do not track the failure point as such. Given a failure, or a core we should make it easier to debug the original point of failure that started the WT_ERR unwinding.

      This ticket will brainstorm ideas around solving this problem.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: