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

M/R Agg: Reject non-inline mapReduce to an existing sharded collection that is not sharded by _id

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Query 2019-10-21

      In the current mapReduce implementation, there is nothing in place to explicitly reject merging to an existing sharded collection whose shard key is not {_id: 1}. However, since it uses this upsert helper which always targets by _id, the command will eventually fail. We should keep this behavior in 4.4.

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

              Created:
              Updated:
              Resolved: