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

Expand TaskExecutor to implement scheduleExhaustRemoteCommand()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • Fully Compatible
    • Sharding 2020-02-10, Sharding 2020-02-24

      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().

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: