[SERVER-33659] add no-trace variant fassertStatusOK that accepts StatusWith Created: 05/Mar/18  Updated: 29/Oct/23  Resolved: 06/Mar/18

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-34364 add Status support to invariant() Closed
is related to SERVER-19905 Change optime "term" field to "t", an... Closed
is related to SERVER-24635 Remove duplicate fassert w/status fun... Closed
is related to SERVER-17802 add fassertStatusOK for StatusWith Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-12
Participants:

 Description   

This supports code that require the passthrough semantics of fassertStatusOK(magic, StatusWith<T>) but do not want the backtrace functionality.



 Comments   
Comment by Githook User [ 06/Mar/18 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-33659 add fassertNoTrace overload that accepts StatusWith
Branch: master
https://github.com/mongodb/mongo/commit/1b515e98b246eabc5cbfe68cec18162b1ab7584e

Comment by Benety Goh [ 05/Mar/18 ]

Various forms of fassertStatusOK() were introduced in SERVER-17802 and SERVER-19905 (commit) in 2015.

fassert(Status) was introduced in 2013 in commit c09abfd19ee0787f505e17d1c50c24ec049e88f5

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