Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11248

Docs for SERVER-25345: Replace all wasserts

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 43 weeks, 5 days ago