summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batch_write_exec_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/write_ops/batch_write_exec_test.cpp')
-rw-r--r--src/mongo/s/write_ops/batch_write_exec_test.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mongo/s/write_ops/batch_write_exec_test.cpp b/src/mongo/s/write_ops/batch_write_exec_test.cpp
index 7b29c17b72e..0bbb85f6ff7 100644
--- a/src/mongo/s/write_ops/batch_write_exec_test.cpp
+++ b/src/mongo/s/write_ops/batch_write_exec_test.cpp
@@ -2056,9 +2056,8 @@ public:
_scopedSession.emplace(operationContext());
auto txnRouter = TransactionRouter::get(operationContext());
- txnRouter.beginOrContinueTxn(operationContext(),
- TxnNumberAndRetryCounter(kTxnNumber, 0),
- TransactionRouter::TransactionActions::kStart);
+ txnRouter.beginOrContinueTxn(
+ operationContext(), kTxnNumber, TransactionRouter::TransactionActions::kStart);
txnRouter.setDefaultAtClusterTime(operationContext());
}
@@ -2203,9 +2202,8 @@ public:
_scopedSession.emplace(operationContext());
auto txnRouter = TransactionRouter::get(operationContext());
- txnRouter.beginOrContinueTxn(operationContext(),
- TxnNumberAndRetryCounter(kTxnNumber, 0),
- TransactionRouter::TransactionActions::kStart);
+ txnRouter.beginOrContinueTxn(
+ operationContext(), kTxnNumber, TransactionRouter::TransactionActions::kStart);
txnRouter.setDefaultAtClusterTime(operationContext());
}
@@ -2331,9 +2329,8 @@ public:
_scopedSession.emplace(operationContext());
auto txnRouter = TransactionRouter::get(operationContext());
- txnRouter.beginOrContinueTxn(operationContext(),
- TxnNumberAndRetryCounter(kTxnNumber, 0),
- TransactionRouter::TransactionActions::kStart);
+ txnRouter.beginOrContinueTxn(
+ operationContext(), kTxnNumber, TransactionRouter::TransactionActions::kStart);
txnRouter.setDefaultAtClusterTime(operationContext());
}