-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2020-04-20
SERVER-45781 introduced the assurance of getting the latest collection description metadata available on the shard. This implies that if the metadata is unknown, then a Stale Shard Version Exception will be thrown. As part of the Exception construction a shardId must be provided. Currently the ServiceContext is being captured at the constructor, which is being used to get the ShardingState, however, there is an invariant that can be hit if for example a server with
--shardsvr
does some operations before being added into a cluster.
- depends on
-
SERVER-45781 Throw Stale Shard Version when collection is unknown on getCollectionDescription
- Closed
- is depended on by
-
SERVER-32198 Missing collection metadata on the shard implies both UNSHARDED and "metadata not loaded yet"
- Closed
-
SERVER-47523 Upsert stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription
- Closed