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

Always execute ThreadPoolTaskExecutor callbacks on thread pool threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2019-04-22, Service Arch 2019-05-06
    • 5

    Description

      Rather than relying on failure to schedule work onto the background thread pool as the mechanism for failing scheduled (but not run callbacks), wait to join the executor until after all jobs have cleared through.

      I.e. join the thread pool in task executor join(), after all pool processing jobs are gone, instead of in shutdown()

      Attachments

        Issue Links

          Activity

            People

              jason.carey@mongodb.com Jason Carey
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: