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

Create internal assertion macro

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 4.4.0-rc12, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.4
    • Service arch 2020-06-29

      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.

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

              Created:
              Updated:
              Resolved: