diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-12-16 23:16:51 +0000 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2019-01-09 02:59:51 +0000 |
commit | 1fd9bfa5867c3e7d6c1eebda53d5ccd8c637459e (patch) | |
tree | 049869355836839fcd7ba6c240d4be4e3c73ae7c /src/mongo/db/pipeline/expression_context.h | |
parent | 16c7973fc8037ee0b7bd12116e5ff25084af142b (diff) | |
download | mongo-1fd9bfa5867c3e7d6c1eebda53d5ccd8c637459e.tar.gz |
SERVER-38413 Always set an initial postBatchResumeToken on mongoD
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-rw-r--r-- | src/mongo/db/pipeline/expression_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h index f78a04012f3..6594ad1adfd 100644 --- a/src/mongo/db/pipeline/expression_context.h +++ b/src/mongo/db/pipeline/expression_context.h @@ -237,6 +237,9 @@ public: TailableModeEnum tailableMode = TailableModeEnum::kNormal; + // For a changeStream aggregation, this is the starting postBatchResumeToken. Empty otherwise. + BSONObj initialPostBatchResumeToken; + // Tracks the depth of nested aggregation sub-pipelines. Used to enforce depth limits. size_t subPipelineDepth = 0; |