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

Re-enable map_reduce_invalid_output_collection.js for non-aggregation mapReduce

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Query

    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

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: