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

Expand TaskExecutor to implement scheduleExhaustRemoteCommand()

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • Internal Client
    • None
    • Fully Compatible
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: