Make command execution mindful of the threading model

XMLWordPrintableJSON

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

      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
            Reporter:
            Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: