summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/txn_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/txn_cmds.cpp')
-rw-r--r--src/mongo/db/commands/txn_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/txn_cmds.cpp b/src/mongo/db/commands/txn_cmds.cpp
index ecb756b67d6..8a0fe30e9ec 100644
--- a/src/mongo/db/commands/txn_cmds.cpp
+++ b/src/mongo/db/commands/txn_cmds.cpp
@@ -196,7 +196,7 @@ public:
opCtx, *opCtx->getLogicalSessionId(), *opCtx->getTxnNumber());
}
- txnParticipant.abortActiveTransaction(opCtx);
+ txnParticipant.abortTransaction(opCtx);
if (MONGO_FAIL_POINT(participantReturnNetworkErrorForAbortAfterExecutingAbortLogic)) {
uasserted(ErrorCodes::HostUnreachable,