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

Generate GenericFCV enum using MONGO_VERSION

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2021-07-26, Repl 2021-08-09

      As part of this ticket, we will:

      • Parse latestFCV from MONGO_VERSION, which is parsed from the git tag.
      • Set lastRapid as the highest version in featureCompatibilityVersions that is less than latestFCV.
      • Set lastMajor as the highest version in majorReleases that is less than latestFCV.

      We will create a GenericFCV enum that has these values set to their corresponding FCV constant. In addition, the FCV constants enum should only generate FCVs from lastMajor onwards.

            Assignee:
            mina.mahmood@mongodb.com Mina Mahmood (Inactive)
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: