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

Add support for async command execution to Mongos

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30

      The command execution path for Mongos starts from here, and ends in the invocation of CommandHelpers::runCommandInvocation (here and here).

      To add support for asynchronous command execution, this path should replace inline executions with returning futures that can be scheduled on an executor.

      Next, invocations of CommandHelpers::runCommandInvocation should be replaced with CommandHelpers::runCommandInvocationAsync to allow utilizing async implementations of commands, when available.

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

              Created:
              Updated:
              Resolved: