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

New accumulators and MR operators should be FCV 4.4 only

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.0-rc0, 4.5.1
    • Component/s: None
    • Labels:

      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

            Assignee:
            david.percy David Percy
            Reporter:
            david.percy David Percy
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: