[DOCS-11248] Docs for SERVER-25345: Replace all wasserts Created: 24/Jan/18  Updated: 29/Oct/23  Resolved: 13/Apr/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 3.7.2

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, output, platforms-interns-2017, serverstatus
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

https://docs.mongodb.com/manual/reference/command/serverStatus/


Issue Links:
Documented
documents SERVER-25345 Replace all wasserts Closed
Participants:
Days since reply: 5 years, 43 weeks, 5 days ago
Epic Link: DOCS: 4.0 Server
Story Points: 0.3

 Description   

Description

asserts.warning in serverStatus output will now always be 0 since it is unused. The field was left in for backwards compatibility with old versions.

Scope of changes (files that need work and how much)

  • serverStatus page (per search)
  • release notes

Impact to other docs outside of this product

Will check with Cloud team on Monday's meeting – should know answer by 12.08pm.

MVP (work and date?)

Resources (e.g. Scope Docs, Invision)

Engineering Ticket Description:

There are about a couple dozen wasserts, most of them don't do anything. We should replace them with invariant/fasserts or uasserts to avoid confusing behavioral difference debug and non-debug builds.

We're also not hitting any wasserts in our test suites.

We could consider adding test coverage for some of these cases.



 Comments   
Comment by Githook User [ 13/Apr/18 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'kay', 'username': 'kay-kim'}

Message: DOCS-11248: asserts.wranings = 0
Branch: master
https://github.com/mongodb/docs/commit/455d65d87243fb051e0810cf1501137e642c8e3b

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