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

Add support for future returning rpc on task executor

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.0
    • Networking
    • None
    • Fully Compatible
    • v4.2
    • Service Arch 2019-04-22, Service Arch 2019-05-06, Service Arch 2019-05-20, Service Arch 2019-06-03

    Description

      Add support for some kind of future returning scheduleRemoteCommand on task executor (the simplest cut would be pair<SemiFuture<Response>, CallbackHandle>)

      This is to enable use of task executors with futures, as currently you're required to make the promise/future pair yourself, and have to pass your promise in through a shared_ptr (because callbacks have to be copyable)

      Attachments

        Issue Links

          Activity

            People

              backlog-server-servicearch Backlog - Service Architecture
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: