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

Consider removing 'out.sharded' option from mapReduce command

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query
    • Query 2020-03-23, Query 2020-04-06

      As of MongoDB 4.4 the "out.sharded" option to mapReduce is only accepted with a value of true but is ignored. This option was maintained for 4.4 to allow for a viable 4.2->4.4 upgrade path as 4.2 only allows writing to a sharded collection with out.sharded:true specified.

      Once users are on 4.4 this flag no longer serves a purpose so we should remove for 4.6.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: