summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergi Mateo Bellido <sergi.mateo-bellido@mongodb.com>2023-05-15 06:21:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-15 07:00:02 +0000
commit2ea266820fbd6629769309d6462c250b8b1bee73 (patch)
tree79167d4b8f86fbf0cec7e5aefe46a234622d8c77
parent8faef7bcc431815d964ee35a45a6a1d21003a063 (diff)
downloadmongo-2ea266820fbd6629769309d6462c250b8b1bee73.tar.gz
SERVER-62769 Enabling prevent direct shard operations feature flag
-rw-r--r--jstests/sharding/direct_shard_connection_auth.js3
-rw-r--r--src/mongo/s/sharding_feature_flags.idl4
2 files changed, 4 insertions, 3 deletions
diff --git a/jstests/sharding/direct_shard_connection_auth.js b/jstests/sharding/direct_shard_connection_auth.js
index 88f02adedb2..798ad0e83b5 100644
--- a/jstests/sharding/direct_shard_connection_auth.js
+++ b/jstests/sharding/direct_shard_connection_auth.js
@@ -1,7 +1,8 @@
/**
* Tests that direct shard connections are correctly allowed and disallowed using authentication.
*
- * @tags: [featureFlagCheckForDirectShardOperations, featureFlagClusterCardinalityParameter]
+ * @tags: [featureFlagCheckForDirectShardOperations, featureFlagClusterCardinalityParameter,
+ * requires_fcv_71]
*/
(function() {
'use strict';
diff --git a/src/mongo/s/sharding_feature_flags.idl b/src/mongo/s/sharding_feature_flags.idl
index efdf94d250d..c3407521c96 100644
--- a/src/mongo/s/sharding_feature_flags.idl
+++ b/src/mongo/s/sharding_feature_flags.idl
@@ -97,11 +97,11 @@ feature_flags:
default: true
version: 7.0
shouldBeFCVGated: true
-
featureFlagCheckForDirectShardOperations:
description: "Feature flag for checking for direct shard operations."
cpp_varname: feature_flags::gCheckForDirectShardOperations
- default: false
+ default: true
+ version: 7.1
shouldBeFCVGated: true
featureFlagClusterCardinalityParameter:
description: "Feature flag for enabling the cluster parameter tracking cluster cardinality."