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

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: