ExpressionContext's _resolvedNamespaces can't distinguish between collections with the same name in different dbs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10
    • Affects Version/s: 7.0.15, 6.0.19, 8.0.3
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Parker Felix
            Reporter:
            Parker Felix
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: