New accumulators and MR operators should be FCV 4.4 only

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: 4.4.0
    • Component/s: None
    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-03-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $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.

            Assignee:
            David Percy (Inactive)
            Reporter:
            David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: