-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
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