-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Sharding 2020-03-23, Sharding 2020-04-06
The locks acquired here:
do not cover the entire lifetime of the ScopedCollectionMetadata. Thus it is possible that we are accessing the metadata after that it have been actually dropped.
We should instead access directly the routing info here that doesn't require any lock mechanism.
- is depended on by
-
SERVER-46703 Make a variant of checkShardVersionOrThrow which doesn't treat UNKNOWN shard version as UNSHARDED
- Closed