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

Expand TaskExecutor to implement scheduleExhaustRemoteCommand()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.4
    • Component/s: Internal Client
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2020-02-10, Sharding 2020-02-24

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: