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

Add support for future returning rpc on task executor

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.3 Desired
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: