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

Always set an initial postBatchResumeToken

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.7, 4.1.7
    • Aggregation Framework
    • None
    • Fully Compatible
    • v4.0
    • Query 2018-12-31, Query 2019-01-14

    Description

      This is intended to allow a $changeStream aggregation on mongoD to return a postBatchResumeToken even when the batchSize is 0. In turn, this will allow the initial aggregate on mongoS to return a valid postBatchResumeToken, despite the fact that it never waits for any actual results from the shards.

      Attachments

        Issue Links

          Activity

            People

              bernard.gorman@mongodb.com Bernard Gorman
              bernard.gorman@mongodb.com Bernard Gorman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: