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

Accept and ignore the nonAtomic:true option in the mapReduce command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • MapReduce
    • Minor Change
    • Query 2020-01-13, Query 2020-02-24, Query 2020-03-09

    Description

      All released versions of the Java driver send the following output document by default for any mapReduce command that targets a collection:

      { 
        replace: <collection name>,
        db: <db name>,
        sharded: false,
        nonAtomic: false
      }
      

      I understand that those are problematic defaults, but they are the documented defaults for those values, so it's reasonable that the driver is sending them.

      Consider whether the 4.4 server can continue to support these defaults.

      Attachments

        Issue Links

          Activity

            People

              katherine.wu@mongodb.com Katherine Wu (Inactive)
              jeff.yemin@mongodb.com Jeffrey Yemin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: