From c11b97788fcc91288deac647ddcc11625607d256 Mon Sep 17 00:00:00 2001 From: Blake Oler Date: Thu, 20 Jun 2019 11:50:28 -0400 Subject: SERVER-41676 Convert TransactionRouter to use observer pattern to synchronize internal data with external observers --- src/mongo/s/write_ops/batch_write_op_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/s/write_ops/batch_write_op_test.cpp') diff --git a/src/mongo/s/write_ops/batch_write_op_test.cpp b/src/mongo/s/write_ops/batch_write_op_test.cpp index 49b586fc58a..38c874eee90 100644 --- a/src/mongo/s/write_ops/batch_write_op_test.cpp +++ b/src/mongo/s/write_ops/batch_write_op_test.cpp @@ -1562,7 +1562,7 @@ public: _scopedSession.emplace(operationContext()); auto txnRouter = TransactionRouter::get(operationContext()); - txnRouter->beginOrContinueTxn( + txnRouter.beginOrContinueTxn( operationContext(), kTxnNumber, TransactionRouter::TransactionActions::kStart); } -- cgit v1.2.1