diff options
author | Nathan Louie <nathan.louie@10gen.com> | 2018-08-01 23:21:15 -0400 |
---|---|---|
committer | Nathan Louie <nathan.louie@10gen.com> | 2018-08-01 23:21:15 -0400 |
commit | 84cb23553ecca69fb2ec84dbd4aa13bb18f26b47 (patch) | |
tree | b464ce3eb2f2848bbd26803d126db11919d57dce /src/mongo/db/session.h | |
parent | 28ebaa2cd38d3d01b5bf5c34583e4ce37f03d373 (diff) | |
download | mongo-84cb23553ecca69fb2ec84dbd4aa13bb18f26b47.tar.gz |
SERVER-35433 Remove extra lock
Diffstat (limited to 'src/mongo/db/session.h')
-rw-r--r-- | src/mongo/db/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session.h b/src/mongo/db/session.h index 86a3da73587..c35e0160e99 100644 --- a/src/mongo/db/session.h +++ b/src/mongo/db/session.h @@ -578,7 +578,7 @@ private: void _abortTransactionOnSession(WithLock); // Clean up the transaction resources unstashed on operation context. - void _cleanUpTxnResourceOnOpCtx(WithLock wl, OperationContext* opCtx); + void _cleanUpTxnResourceOnOpCtx(OperationContext* opCtx); // Committing a transaction first changes its state to "Committing*" and writes to the oplog, // then it changes the state to "Committed". |