[SERVER-51690] Add support for async command execution to Mongos Created: 16/Oct/20 Updated: 29/Oct/23 Resolved: 24/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Amirsaman Memaripour | Assignee: | Amirsaman Memaripour |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30 |
| Participants: |
| 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. |
| Comments |
| Comment by Githook User [ 24/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 18/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 17/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 05/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |
| Comment by Githook User [ 02/Nov/20 ] |
|
Author: {'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}Message: |