Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-96197

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.0.15, 6.0.19, 8.0.3
    • Component/s: None
    • None
    • Query Execution
    • ALL

      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@mongodb.com Parker Felix
            Reporter:
            parker.felix@mongodb.com Parker Felix
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: