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

NetworkInterface::setAlarm should be cancellable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Service Arch 2019-02-25, Service Arch 2019-03-11
    • Linked BF Score:
      7

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: