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

Make command execution mindful of the threading model

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service Arch 2021-03-08

    Description

      The asynchronous implementations for the buildInfo command are designed to work with the fixed-thread pool for client connections. However, they are currently in the default execution path and unaware of the threading model (defined here).

      We should have the execution to fallback to the synchronous implementation for dedicated threading models. This ticket should change the invocations of CommandHelpers::runCommandInvocationAsync in strategy.cpp and service_entry_point_common.cpp to fallback to CommandHelpers::runCommandInvocation for dedicated threading models.

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: