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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.4
    • Component/s: MapReduce
    • Labels:
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      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

              Assignee:
              katherine.wu Katherine Wu
              Reporter:
              jeff.yemin Jeffrey Yemin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: