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/query | |
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/query')
-rw-r--r-- | src/mongo/db/query/find_common.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/query/find_common.h | 8 |
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); |