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

Priortizing of errors

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.4.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Code that looks like this can mask hard errors with non-fatal errors
      if (t_ret = ... && ret == 0)
      ret - t_ret;

      If ret is originally non-zero but something like WT_NOTFOUND (< 0) but t_ret comes back with a system error (> 0), the system error should take priority and force the user to abort.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: