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

NetworkInterface::setAlarm should be cancellable

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.9
    • None
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2019-02-25, Service Arch 2019-03-11
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: