[SERVER-44951] Expand TaskExecutor to implement scheduleExhaustRemoteCommand() Created: 04/Dec/19 Updated: 29/Oct/23 Resolved: 24/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Janna Golden |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Sharding 2020-02-10, Sharding 2020-02-24 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Tailable cursors are not directly supported by the TaskExecutor interface or the NetworkInterface. We should add a new version of scheduleRemoteCommand() that issues getMore commands and calls its callback each time it gets more response data. For an example of query exhaust, see here. Ideally, after this work, we would be able to phrase a similar integration test using ThreadPoolTaskExecutor::scheduleExhaustRemoteCommand(). |
| Comments |
| Comment by Githook User [ 22/Feb/20 ] |
|
Author: {'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}Message: |