summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/flush_routing_table_cache_updates_command.cpp')
-rw-r--r--src/mongo/db/s/flush_routing_table_cache_updates_command.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp b/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
index d75b881e46c..4ebd39a9ae3 100644
--- a/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
+++ b/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
@@ -56,6 +56,11 @@ namespace {
template <typename Derived>
class FlushRoutingTableCacheUpdatesCmdBase : public TypedCommand<Derived> {
public:
+ bool skipApiVersionCheck() const override {
+ // Internal command (server to server).
+ return true;
+ }
+
std::string help() const override {
return "Internal command which waits for any pending routing table cache updates for a "
"particular namespace to be written locally. The operationTime returned in the "