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

Improve assert_util classes and implementation

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

      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 Unassigned
            Reporter:
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: