summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_getmore_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_getmore_cmd.h')
-rw-r--r--src/mongo/s/commands/cluster_getmore_cmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_getmore_cmd.h b/src/mongo/s/commands/cluster_getmore_cmd.h
index 45441cbdeb7..3fec3150c0b 100644
--- a/src/mongo/s/commands/cluster_getmore_cmd.h
+++ b/src/mongo/s/commands/cluster_getmore_cmd.h
@@ -70,6 +70,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)