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

New accumulators and MR operators should be FCV 4.4 only

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • 4.4.0
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-03-23

    Description

      $accumulator should be available only when FCV is kFullyUpgradedTo44.  We need to extend the REGISTER_ACCUMULATOR macro, similar to REGISTER_EXPRESSION_WITH_MIN_VERSION.

      We can also mark $_internalJsReduce and $_internalJsEmit as 4.4 only.  These internal operators are part of the new mapReduce implementation, and mongos should only produce them on FCV 4.4.

      Attachments

        Activity

          People

            david.percy@mongodb.com David Percy
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: