diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2020-06-09 15:45:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-09 18:37:47 +0000 |
commit | 63572d7f6f3b84c7d65f3bd3fe62c7ccbcc42db0 (patch) | |
tree | abf1900a13fb0dd282bf0ab745d01b2a784c6eff /src/mongo/db/transaction_participant.cpp | |
parent | 80884df534d2fb033c6ec60d0672f5c45395ec28 (diff) | |
download | mongo-63572d7f6f3b84c7d65f3bd3fe62c7ccbcc42db0.tar.gz |
Revert "SERVER-47645 Must invalidate all sessions on stepdown"
This reverts commit 5f1a69aaf69bc12124f68e7b489a1437f9cdd575.
Diffstat (limited to 'src/mongo/db/transaction_participant.cpp')
-rw-r--r-- | src/mongo/db/transaction_participant.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/transaction_participant.cpp b/src/mongo/db/transaction_participant.cpp index 9b7d6ae21d3..2c32352c856 100644 --- a/src/mongo/db/transaction_participant.cpp +++ b/src/mongo/db/transaction_participant.cpp @@ -590,9 +590,6 @@ void TransactionParticipant::Participant::beginOrContinueTransactionUnconditiona if (o().activeTxnNumber != txnNumber) { _beginMultiDocumentTransaction(opCtx, txnNumber); - } else { - invariant(o().txnState.isInSet(TransactionState::kInProgress | TransactionState::kPrepared), - str::stream() << "Current state: " << o().txnState); } // Assume we need to write an abort if we abort this transaction. This method is called only |