[SERVER-49082] Replace uassert() with internalAssert() for internal assertions Created: 24/Jun/20  Updated: 06/Dec/22  Resolved: 30/Jun/20

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

Type: Improvement Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Backlog - Service Architecture
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-48922 Create internal assertion macro Closed
Assigned Teams:
Service Arch
Participants:

 Description   

With the introduction of the new assertion macro (i.e., internalAssert), we should spot any usage of uassert in the code-base that must be replaced with an internalAssert.

This change helps with avoiding unnecessary changes to the user assertions statistics and reducing the noise in mongo logs.



 Comments   
Comment by Mira Carey [ 30/Jun/20 ]

Rather than do this ticket, I'd prefer to email the rest of kernel and tackle these call sites on an ongoing basis, rather than trying to do it all in one ticket

Generated at Thu Feb 08 05:18:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.