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

MapReduce aggregation translation does not validate output namespace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Linked BF Score:
      9

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: