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

Relax constraints of FCV parsing for feature flags

    • 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-05-31

      While updating FCV constants in SERVER-56366, we ran into a uassert where feature flag versions were invalid since there were not latest, lastContinuous, or lastLTS. We should relax that constraint for feature flags, so that updating FCV constants is not dependent on server engineers updating their feature flag versions. 

      We can probably make a separate function for parseVersion and serializeVersion, that will recognize any version that the server currently supports. 

            Assignee:
            xuerui.fa@mongodb.com Xuerui Fa
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: