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

Improve assert_util classes and implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • Service Arch

    Description

      In SERVER-53135, a number of improvements were identified by billy.donahue, outlined primarily inĀ this CR. A short (non-exhaustive) summary of the proposed changes:

      • Remove the constructor for AssertionCount (it requires no special initialization and we are currently erroneously missing tripwire initialization)
      • Add tripwire to the rollover logic
      • Add proper methods to AssertionCount to increment and handle rollovers of each sub-AtomicWord
      • Keep a ring buffer of tripwire occurrences and dump them again upon checking them
      • Dump tripwire occurrences during the myTerminate termination handler

      Attachments

        Issue Links

          Activity

            People

              backlog-server-servicearch Backlog - Service Architecture
              tyler.seip@mongodb.com Tyler Seip (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: