summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/getmore_cmd.cpp
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/db/commands/getmore_cmd.cpp
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/db/commands/getmore_cmd.cpp')
-rw-r--r--src/mongo/db/commands/getmore_cmd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp
index eacb27e85ff..3b34751014f 100644
--- a/src/mongo/db/commands/getmore_cmd.cpp
+++ b/src/mongo/db/commands/getmore_cmd.cpp
@@ -317,6 +317,10 @@ public:
return std::make_unique<Invocation>(this, opMsgRequest);
}
+ bool allowedInTransactions() const final {
+ return true;
+ }
+
class Invocation final : public CommandInvocation {
public:
Invocation(Command* cmd, const OpMsgRequest& request)