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

Review WT_PANIC usage

    XMLWordPrintable

    Details

    • Type: Technical Debt
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.4.0-rc4, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      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

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: