Currently, the resolved namespaces in ExpressionContext are stored in a StringMap<ResolvedNamespace> where the keys are collection names. However, since collection names aren't unique across databases, we can sometimes retrieve the wrong resolved namespace for a collection when there are multiple collections with the same name involved in a query.
- has to be done before
-
SERVER-100732 Consider not inserting namespaces twice in the resolvedNamespace map
-
- Backlog
-
- is depended on by
-
SERVER-96107 $lookup, $graphLookup, and $unionWith can read from the wrong database when run with $merge or $out
-
- Closed
-
- related to
-
SERVER-96107 $lookup, $graphLookup, and $unionWith can read from the wrong database when run with $merge or $out
-
- Closed
-