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

tassert() should print a backtrace to the logs on failure

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • None
    • Fully Compatible
    • Query Execution 2021-05-17

    Description

      Like invariant(), the new tassert() assertion type is indicative of a programming error when it fails. Also like invariant(), tassert() should log a backtrace. That way, if customers encounter a tassert() failure, or if tassert() fails in our testing environment, the backtrace will give us useful information for starting to diagnose the bug.

      Attachments

        Activity

          People

            jennifer.peshansky@mongodb.com Jennifer Peshansky (Inactive)
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: