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

Make command execution mindful of the threading model

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2021-03-08

      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.

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

              Created:
              Updated:
              Resolved: