Prevent mapReduce from outputting to system collections

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0
    • Affects Version/s: None
    • Component/s: MapReduce
    • None
    • Query
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In some manual tests it seemed like it was not possible to output to "system.views" since we prevent renaming to/from that collection. However I was able to output to "system.js" and there's no enforcement that the schema matches (see also SERVER-39122).

      This doesn't really sound like a "feature" and I think should be disallowed. $out does not allow outputting to system collections.

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: