diff options
author | XueruiFa <xuerui.fa@mongodb.com> | 2021-09-02 20:00:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-20 16:20:44 +0000 |
commit | efdac6418b6cd6012839c3e87a7b6dc4893d6ef0 (patch) | |
tree | 555f16b81f98eff696aa7d1640ba925a758e5074 /src/mongo/util | |
parent | d14837390af247b23cb6ca70908280107dccf986 (diff) | |
download | mongo-efdac6418b6cd6012839c3e87a7b6dc4893d6ef0.tar.gz |
SERVER-59012: Calculate FCV constants in resmoke
Diffstat (limited to 'src/mongo/util')
-rw-r--r-- | src/mongo/util/version/releases.h.tpl | 4 | ||||
-rw-r--r-- | src/mongo/util/version/releases.yml | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/util/version/releases.h.tpl b/src/mongo/util/version/releases.h.tpl index 4232e1c6222..787494840cf 100644 --- a/src/mongo/util/version/releases.h.tpl +++ b/src/mongo/util/version/releases.h.tpl @@ -161,8 +161,8 @@ enum class FeatureCompatibilityVersion { #end for }; -## Calculate number of versions since v4.4. -constexpr size_t kSince_$underscores(Version('4.4')) = ${bisect_left(fcvs, latest)}; +## Calculate number of versions since v4.0. +constexpr size_t kSince_$underscores(Version('4.0')) = ${bisect_left(fcvs, latest)}; // Last LTS was "$last_lts". constexpr size_t kSinceLastLTS = ${bisect_left(fcvs, latest) - bisect_left(fcvs, last_lts)}; diff --git a/src/mongo/util/version/releases.yml b/src/mongo/util/version/releases.yml index ea37d239bb1..d55c84dd4ad 100644 --- a/src/mongo/util/version/releases.yml +++ b/src/mongo/util/version/releases.yml @@ -3,8 +3,10 @@ # multiversion_constants.h. Please consult the STAR team before # modifying this file. -# All FCVs starting with 4.4. +# All FCVs starting with 4.0. featureCompatibilityVersions: + - "4.0" + - "4.2" - "4.4" - "4.7" - "4.8" |