-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20, Sharding EMEA 2023-03-06
The constructor of the ShardVersion takes in a ChunkVersion and a CollectionIndexes. We should either pass in a ChunkManager and a CollectionIndexes or additionally pass in the UUID with the chunk version so that we can add in a check in the constructor that the UUID from the chunk version and index version match.
Note that we won't be able to check this if the index version is boost::none, but we should add the checks for all initialized chunk versions.