diff options
author | Matthew Russotto <matthew.russotto@10gen.com> | 2019-08-21 09:54:58 -0400 |
---|---|---|
committer | Matthew Russotto <matthew.russotto@10gen.com> | 2019-08-21 09:54:58 -0400 |
commit | f661267bf981e3b315d7e942057ab0ac9dc90bef (patch) | |
tree | 24968a20050d47b9644dc64dfa0c7b542b01d90e /src/mongo/db/session_catalog_mongod.cpp | |
parent | f5ee95fe7e9e6ca3db9db01e97a917f754d4d8cd (diff) | |
download | mongo-f661267bf981e3b315d7e942057ab0ac9dc90bef.tar.gz |
SERVER-41457 Unify the different ways the TransactionParticipant offers for aborting a transaction
Diffstat (limited to 'src/mongo/db/session_catalog_mongod.cpp')
-rw-r--r-- | src/mongo/db/session_catalog_mongod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session_catalog_mongod.cpp b/src/mongo/db/session_catalog_mongod.cpp index 24e6bf62bee..86aeb61fdeb 100644 --- a/src/mongo/db/session_catalog_mongod.cpp +++ b/src/mongo/db/session_catalog_mongod.cpp @@ -207,7 +207,7 @@ void abortInProgressTransactions(OperationContext* opCtx) { auto txnParticipant = TransactionParticipant::get(opCtx); LOG(3) << "Aborting transaction sessionId: " << txnRecord.getSessionId().toBSON() << " txnNumber " << txnRecord.getTxnNum(); - txnParticipant.abortTransactionForStepUp(opCtx); + txnParticipant.abortTransaction(opCtx); } } } // namespace |