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

panic mutex and other functions that cannot fail

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.12, 3.2.10
    • 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: