From e52733a000b23cde7dcd2b2fc765a8a1f1012165 Mon Sep 17 00:00:00 2001 From: Matthew Russotto Date: Thu, 11 Jun 2020 10:39:12 -0400 Subject: [PATCH] SERVER-48695 setAppliedThrough must set orderedCommit=false on the recovery unit --- src/mongo/db/repl/storage_interface_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp index 61f9547cf7f..88546bd626d 100644 --- a/src/mongo/db/repl/storage_interface_impl.cpp +++ b/src/mongo/db/repl/storage_interface_impl.cpp @@ -898,6 +898,7 @@ Status _updateWithQuery(OperationContext* opCtx, WriteUnitOfWork wuow(opCtx); if (!ts.isNull()) { uassertStatusOK(opCtx->recoveryUnit()->setTimestamp(ts)); + opCtx->recoveryUnit()->setOrderedCommit(false); } auto planExecutorResult = mongo::getExecutorUpdate(