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

Always set an initial postBatchResumeToken

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.7, 4.1.7
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • v4.0
    • Query 2018-12-31, Query 2019-01-14

      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.

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

              Created:
              Updated:
              Resolved: