[SERVER-30702] Stop printing stack traces in masserts Created: 16/Aug/17  Updated: 30/Oct/23  Resolved: 18/Aug/17

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: 3.2.19, 3.4.11, 3.5.12

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2
Sprint: Repl 2017-08-21
Participants:

 Description   

It will continue to log the error before throwing at log level 0. This will be the only difference between massert and uassert, following the work in SERVER-30580



 Comments   
Comment by Githook User [ 02/Jan/18 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'redbeard0531@gmail.com'}

Message: SERVER-30702 Stop printing stack traces on massert failures

Manual backport of 5aa60782cebed045a316b5cd6706be726178ce09 without the
removal of the now-redundant NoTrace variants.

(cherry picked from commit 98471797559d6c907a18d5e4e86a68c459843055)
Branch: v3.2
https://github.com/mongodb/mongo/commit/8a1030897ad076b2443827a325fbe9111835ae39

Comment by Githook User [ 21/Dec/17 ]

Author:

{'name': 'Mathias Stearn', 'email': 'redbeard0531@gmail.com', 'username': 'RedBeard0531'}

Message: SERVER-30702 Stop printing stack traces on massert failures

Manual backport of 5aa60782cebed045a316b5cd6706be726178ce09 without the
removal of the now-redundant NoTrace variants.
Branch: v3.4
https://github.com/mongodb/mongo/commit/98471797559d6c907a18d5e4e86a68c459843055

Comment by Githook User [ 18/Aug/17 ]

Author:

{'username': 'RedBeard0531', 'email': 'mathias@10gen.com', 'name': 'Mathias Stearn'}

Message: SERVER-30702 Stop printing stack traces on massert failures

The NoTrace variants were removed as they are now redundant.
Branch: master
https://github.com/mongodb/mongo/commit/5aa60782cebed045a316b5cd6706be726178ce09

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