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

Address issues with ClockSource::setAlarm() and ClockSourceMock::_processAlarms()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service Arch 2022-03-07
    • 2

      ClockSource::setAlarm() is only used in testing code here and here. The function itself might be more effective in a different form since it always deviates the code flow from the normal behavior. The function as is should probably be converted to throw instead of return a status. In addition, ClockSourceMock has issues with its implementation that might launch alarms out of order.

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

              Created:
              Updated:
              Resolved: