summaryrefslogtreecommitdiff
path: root/src/mongo/util/version
diff options
context:
space:
mode:
authorXueruiFa <xuerui.fa@mongodb.com>2022-04-13 20:12:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-13 20:52:22 +0000
commit8a6ccfc1aedfd0006fe4ec4fefd2e7f23abc5e8f (patch)
treed4b11025aec4c501a7b04f42414c7e9b9c98ec6a /src/mongo/util/version
parent4606b3cd56fd4ca9c5c39ebc8a0f7e0cfb790f9e (diff)
downloadmongo-8a6ccfc1aedfd0006fe4ec4fefd2e7f23abc5e8f.tar.gz
SERVER-65394: Ensure that old LTS constants are generated with 'kFullyDowngradedTo...'
Diffstat (limited to 'src/mongo/util/version')
-rw-r--r--src/mongo/util/version/releases.h.tpl3
-rw-r--r--src/mongo/util/version/releases.yml2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/util/version/releases.h.tpl b/src/mongo/util/version/releases.h.tpl
index 701266bc71f..950b8a59cc4 100644
--- a/src/mongo/util/version/releases.h.tpl
+++ b/src/mongo/util/version/releases.h.tpl
@@ -77,7 +77,8 @@
## Format a Version as `{major}_{minor}`.
#def underscores(v): ${'{}_{}'.format(v.major, v.minor)}
#def dotted(v): ${'{}.{}'.format(v.major, v.minor)}
-#def fcv_prefix(v): ${'kFullyDowngradedTo_' if v == $last_lts else 'kVersion_'}
+## TODO (SERVER-65400): Avoid generating the LTS FCV with 'kFullyDowngradedTo...'
+#def fcv_prefix(v): ${'kFullyDowngradedTo_' if v == $lower_bound_override else 'kVersion_'}
#def fcv_cpp_name(v): ${'{}{}'.format($fcv_prefix(v), $underscores(v))}
##
#def transition_enum_name(transition, first, second):
diff --git a/src/mongo/util/version/releases.yml b/src/mongo/util/version/releases.yml
index ca829d039c9..51a956ee93b 100644
--- a/src/mongo/util/version/releases.yml
+++ b/src/mongo/util/version/releases.yml
@@ -29,4 +29,4 @@ longTermSupportReleases:
# lastLTS. This is intended to ease the transition to a new lastLTS by extending the lifetime
# of those older constants, so that they can be removed at a more convenient time.
# For example, we can set this to "5.0" when releasing "6.0".
-# generateFCVLowerBoundOverride: "4.4"
+generateFCVLowerBoundOverride: "5.0"