summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-02-22 14:17:03 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-02-23 12:47:04 -0500
commitd390a83e8273655db73bfb6dfe3f8eb7bdda6c67 (patch)
tree55f8f2e60fe508c0893b4ad9ef5dbf34ab68a1c5 /src/mongo
parentb22f7530ae7baf28f96c0c44127ec1564f462538 (diff)
downloadmongo-d390a83e8273655db73bfb6dfe3f8eb7bdda6c67.tar.gz
SERVER-33443 Remove kVersion32 handling from fCV command parser
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/commands/feature_compatibility_version_command_parser.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/commands/feature_compatibility_version_command_parser.cpp b/src/mongo/db/commands/feature_compatibility_version_command_parser.cpp
index dc0980794c0..c8dd5dfcecc 100644
--- a/src/mongo/db/commands/feature_compatibility_version_command_parser.cpp
+++ b/src/mongo/db/commands/feature_compatibility_version_command_parser.cpp
@@ -37,9 +37,6 @@
#include "mongo/util/version.h"
namespace mongo {
-namespace {
-constexpr StringData kVersion32 = "3.2"_sd;
-} // namespace
constexpr StringData FeatureCompatibilityVersionCommandParser::kVersion34;
constexpr StringData FeatureCompatibilityVersionCommandParser::kVersion36;
@@ -90,15 +87,6 @@ StatusWith<std::string> FeatureCompatibilityVersionCommandParser::extractVersion
const std::string version = versionElem.String();
- if (version == kVersion32) {
- return {ErrorCodes::BadValue,
- str::stream() << "Invalid command argument: '" << kVersion32
- << "'. You must downgrade to MongoDB 3.4 to enable "
- "featureCompatibilityVersion 3.2. See "
- << feature_compatibility_version::kDochubLink
- << "."};
- }
-
if (version != FeatureCompatibilityVersionCommandParser::kVersion40 &&
version != FeatureCompatibilityVersionCommandParser::kVersion36 &&
version != FeatureCompatibilityVersionCommandParser::kVersion34) {