summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_common.h
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2017-12-14 14:32:18 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2017-12-14 14:32:18 -0500
commit1f38fb202b9f8696cf28d39e674242e036c0b75c (patch)
tree249a9c923a97dd7e37d8898c3782bd27a6dd53a3 /src/mongo/db/query/find_common.h
parent47247293f18ea581954f6fcf4c0018b7828e3c3a (diff)
downloadmongo-1f38fb202b9f8696cf28d39e674242e036c0b75c.tar.gz
Revert "SERVER-31684 Fix unexpected "operation exceeded time limit" errors"
This reverts commit b79e5f04ffc79b5892f89c22b9e5f26a297b1185.
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r--src/mongo/db/query/find_common.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h
index 0e83e3cb546..657554a0d94 100644
--- a/src/mongo/db/query/find_common.h
+++ b/src/mongo/db/query/find_common.h
@@ -27,30 +27,10 @@
*/
#include "mongo/bson/bsonobj.h"
-#include "mongo/db/operation_context.h"
#include "mongo/util/fail_point_service.h"
namespace mongo {
-/**
- * The state associated with tailable cursors.
- */
-struct AwaitDataState {
- /**
- * The deadline for how long we wait on the tail of capped collection before returning IS_EOF.
- */
- Date_t waitForInsertsDeadline;
-
- /**
- * If true, when no results are available from a plan, then instead of returning immediately,
- * the system should wait up to the length of the operation deadline for data to be inserted
- * which causes results to become available.
- */
- bool shouldWaitForInserts;
-};
-
-extern const OperationContext::Decoration<AwaitDataState> awaitDataState;
-
class BSONObj;
class QueryRequest;