Explain with executionStats broken for $unionWith on Views

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v8.1, v8.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      During explain with execution stats for $unionWith, it looks we are not expanded the view definition of the sub-pipeline. The SERVER-88810 attempted to fix this for Sharded views by try catching the CommandOnShardedViewNotSupportedOnMongod, but this exception does not get throw for non-sharded views. So the view resolution never happens. The sub-pipeline execution is still happening on the correct namespace but without the prefix pipeline from the view definition

              Assignee:
              Militsa Sotirova
              Reporter:
              Arun Banala
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: