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

Create skeleton implementation for free function that remotely invokes IDL commands

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-07-11, Service Arch 2022-07-25

    Description

      In this ticket, create a free function that accepts an IDL-defined command type and an operation context and executor. The function should remotely invoke (i.e. send) the command to a (for now) hard-coded host, and return a future to the user that will be set with the response received for the command or set with an error. For now, the targeted host can be hard-coded or use a localhost targeter, and no retry logic or error processing logic needs to be implemented. 

      This will serve as the 'core'/skeleton of the part of the async-remote-command-running API, and we will add retry logic, more complex targeting capabilities, more sophisticated error processing etc later. To test this, consider using the NetworkInterfaceMock infrastructure to write unittests.

      Attachments

        Activity

          People

            erin.mcnulty@mongodb.com Erin McNulty
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: