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: Minor - P4 Minor - P4
    • 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:
            Unassigned Unassigned
            Reporter:
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: