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

Explain with executionStats broken for $unionWith on Views

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL

      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:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: