[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: |
|
||||||||
| 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 |