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

Review WT_PANIC usage

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc4, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage - Tora 2020-05-04

      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

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: