summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_common.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-05-29 15:57:49 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2018-05-30 13:41:29 -0400
commite7fd01e0293bbb46b330ba00819ceaa638e88921 (patch)
tree1d3227fd41237b9ed82a5c1b232060c12276b446 /src/mongo/db/query/find_common.h
parentf74dc79abf9b6a317a550e95089ec3a0d45ec085 (diff)
downloadmongo-e7fd01e0293bbb46b330ba00819ceaa638e88921.tar.gz
SERVER-35275 rename fail point FP macros, improve docs
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r--src/mongo/db/query/find_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h
index d0a6001d18a..a720d24c71c 100644
--- a/src/mongo/db/query/find_common.h
+++ b/src/mongo/db/query/find_common.h
@@ -55,19 +55,19 @@ class BSONObj;
class QueryRequest;
// Failpoint for making find hang.
-MONGO_FP_FORWARD_DECLARE(waitInFindBeforeMakingBatch);
+MONGO_FAIL_POINT_DECLARE(waitInFindBeforeMakingBatch);
// Failpoint for making getMore not wait for an awaitdata cursor. Allows us to avoid waiting during
// tests.
-MONGO_FP_FORWARD_DECLARE(disableAwaitDataForGetMoreCmd);
+MONGO_FAIL_POINT_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.
-MONGO_FP_FORWARD_DECLARE(waitAfterPinningCursorBeforeGetMoreBatch);
+MONGO_FAIL_POINT_DECLARE(waitAfterPinningCursorBeforeGetMoreBatch);
// 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);
+MONGO_FAIL_POINT_DECLARE(waitBeforeUnpinningOrDeletingCursorAfterGetMoreBatch);
/**
* Suite of find/getMore related functions used in both the mongod and mongos query paths.