diff options
author | Ian Boros <ian.boros@10gen.com> | 2018-03-22 13:59:21 -0400 |
---|---|---|
committer | Ian Boros <ian.boros@10gen.com> | 2018-03-30 11:28:47 -0400 |
commit | 431ef23420797fb0956fae4e3d5149e2224bbaee (patch) | |
tree | 9be793104d6da6919374af938b3f4f9ef32b13c0 /src/mongo/db/commands/getmore_cmd.cpp | |
parent | 028d3ff3e5fed549c42761f4595a73ed40d34e9f (diff) | |
download | mongo-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.cpp | 2 |
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'. |