-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
v8.0
-
Sharding EMEA 2023-10-30
In SERVER-80372, the checks for taking the ScopedAllowImplicitCollectionCreate_UNSAFE are using ShardingState::get(opCtx)->isComingFromRouter to determine whether a connection is a direct shard connection and so should be allowed to create a local (untracked) collection.
This isn't a good way to check for direct connections because it will also return false during ddl operations, for example. This ticket is to update the check in the scoped acquisitions to correctly check for direct connections.
- is depended on by
-
SERVER-83214 Handle direct connection database and collection registration on upgrade from RS
- Closed