-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
ALL
-
CAR Team 2024-03-18
The execution of the $_internalOwningShard aggregation expression requires the fetching of up-to-date routing information in a context that does not allow to wait for the completion of an inflight cache refresh.
Such a logic should have to deal with situations where the returned CollectionRoutingInfo is stale or absent (this may happen in case $_internalOwningShard gets invoked right after the targeted collection gets sharded, which only triggers an asynchronous refresh of the routing info), but currently only the first condition is checked - and a tassert is instead hit when the latter one materialises.
- is depended on by
-
SERVER-84243 Dedicate a catalog cache and loader to the shard role
- In Progress