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

Adding a new shard renders all preceding resume tokens invalid

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Query 2019-07-29
    • Case:

      Description

      In DocumentSourceShardCheckResumability, we verify that the first entry in each shard's oplog precedes the resume token in order to guarantee that the resumed stream does not skip any events. If we are resuming from a point in time before one of the shards in the cluster was added, then the first entry in that shard's oplog will always be later than the resume token, and will always fail this check. This renders the stream unresumable from any point before the shard was added.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: