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
-