summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/set_cluster_parameter_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/set_cluster_parameter_command.cpp')
-rw-r--r--src/mongo/db/commands/set_cluster_parameter_command.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/commands/set_cluster_parameter_command.cpp b/src/mongo/db/commands/set_cluster_parameter_command.cpp
index 696c6eda751..08ae1b2835e 100644
--- a/src/mongo/db/commands/set_cluster_parameter_command.cpp
+++ b/src/mongo/db/commands/set_cluster_parameter_command.cpp
@@ -75,12 +75,6 @@ public:
"setClusterParameter can only run on mongos in sharded clusters",
(serverGlobalParams.clusterRole == ClusterRole::None));
- FixedFCVRegion fcvRegion(opCtx);
- uassert(
- ErrorCodes::IllegalOperation,
- "Cannot set cluster parameter, gFeatureFlagClusterWideConfig is not enabled",
- gFeatureFlagClusterWideConfig.isEnabled(serverGlobalParams.featureCompatibility));
-
// TODO SERVER-65249: This will eventually be made specific to the parameter being set
// so that some parameters will be able to use setClusterParameter even on standalones.
uassert(ErrorCodes::IllegalOperation,