diff options
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r-- | src/mongo/db/query/find_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h index b999f2e95e1..6029d511157 100644 --- a/src/mongo/db/query/find_common.h +++ b/src/mongo/db/query/find_common.h @@ -26,11 +26,17 @@ * it in the license file. */ +#include "mongo/util/fail_point_service.h" + namespace mongo { class BSONObj; class LiteParsedQuery; +// Enabling this fail point will cause the getMore command to busy wait after pinning the cursor, +// until the fail point is disabled. +MONGO_FP_FORWARD_DECLARE(keepCursorPinnedDuringGetMore); + /** * Suite of find/getMore related functions used in both the mongod and mongos query paths. */ |