Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Sharding 2020-03-23, Sharding 2020-04-06
Description
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.
Attachments
Issue Links
- is depended on by
-
SERVER-46703 Make a variant of checkShardVersionOrThrow which doesn't treat UNKNOWN shard version as UNSHARDED
-
- Closed
-