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

panic mutex and other functions that cannot fail

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.10, 3.3.12
    • None
    • 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

            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: