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

Fix userNss passed to buildPipelineFromViewDefinition() in DocumentSourceUnionWith.cpp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we are passing the underlying collection's NS to `buildPipelineFromViewDefinition()` as the `userNss`. This isn't correct as the `userNss` in this scenario is actually the `viewNs` while the `ResolvedNamespace` holds the underlying collection's NS.

            Assignee:
            josh.siegel@mongodb.com Josh Siegel
            Reporter:
            josh.siegel@mongodb.com Josh Siegel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: