summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2020-06-11 10:39:12 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-23 14:09:39 +0000
commit3da338ad27cb52475f48696bd7d88ee55576c4dc (patch)
tree5cdeca15cbb99635981faa052eefe2c2ac8d6882
parent9a33d0de545ab5d2268a4b06ea83b0f8ddc363ac (diff)
downloadmongo-3da338ad27cb52475f48696bd7d88ee55576c4dc.tar.gz
SERVER-48695 setAppliedThrough must set orderedCommit=false on the recovery unit
(cherry picked from commit e52733a000b23cde7dcd2b2fc765a8a1f1012165)
-rw-r--r--src/mongo/db/repl/storage_interface_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp
index 0f0402be183..02e2cffd094 100644
--- a/src/mongo/db/repl/storage_interface_impl.cpp
+++ b/src/mongo/db/repl/storage_interface_impl.cpp
@@ -841,6 +841,7 @@ Status _updateWithQuery(OperationContext* opCtx,
WriteUnitOfWork wuow(opCtx);
if (!ts.isNull()) {
uassertStatusOK(opCtx->recoveryUnit()->setTimestamp(ts));
+ opCtx->recoveryUnit()->setOrderedCommit(false);
}
auto planExecutorResult =