[SERVER-58040] Generate GenericFCV enum using MONGO_VERSION Created: 23/Jun/21  Updated: 29/Oct/23  Resolved: 30/Jul/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: Mina Mahmood (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-58039 Generate multiversion_constants.h fil... Closed
is depended on by SERVER-58041 Generate transition FCV constants Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-07-26, Repl 2021-08-09
Participants:

 Description   

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.



 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 [ 29/Jul/21 ]

Author:

{'name': 'Mina Mahmood', 'email': 'mina.mahmood@mongodb.com'}

Message: SERVER-58040 Generate GenericFCV enum using MONGO_VERSION
Branch: master
https://github.com/mongodb/mongo/commit/01d1576f27f6099180f5fce51ef9475f7f6abe2e

Comment by Githook User [ 29/Jul/21 ]

Author:

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

Message: Revert "SERVER-58040 Generate GenericFCV enum using MONGO_VERSION"

This reverts commit 555e0630e2b02e1793d76ea0b503c4cab5578149.
Branch: master
https://github.com/mongodb/mongo/commit/ba892c6dccd7e27f9e55a2a73092ec54b0efb558

Comment by Githook User [ 29/Jul/21 ]

Author:

{'name': 'Mina Mahmood', 'email': 'mina.mahmood@mongodb.com'}

Message: SERVER-58040 Generate GenericFCV enum using MONGO_VERSION
Branch: master
https://github.com/mongodb/mongo/commit/555e0630e2b02e1793d76ea0b503c4cab5578149

Comment by Mina Mahmood (Inactive) [ 21/Jul/21 ]

Code Review URL: https://mongodbcr.appspot.com/820180004/

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