-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding EMEA 2022-07-25, Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05
Currently in order to obtain the collection metadata information in a shard role we use the collection metadata object which contains a chunk manager.
We access this through the collection sharding state, so, add a new getter to obtain the index version, which should follow the value written in disk in config.shard.collections and recovered on startup, similarly to how the recoverable critical section works.