summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.cpp
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2018-07-03 14:45:31 -0400
committerJudah Schvimer <judah@mongodb.com>2018-07-03 14:45:31 -0400
commitcc39290b6580d638da957506ca8660ef0d015d91 (patch)
treefcc6987c1cd4f5dd20a9e060cf67538350ef0c1f /src/mongo/db/op_observer_impl.cpp
parent57d7938c49da06122d4d43054ff89e1881d0209f (diff)
downloadmongo-cc39290b6580d638da957506ca8660ef0d015d91.tar.gz
SERVER-35729 Create explicit Session state transition table
Diffstat (limited to 'src/mongo/db/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer_impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp
index 0514ac989dd..7305ff49267 100644
--- a/src/mongo/db/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer_impl.cpp
@@ -949,7 +949,6 @@ void OpObserverImpl::onTransactionCommit(OperationContext* opCtx) {
invariant(opCtx->getTxnNumber());
Session* const session = OperationContextSession::get(opCtx);
invariant(session);
- invariant(session->inMultiDocumentTransaction());
auto stmts = session->endTransactionAndRetrieveOperations(opCtx);
// It is possible that the transaction resulted in no changes. In that case, we should