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

ConnectionString shouldn't use verify()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.8
    • Internal Code
    • None
    • Fully Compatible
    • Sharding 15 (06/03/16)
    • 0

    Description

      verify() is non-fatal on production builds but fatal on debug builds, which makes it very difficult to use correctly. We should replace the usages of verify() in ConnectionString with uassert(), at least until we can get rid of all assertions from ConnectionString and use Status returns instead.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: