summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2018-11-29 11:22:38 -0500
committerJason Chan <jason.chan@mongodb.com>2018-11-29 11:24:32 -0500
commitaa2ca96d7ec487efabcfe93a0526caeb5cfe28b7 (patch)
tree711e87d12abd026a59570db059108b9d5c276780 /src
parentd963ad9dcca8258434e955891cbeccac7aaf3ad4 (diff)
downloadmongo-aa2ca96d7ec487efabcfe93a0526caeb5cfe28b7.tar.gz
SERVER-37801 Add prepared transaction metrics tracking to concurrency test suite
Diffstat (limited to 'src')
-rw-r--r--src/mongo/shell/session.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/session.js b/src/mongo/shell/session.js
index e2996b988b1..bbfdfb4fce0 100644
--- a/src/mongo/shell/session.js
+++ b/src/mongo/shell/session.js
@@ -745,7 +745,7 @@ var {
};
this.startTransaction = function startTransaction(txnOptsObj, ignoreActiveTxn) {
- // If the session is already in a transaction, raise an error. If retryNewTxnNum
+ // If the session is already in a transaction, raise an error. If ignoreActiveTxn
// is true, don't raise an error. This is to allow multiple threads to try to
// use the same session in a concurrency workload.
if (this.isTxnActive() && !ignoreActiveTxn) {