Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48922

Create internal assertion macro

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 4.4.0-rc12, 4.7.0
    • None
    • None
    • Fully Compatible
    • v4.4
    • Service arch 2020-06-29

    Description

      We now have patterns where we expect failure like here, where failure might be recoverable like here, or where failure accounting isn't interesting like here. We should provide a new macro, internalAssert(), that logs at something like D3 instead of D1 and does not increment counters (see here). We should prove this out by confirming that awaitable isMaster jstests (see here) on both mongod and mongos do not increment the assertion counter.

      Attachments

        Issue Links

          Activity

            People

              amirsaman.memaripour@mongodb.com Amirsaman Memaripour
              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: