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

MapReduce aggregation translation does not validate output namespace

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 9

      While its true that we won't hit this particular invariant anymore, there is still an issue with the output options parser in the new MR implementation. When building the agg pipeline from an MR, we bypass the "lite parsed" version of the DocumentSources, which has the unintentional consequence of bypassing several parse-time checks such as this one in $out. We should either move/duplicate the assertions to the normal DocumentSourceOut/Merge parsers or attempt to catch them in the translation layer before building the pipeline.

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: