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

Avoid duration overflow inside PeriodicRunner thread

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      It's not clear whether PeriodicRunner expects its jobs to not throw exceptions. But aside from that, the actual PeriodicRunnerImpl can throw exceptions, which crashes the server in some unit tests.

      If a unit test advances the system clock far ahead of time, this calculation can overflow

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: