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

Update DBClientCursor::_postBatchResumeToken when running an aggregate command and pass it to the callback function in RSLocalClient::runAggregation

    XMLWordPrintableJSON

Details

    • Sharding NYC
    • 3

    Description

      Currently we don't set _postBatchResumeToken on DBClientCursor for an aggregate command. We should, and then should pass it to the callback function in RSLocalClient::runAggregation to allow a resharding recipient that is fetching from itself (because it's also a donor) to resume more efficiently.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding-nyc Backlog - Sharding NYC
              janna.golden@mongodb.com Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: