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

Prevent mapReduce from outputting to system collections

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.0
    • MapReduce
    • None
    • Query
    • Fully Compatible

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: