The non-suboperation path of AutoGetCollectionForReadLockFreePITCatalog performs DBVersion check after it has already attempted to resolve a UUID into a Namespace. This means that operations, which target unsharded collections by UUID, such as internal local reads in query, will hit the NamespaceNotFound error before the DBVersion mismatch one and won't get a chance to retarget.
- is depended on by
-
SERVER-74816 Unnecessary call to `checkOnPrimaryShardForDb' in `attachCursorToPipeline`
- Closed
- is related to
-
SERVER-75634 The logic in attachCursorSourceToPipelineForLocalRead performs shard versioning by UUID
- Closed