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

Use invariant rather than verify in mutable bson

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.3.9
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Platforms 16 (06/24/16)

    Description

      All of the verify(ok) calls in mutable/document.cpp are intended to have the semantics of invariant. Since invariant is preferred over verify, they should be updated to call invariant instead.

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: