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

Resume token returned by mongoS can be earlier than user-specified resume point

    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-05-04, Query 2020-05-18, Query 2020-06-01

      In cases where a resume token or starting time is specified when opening a change stream, the postBatchResumeToken returned with the first batch must always be at least equal to the specified resume point, even if the batch itself is empty. However, if the user opens a change stream on mongoS with a startAtOperationTime at a point in the future (which is perfectly legal), then the stream will return high-water-mark PBRTs that reflect the current clusterTime rather than waiting until the clusterTime exceeds startAtOperationTime.

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

              Created:
              Updated:
              Resolved: