summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2021-10-12 17:09:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-12 18:01:43 +0000
commit602738c03ec549c5469ad8942ea489b95e83d3d6 (patch)
treed73b6f44159729d34149649bcc0664c3a81c5014 /src/mongo/db/curop.h
parenta4ad66c348822a19bbad38fb8485edd884b89a1a (diff)
downloadmongo-602738c03ec549c5469ad8942ea489b95e83d3d6.tar.gz
SERVER-59714 Add batch number to task executor cursor
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 4dee28cb495..714e3b3069b 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -232,6 +232,7 @@ public:
// For search using mongot.
boost::optional<long long> mongotCursorId{boost::none};
boost::optional<long long> msWaitingForMongot{boost::none};
+ long long mongotBatchNum = 0;
bool hasSortStage{false}; // true if the query plan involves an in-memory sort