[SERVER-24530] Use invariant rather than verify in mutable bson Created: 12/Jun/16  Updated: 05/Jul/16  Resolved: 13/Jun/16

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.3.9

Type: Improvement Priority: Minor - P4
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 16 (06/24/16)
Participants:

 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.



 Comments   
Comment by Githook User [ 13/Jun/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-24530 Use invariant instead of verify in mutable bson

Also, mark the non-throwing termination points in assert_util noexcept
Branch: master
https://github.com/mongodb/mongo/commit/642dda763795d7c62753e6e6391b30b1670612b4

Generated at Thu Feb 08 04:06:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.