Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15563

Add note on mapReduce changes to 4.4 compatibility page

    XMLWordPrintableJSON

Details

    Description

      in 4.4 there was a change in behaviour of MapReduce.
      In 4.2:
      "MongoDB will not call the reduce function for a key that has only a single value. The values argument is an array whose elements are the value objects that are "mapped" to the key." docs
      From 4.4 onwards, the reduce function will be called regardless of how many values are associated with a given key.

      Need to highlight is in the 4.4 upgrade docs, as it's braking for some customers

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            kateryna.kamenieva@mongodb.com Katya Kamenieva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 22 weeks, 1 day ago