summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp')
-rw-r--r--src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp b/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
index 438a7d3227a..df59c5135ea 100644
--- a/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
+++ b/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
@@ -68,6 +68,10 @@ public:
return AllowedOnSecondary::kNever;
}
+ bool supportsRetryableWrite() const final {
+ return true;
+ }
+
class Invocation final : public InvocationBase {
public:
using InvocationBase::InvocationBase;