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/ops | |
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/ops')
-rw-r--r-- | src/mongo/db/ops/write_ops_exec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/write_ops_exec.cpp b/src/mongo/db/ops/write_ops_exec.cpp index d495bb89f35..c1e2c5722cf 100644 --- a/src/mongo/db/ops/write_ops_exec.cpp +++ b/src/mongo/db/ops/write_ops_exec.cpp @@ -252,7 +252,7 @@ bool handleError(OperationContext* opCtx, } // If we are in a transaction, we must fail the whole batch. out->results.emplace_back(ex.toStatus()); - txnParticipant.abortActiveTransaction(opCtx); + txnParticipant.abortTransaction(opCtx); return false; } |