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

Use and extend REGISTER_ACCUMULATOR_WITH_MIN_VERSION macro once FCV constants are upgraded

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QE 2021-09-20
    • Linked BF Score:
      35

      Description

      From the design: 

      We will add a ‘featureFlagTopNAccumulator’ feature flag as part of this project to ensure that the new accumulators and expressions don’t get used when the FCV is less than 5.1. This feature flag can then be used with the appropriate ‘register’ macros to ensure that the new accumulators, window functions, and expressions are FCV gated properly.

      Additionally, these new accumulators will not be part of the stable API initially, so we will need to extend the REGISTER_ACCUMULATOR_WITH_MIN_VERSION macro to perform an api version check, similar to the ones which exist for expressions and pipeline stages.

        Attachments

          Activity

            People

            Assignee:
            mihai.andrei Mihai Andrei
            Reporter:
            mihai.andrei Mihai Andrei
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: