summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp')
-rw-r--r--src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp b/src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp
index d5d2593bdf2..e8ed9e14277 100644
--- a/src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp
+++ b/src/mongo/db/s/shardsvr_set_cluster_parameter_command.cpp
@@ -127,6 +127,10 @@ public:
AllowedOnSecondary secondaryAllowed(ServiceContext*) const override {
return AllowedOnSecondary::kNever;
}
+
+ bool supportsRetryableWrite() const final {
+ return true;
+ }
} shardsvrSetClusterParameterCmd;
} // namespace