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

panic mutex and other functions that cannot fail

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.9.0, 3.2.10, 3.3.12
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            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: