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

Always set an initial postBatchResumeToken

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.7, 4.1.7
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved: