Improve assert_util classes and implementation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Unassigned
              Reporter:
              Tyler Seip (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: