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

NetworkInterface::setAlarm should be cancellable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2019-02-25, Service Arch 2019-03-11
    • 7

      The NetworkInterface::setAlarm method isn't cancellable, while TaskExecutor::scheduleWorkAt is.

      And because scheduleWorkAt wraps setAlarm, this causes patterns that repeatedly schedule work and then cancel it to slowly accumulate many many timers that eventually time out.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: