summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_history_iterator.cpp
diff options
context:
space:
mode:
authorIan Boros <ian.boros@mongodb.com>2022-01-19 21:21:53 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-19 23:03:19 +0000
commitd8afa17c615c274390899917d19180e374040f3e (patch)
treee9efc40d03b37026e1bad40752666fbd6cad5b33 /src/mongo/db/transaction_history_iterator.cpp
parent6a08c23ebeab0e0434226cbc6c690b458e61d745 (diff)
downloadmongo-d8afa17c615c274390899917d19180e374040f3e.tar.gz
SERVER-60742 Maintain RecoveryUnit and storage resources across getMores for non-exchange aggregation operations
Diffstat (limited to 'src/mongo/db/transaction_history_iterator.cpp')
-rw-r--r--src/mongo/db/transaction_history_iterator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/transaction_history_iterator.cpp b/src/mongo/db/transaction_history_iterator.cpp
index b01259efd5e..be5acc542cd 100644
--- a/src/mongo/db/transaction_history_iterator.cpp
+++ b/src/mongo/db/transaction_history_iterator.cpp
@@ -90,6 +90,7 @@ BSONObj findOneOplogEntry(OperationContext* opCtx,
&oplogRead.getCollection(),
std::move(cq),
nullptr /*extractAndAttachPipelineStages */,
+ true, /* allow saving cursors across commands */
permitYield));
PlanExecutor::ExecState getNextResult;