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

Adding a new shard renders all preceding resume tokens invalid

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Query 2019-07-29

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: