diff options
author | Adi Zaimi <adizaimi@yahoo.com> | 2021-09-09 14:21:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-09 15:06:38 +0000 |
commit | 1181ad492b061a582c7873c8ee610b098c9076b8 (patch) | |
tree | b01c919af1c2dc437ef473feba9e811d8bf8b070 /src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp | |
parent | e1517972ad00351a79030fce12a62d9cee5f8cce (diff) | |
download | mongo-1181ad492b061a582c7873c8ee610b098c9076b8.tar.gz |
SERVER-58893 more commands to skip api version check
Diffstat (limited to 'src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp')
-rw-r--r-- | src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp b/src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp index d592c22f19c..9506f46523a 100644 --- a/src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp +++ b/src/mongo/db/s/shardsvr_commit_reshard_collection_command.cpp @@ -148,6 +148,11 @@ public: } }; + bool skipApiVersionCheck() const override { + // Internal command (server to server). + return true; + } + std::string help() const override { return "Internal command, which is exported by the shard server. Do not call directly. " "Commits an in-progress resharding operations"; |