From 2f6c45ee3af6d2e53c53ebb9ec266b59a27a3112 Mon Sep 17 00:00:00 2001 From: Varun Ravichandran Date: Tue, 31 May 2022 23:09:32 +0000 Subject: SERVER-65572: Remove featureFlagClusterWideConfig --- src/mongo/db/commands/set_cluster_parameter_command.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mongo/db/commands/set_cluster_parameter_command.cpp') 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, -- cgit v1.2.1