summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/getmore_cmd.cpp
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-03-22 13:59:21 -0400
committerIan Boros <ian.boros@10gen.com>2018-03-30 11:28:47 -0400
commit431ef23420797fb0956fae4e3d5149e2224bbaee (patch)
tree9be793104d6da6919374af938b3f4f9ef32b13c0 /src/mongo/db/commands/getmore_cmd.cpp
parent028d3ff3e5fed549c42761f4595a73ed40d34e9f (diff)
downloadmongo-431ef23420797fb0956fae4e3d5149e2224bbaee.tar.gz
SERVER-33283 Add test coverage for case where pinned cursor is killed after interrupt checks
Diffstat (limited to 'src/mongo/db/commands/getmore_cmd.cpp')
-rw-r--r--src/mongo/db/commands/getmore_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/commands/getmore_cmd.cpp b/src/mongo/db/commands/getmore_cmd.cpp
index 45595a597ef..12102bf0ed4 100644
--- a/src/mongo/db/commands/getmore_cmd.cpp
+++ b/src/mongo/db/commands/getmore_cmd.cpp
@@ -68,6 +68,8 @@ namespace {
MONGO_FP_DECLARE(rsStopGetMoreCmd);
+MONGO_FP_DECLARE(waitWithPinnedCursorDuringGetMoreBatch);
+
/**
* Validates that the lsid of 'opCtx' matches that of 'cursor'. This must be called after
* authenticating, so that it is safe to report the lsid of 'cursor'.