[SERVER-57154] Relax constraints of FCV parsing for feature flags Created: 24/May/21  Updated: 29/Oct/23  Resolved: 24/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-56366 Update FCV constants in server code b... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-05-31
Participants:

 Description   

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. 



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 24/May/21 ]

Author:

{'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}

Message: SERVER-57154: Relax constraints of FCV parsing for feature flags
Branch: master
https://github.com/mongodb/mongo/commit/3025e37cbbf37f4379a28caaa793b7ba8a98eeb6

Generated at Thu Feb 08 05:41:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.