diff options
Diffstat (limited to 'src/mongo/db/transaction_coordinator.h')
-rw-r--r-- | src/mongo/db/transaction_coordinator.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/transaction_coordinator.h b/src/mongo/db/transaction_coordinator.h index 6ab42e4d76b..063e32e209a 100644 --- a/src/mongo/db/transaction_coordinator.h +++ b/src/mongo/db/transaction_coordinator.h @@ -44,9 +44,7 @@ class TransactionCoordinator { MONGO_DISALLOW_COPYING(TransactionCoordinator); public: - TransactionCoordinator(ServiceContext* service, - executor::TaskExecutor* networkExecutor, - ThreadPool* callbackPool, + TransactionCoordinator(ServiceContext* serviceContext, const LogicalSessionId& lsid, const TxnNumber& txnNumber); ~TransactionCoordinator(); @@ -166,7 +164,7 @@ private: void _transitionToDone(stdx::unique_lock<stdx::mutex> lk) noexcept; // Shortcut to the service context under which this coordinator runs - ServiceContext* const _service; + ServiceContext* const _serviceContext; // Context object used to perform and track the state of asynchronous operations on behalf of // this coordinator. |