summaryrefslogtreecommitdiff
path: root/src/mongo/util/version
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
commit4cb8841196d0625dfa3825aa326f071cd27c7b8b (patch)
tree1682a647d4463397c119183369ae6f750d5fdcff /src/mongo/util/version
parentaa03c6362cbaa767638e6eed9b031d86dd2643d1 (diff)
parent8f0827553e09872941945a093b647a4211a9db7f (diff)
Update upstream source from tag 'upstream/6.0.0'master
Update to upstream version '6.0.0' with Debian dir 5604a80ec1c96ca76f25f40d78e6ef855abec322
Diffstat (limited to 'src/mongo/util/version')
-rw-r--r--src/mongo/util/version/releases.h.tpl18
-rw-r--r--src/mongo/util/version/releases.yml21
2 files changed, 0 insertions, 39 deletions
diff --git a/src/mongo/util/version/releases.h.tpl b/src/mongo/util/version/releases.h.tpl
index ddab494047d..701266bc71f 100644
--- a/src/mongo/util/version/releases.h.tpl
+++ b/src/mongo/util/version/releases.h.tpl
@@ -242,24 +242,6 @@ constexpr StringData toString(FeatureCompatibilityVersion v) {
return findExtended(v).second;
}
-inline int majorVersion(FeatureCompatibilityVersion v) {
- auto str = toString(v);
- auto pos = str.rfind('.');
- if (pos == std::string::npos) {
- return -1;
- }
- return stoi(str.substr(pos-1, 1).toString());
-}
-
-inline int minorVersion(FeatureCompatibilityVersion v) {
- auto str = toString(v);
- auto pos = str.rfind('.');
- if (pos == std::string::npos) {
- return -1;
- }
- return stoi(str.substr(pos+1, 1).toString());
-}
-
/**
* Pointers to nodes of the extended table that represent numbered software versions.
* Other FCV enum members, such as those representing transitions, are excluded.
diff --git a/src/mongo/util/version/releases.yml b/src/mongo/util/version/releases.yml
index 3babf32c3f7..ca829d039c9 100644
--- a/src/mongo/util/version/releases.yml
+++ b/src/mongo/util/version/releases.yml
@@ -24,27 +24,6 @@ longTermSupportReleases:
- "4.4"
- "5.0"
-# List of stable MongoDB versions since 2.0 that have been EOL'd.
-# Entries to this section will also stop them from running as "old" versions in
-# multiversion testing across all branches. This is because there is no need to
-# run multiversion testing against EOL versions.
-eolVersions:
- - "2.0"
- - "2.2"
- - "2.4"
- - "2.6"
- - "3.0" # 2018-02
- - "3.2" # 2018-09
- - "3.4" # 2020-01
- - "3.6" # 2021-04
- - "4.0" # 2022-04
-# - "4.2" # 2023-04
-# - "4.4" # 2024-02
-# - "5.0" # 2024-10
- - "5.1" # 2022-01
- - "5.2" # 2022-04
- - "5.3" # 2022-07
-
# Optional.
# Using this special override extends FCV constant generation down to the previous value of
# lastLTS. This is intended to ease the transition to a new lastLTS by extending the lifetime