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

Adding a new shard while awaiting a future startAtOperationTime can result in unexpected $changeStream events

    • Query Execution
    • ALL

      If the user opens a change stream at a point in the future, and then adds a new shard before the cluster reaches that time, then the stream on the new shard will be opened at the current clusterTime. The stream will therefore be able to see events on the new shard even if these events precede the user's requested startAtOperationTime. The postBatchResumeToken returned to the client will also revert back-in-time to the current clusterTime.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: