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

Thread pool task executor ignores errors returned from startCommand()

    • Fully Compatible
    • ALL
    • Platforms 2017-12-18, Platforms 2018-01-01, Platforms 2018-01-15

      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.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: