Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32259

Improve error handling for fetchTypeAndSourceURI()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.3, 3.7.2
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Linked BF Score:
      0

      Description

      WiredTigerUtil::fetchTypeAndSourceURI() is using invariant(colgroupResult.isOK()) instead of invariantOK(colgroupResult). This means if the invariant ever fires, we don't know what the bad Status actually was.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ian.whalen Ian Whalen
              Reporter:
              milkie Eric Milkie
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: