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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.7, 4.1.9
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: