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

Improve error handling for fetchTypeAndSourceURI()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.3, 3.7.2
    • Storage
    • Fully Compatible
    • ALL
    • v3.6
    • 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

              ian@mongodb.com Ian Whalen
              milkie@mongodb.com Eric Milkie
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: