-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 8.1.0-rc0, 8.0.0-rc16
-
Component/s: None
-
None
-
Query Execution
-
1
When the aggregation machinery needs to fetch the collation for an untracked collection, a listCollections command is sent to the dbPrimary.
The problem is that we are not attaching the dbVersion to this listCollections command, therefore, if there is any change on the dbPrimary location, we may target the wrong shard without noticing it.
In case of targeting an old primary shard, we'll return the default collation.
- is caused by
-
SERVER-85965 Fetch collation from primary shard when outer collection of $lookup is untracked but inner collection lives on a different shard
- Closed