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

Thread pool task executor ignores errors returned from startCommand()

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: