diff options
author | XueruiFa <xuerui.fa@mongodb.com> | 2021-09-02 15:22:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-02 18:19:48 +0000 |
commit | 9ed67ce0823d4b7fc5051831125e50f7f9cebb2b (patch) | |
tree | 233f2707832b0cc8be1c7ba8ac5469575082782f /src/mongo/util | |
parent | c4d2ed3292b0e113135dd85185c27a8235ea1814 (diff) | |
download | mongo-9ed67ce0823d4b7fc5051831125e50f7f9cebb2b.tar.gz |
SERVER-59012: Revert calculating 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, 3 insertions, 5 deletions
diff --git a/src/mongo/util/version/releases.h.tpl b/src/mongo/util/version/releases.h.tpl index aad3c3f901c..1250766439d 100644 --- a/src/mongo/util/version/releases.h.tpl +++ b/src/mongo/util/version/releases.h.tpl @@ -123,8 +123,8 @@ enum class FeatureCompatibilityVersion { #end for }; -## Calculate number of versions since v4.0. -constexpr size_t kSince_$underscores(Version('4.0')) = ${bisect_left(fcvs, latest)}; +## Calculate number of versions since v4.4. +constexpr size_t kSince_$underscores(Version('4.4')) = ${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 d55c84dd4ad..ea37d239bb1 100644 --- a/src/mongo/util/version/releases.yml +++ b/src/mongo/util/version/releases.yml @@ -3,10 +3,8 @@ # multiversion_constants.h. Please consult the STAR team before # modifying this file. -# All FCVs starting with 4.0. +# All FCVs starting with 4.4. featureCompatibilityVersions: - - "4.0" - - "4.2" - "4.4" - "4.7" - "4.8" |