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

Thread pool task executor ignores errors returned from startCommand()

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2017-12-18, Platforms 2018-01-01, Platforms 2018-01-15

      Description

      If NetworkInterfaceASIO is in shutdown, it will return an error from startCommand(). The ThreadPoolTaskExecutor ignores such errors. This could possibly lead to hangs, if a calling thread starts a command after shutdown has been called, because NetworkInterfaceASIO will never do that work or call its callback.

        Attachments

          Activity

            People

            Assignee:
            ben.caimano Benjamin Caimano
            Reporter:
            samantha.ritter Samantha Ritter
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: