summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_find_cmd.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2022-06-08 18:15:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-08 19:11:46 +0000
commit3a49875934cfd7e70d789b4ad7093286d189acc9 (patch)
tree0e5b718814c1301112c215177233cb62c930e026 /src/mongo/s/commands/cluster_find_cmd.h
parent7bc98aebab513db686b76f8cc0f406bc874a7ba9 (diff)
downloadmongo-3a49875934cfd7e70d789b4ad7093286d189acc9.tar.gz
SERVER-65101 Replace transaction and retryable write command allow lists with methods on Command
Diffstat (limited to 'src/mongo/s/commands/cluster_find_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_find_cmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_find_cmd.h b/src/mongo/s/commands/cluster_find_cmd.h
index c438b60ed72..5af047a3638 100644
--- a/src/mongo/s/commands/cluster_find_cmd.h
+++ b/src/mongo/s/commands/cluster_find_cmd.h
@@ -87,6 +87,10 @@ public:
return false;
}
+ bool allowedInTransactions() const final {
+ return true;
+ }
+
std::string help() const override {
return "query for documents";
}