summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
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/query
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/query')
-rw-r--r--src/mongo/db/query/find_common.cpp2
-rw-r--r--src/mongo/db/query/find_common.h8
2 files changed, 2 insertions, 8 deletions
diff --git a/src/mongo/db/query/find_common.cpp b/src/mongo/db/query/find_common.cpp
index 314deea5ae7..f30d395308a 100644
--- a/src/mongo/db/query/find_common.cpp
+++ b/src/mongo/db/query/find_common.cpp
@@ -43,8 +43,6 @@ MONGO_FP_DECLARE(disableAwaitDataForGetMoreCmd);
MONGO_FP_DECLARE(waitAfterPinningCursorBeforeGetMoreBatch);
-MONGO_FP_DECLARE(waitWithPinnedCursorDuringGetMoreBatch);
-
MONGO_FP_DECLARE(waitBeforeUnpinningOrDeletingCursorAfterGetMoreBatch);
const OperationContext::Decoration<AwaitDataState> awaitDataState =
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h
index cc84a9801b7..d0a6001d18a 100644
--- a/src/mongo/db/query/find_common.h
+++ b/src/mongo/db/query/find_common.h
@@ -61,14 +61,10 @@ MONGO_FP_FORWARD_DECLARE(waitInFindBeforeMakingBatch);
// tests.
MONGO_FP_FORWARD_DECLARE(disableAwaitDataForGetMoreCmd);
-// Enabling this fail point will cause the getMore command to busy wait after pinning the cursor but
-// before we have started building the batch, until the fail point is disabled.
+// Enabling this fail point will cause the getMore command to busy wait after pinning the cursor
+// but before we have started building the batch, until the fail point is disabled.
MONGO_FP_FORWARD_DECLARE(waitAfterPinningCursorBeforeGetMoreBatch);
-// Enabling this fail point will cause the getMore command to busy wait with its cursor pinned while
-// building the batch, until the fail point is disabled.
-MONGO_FP_FORWARD_DECLARE(waitWithPinnedCursorDuringGetMoreBatch);
-
// Enabling this failpoint will cause the getMore to wait just before it unpins its cursor after it
// has completed building the current batch.
MONGO_FP_FORWARD_DECLARE(waitBeforeUnpinningOrDeletingCursorAfterGetMoreBatch);