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

Remove ShardVersion::IGNORED()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20

      ShardVersion::IGNORED() is used for multi-writes that are not part of a transaction. These writes are broadcast to all shards with ShardVersion::INGORED() which tells the shards to ignore the shard versioning checks.

      As part of the global indexes project, we are adding an index version to the shard version. We have decided that instead of creating a ShardVersion::IGNORED() and an CollectionIndexes::IGNORED(), we will send ShardVersion(ChunkVersion::IGNORED(), indexVersion) where indexVersion is a valid version for multi updates.

      This ticket is to remove ShardVersion::IGNORED() and make sure that the usages of this are attaching and handling the index version correctly

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: