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

Review WT_PANIC usage

    XMLWordPrintable

Details

    • Technical Debt
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.4.0-rc4, 4.7.0
    • None
    • None
    • 5
    • Storage - Tora 2020-05-04

    Description

      Using WT_RET/ERR_ASSERT with WT_PANIC is insufficient.

      To panic the system, calling one of the WT_RET/ERR_ASSERT macros with the WT_PANIC error isn't sufficient, we need to call the underlying "panic the system" routine, wt_panic.

      The best fix might be to add a WT_PANIC_ASSERT macro, and review all places we set WT_PANIC.

      cc: luke.pearson

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic
            keith.bostic@mongodb.com Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: