summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/s/commands/cluster_commit_reshard_collection_cmd.cpp2
-rw-r--r--src/mongo/s/commands/cluster_reshard_collection_cmd.cpp2
-rw-r--r--src/mongo/s/resharding/resharding_feature_flag.idl3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_commit_reshard_collection_cmd.cpp b/src/mongo/s/commands/cluster_commit_reshard_collection_cmd.cpp
index 3affa06b45c..b23f2eb3604 100644
--- a/src/mongo/s/commands/cluster_commit_reshard_collection_cmd.cpp
+++ b/src/mongo/s/commands/cluster_commit_reshard_collection_cmd.cpp
@@ -76,7 +76,7 @@ public:
}
bool supportsWriteConcern() const override {
- return true;
+ return false;
}
void doCheckAuthorization(OperationContext* opCtx) const override {
diff --git a/src/mongo/s/commands/cluster_reshard_collection_cmd.cpp b/src/mongo/s/commands/cluster_reshard_collection_cmd.cpp
index bf5740916af..17c0e36eec1 100644
--- a/src/mongo/s/commands/cluster_reshard_collection_cmd.cpp
+++ b/src/mongo/s/commands/cluster_reshard_collection_cmd.cpp
@@ -86,7 +86,7 @@ public:
}
bool supportsWriteConcern() const override {
- return true;
+ return false;
}
void doCheckAuthorization(OperationContext* opCtx) const override {
diff --git a/src/mongo/s/resharding/resharding_feature_flag.idl b/src/mongo/s/resharding/resharding_feature_flag.idl
index 53df50502d6..e83de02e286 100644
--- a/src/mongo/s/resharding/resharding_feature_flag.idl
+++ b/src/mongo/s/resharding/resharding_feature_flag.idl
@@ -38,4 +38,5 @@ feature_flags:
featureFlagResharding:
description: When enabled, allows users to reshard their sharded collections.
cpp_varname: gFeatureFlagResharding
- default: false
+ default: true
+ version: 5.0