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

Add support for async command execution to Mongos

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: