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

change_streams_resume_at_same_clustertime.js should not assume same that multi-update across shards are performed at the same clusterTime

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.7, 4.1.9
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • 11

    Description

      This check assumes that a multi-update that performed outside of a transaction, on sharded cluster, will result in all writes occurring at the same cluster time. This is an incorrect assumption as each write will be performed at the individual shard's cluster time. I believe we should change this check to be an assert.gte().

      Attachments

        Issue Links

          Activity

            People

              james.wahlin@mongodb.com James Wahlin
              james.wahlin@mongodb.com James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: