-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding EMEA 2023-08-07
Currently the routing table have the isSharded verification, but after the changes of SERVER-78755 we need to also consider if there is a routing table present in order to properly route commands to appropriate shard. We could do something similar to this POC, rename the function to consider whether there is a routing table present or not.
Eventually all collections will have a proper routing table, but for now, this is an intermediary step necessary to check and modify all dependent code.
- depends on
-
SERVER-78755 Add an optional<bool> `unsplittable` field to `config.collection` entries
- Closed
- is depended on by
-
SERVER-79312 Make CollectionRoutingInfoTargeter able to target unsharded collections outside the db-primary shard
- Closed