summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_getmore_cmd.cpp
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2018-03-30 15:54:57 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2018-04-05 10:08:08 -0400
commit83e1a7097433b98109bbdf67f4ae3eb2421c926f (patch)
tree0019bc517295a9712549f9db7f4b1eca8b5f17c3 /src/mongo/s/commands/cluster_getmore_cmd.cpp
parent8d4c7404718bd32de68f3cce500cc160f9f7ecef (diff)
downloadmongo-83e1a7097433b98109bbdf67f4ae3eb2421c926f.tar.gz
SERVER-33942 Avoid setting deadline for maxTimeMS on tailable cursors
Diffstat (limited to 'src/mongo/s/commands/cluster_getmore_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_getmore_cmd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_getmore_cmd.cpp b/src/mongo/s/commands/cluster_getmore_cmd.cpp
index 70e8bdc7048..5455eb0f1ec 100644
--- a/src/mongo/s/commands/cluster_getmore_cmd.cpp
+++ b/src/mongo/s/commands/cluster_getmore_cmd.cpp
@@ -81,6 +81,10 @@ public:
return "retrieve more documents for a cursor id";
}
+ LogicalOp getLogicalOp() const final {
+ return LogicalOp::opGetMore;
+ }
+
Status checkAuthForCommand(Client* client,
const std::string& dbname,
const BSONObj& cmdObj) const final {