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

panic mutex and other functions that cannot fail

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.2.10, 3.3.12
    • Component/s: None
    • Labels:
      None

      Description

      We can simplify error handling in WiredTiger by changing mutex and other functions that should never fail to return void instead of int, and setting panic inside the function if it ever fails, instead of trying to handle/continue on error.

        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: