diff options
author | Ian Boros <ian.boros@10gen.com> | 2018-03-15 19:00:49 -0400 |
---|---|---|
committer | Ian Boros <ian.boros@10gen.com> | 2018-03-27 10:44:21 -0400 |
commit | 19a12557f233b43859912622ef1cf77c8ae777a2 (patch) | |
tree | ad21723c2424b6eea2a95831f56a096c787d475c /src/mongo/db/query/find_common.cpp | |
parent | 3770df1373a56e3394cbedd150c47397f5268681 (diff) | |
download | mongo-19a12557f233b43859912622ef1cf77c8ae777a2.tar.gz |
SERVER-33462 allow killOp on local mongos operations
Diffstat (limited to 'src/mongo/db/query/find_common.cpp')
-rw-r--r-- | src/mongo/db/query/find_common.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/query/find_common.cpp b/src/mongo/db/query/find_common.cpp index affea8b8967..314deea5ae7 100644 --- a/src/mongo/db/query/find_common.cpp +++ b/src/mongo/db/query/find_common.cpp @@ -31,11 +31,14 @@ #include "mongo/db/query/find_common.h" #include "mongo/bson/bsonobj.h" +#include "mongo/db/curop.h" #include "mongo/db/query/query_request.h" #include "mongo/util/assert_util.h" namespace mongo { +MONGO_FP_DECLARE(waitInFindBeforeMakingBatch); + MONGO_FP_DECLARE(disableAwaitDataForGetMoreCmd); MONGO_FP_DECLARE(waitAfterPinningCursorBeforeGetMoreBatch); @@ -85,5 +88,4 @@ BSONObj FindCommon::transformSortSpec(const BSONObj& sortSpec) { return comparatorBob.obj(); } - } // namespace mongo |