summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_common.h
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-03-15 19:00:49 -0400
committerIan Boros <ian.boros@10gen.com>2018-03-27 10:44:21 -0400
commit19a12557f233b43859912622ef1cf77c8ae777a2 (patch)
treead21723c2424b6eea2a95831f56a096c787d475c /src/mongo/db/query/find_common.h
parent3770df1373a56e3394cbedd150c47397f5268681 (diff)
downloadmongo-19a12557f233b43859912622ef1cf77c8ae777a2.tar.gz
SERVER-33462 allow killOp on local mongos operations
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r--src/mongo/db/query/find_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h
index 6aaa8e390ff..cc84a9801b7 100644
--- a/src/mongo/db/query/find_common.h
+++ b/src/mongo/db/query/find_common.h
@@ -54,6 +54,9 @@ extern const OperationContext::Decoration<AwaitDataState> awaitDataState;
class BSONObj;
class QueryRequest;
+// Failpoint for making find hang.
+MONGO_FP_FORWARD_DECLARE(waitInFindBeforeMakingBatch);
+
// Failpoint for making getMore not wait for an awaitdata cursor. Allows us to avoid waiting during
// tests.
MONGO_FP_FORWARD_DECLARE(disableAwaitDataForGetMoreCmd);