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

Avoid duration overflow inside PeriodicRunner thread

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • ALL

    Description

      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

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: