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

Shards do not treat the IGNORED version as "intended sharded"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.15, 4.0.13, 4.2.1
    • Fix Version/s: 4.2.3, 4.3.3, 4.0.17
    • Component/s: Sharding
    • Labels:
      None

      Description

      Currently, multi-writes in sharding attach shardVersion: IGNORED for multi-writes, which need to be broadcast to more than one shard. Shards, upon receiving shard version IGNORED, unconditionally treat it as "a match" and allow the operation to proceed without triggering a refresh.

      In combination with SERVER-32198, this causes the side effect that if a shard is restarted, multi-writes writes will not trigger a refresh on the shard and the shard will treat the collection as unsharded, thus not writing the shard key to the oplog entries. This in turn impacts any change streams on that collection.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marcos.grillo Marcos José Grillo Ramirez
              Reporter:
              kaloian.manassiev Kaloian Manassiev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: