diff options
author | Randolph Tan <randolph@10gen.com> | 2022-06-08 18:15:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-06-08 19:11:46 +0000 |
commit | 3a49875934cfd7e70d789b4ad7093286d189acc9 (patch) | |
tree | 0e5b718814c1301112c215177233cb62c930e026 /src/mongo/db/commands/find_cmd.cpp | |
parent | 7bc98aebab513db686b76f8cc0f406bc874a7ba9 (diff) | |
download | mongo-3a49875934cfd7e70d789b4ad7093286d189acc9.tar.gz |
SERVER-65101 Replace transaction and retryable write command allow lists with methods on Command
Diffstat (limited to 'src/mongo/db/commands/find_cmd.cpp')
-rw-r--r-- | src/mongo/db/commands/find_cmd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/find_cmd.cpp b/src/mongo/db/commands/find_cmd.cpp index 5bae30e43c2..756e0e265b0 100644 --- a/src/mongo/db/commands/find_cmd.cpp +++ b/src/mongo/db/commands/find_cmd.cpp @@ -216,6 +216,10 @@ public: return true; } + bool allowedInTransactions() const final { + return true; + } + class Invocation final : public CommandInvocation { public: Invocation(const FindCmd* definition, const OpMsgRequest& request, StringData dbName) |