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

Re-enable map_reduce_invalid_output_collection.js for non-aggregation mapReduce

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:

      Description

      map_reduce_invalid_output_collection.js verifies a mapReduce merging to an already sharded collection will fail if that collection is not sharded by _id. For non-aggregation mapReduce, this relies on upserts without the full shard key being rejected (see SERVER-42916). SERVER-44382 allowed upserted documents in a sharded collection to have missing shard key fields, so the non-aggregation mapReduce cases in the test were disabled. They should be re-enabled after determining how mapReduce to a collection sharded by a key other than _id should behave.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: