[SERVER-40765] Add support for future returning rpc on task executor Created: 22/Apr/19 Updated: 08/Jan/24 Resolved: 22/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Backlog - Service Architecture |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||||||
| 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 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| 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) |
| Comments |
| Comment by Benjamin Caimano (Inactive) [ 22/Nov/19 ] |
|
This ticket is too stale to be a viable tracker for future work. We do not have future returning scheduleRemoteCommand at the moment. That said, we do have SERVER-40794 queued up for the future, and it is an ideal place to handle this sort of work. |
| Comment by Gregory McKeon (Inactive) [ 13/May/19 ] |
|
jesse is there more work to do here? |
| Comment by Githook User [ 04/May/19 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: |