diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-03-27 18:22:26 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-04-01 07:26:26 -0400 |
commit | 907e4760487e081db031232d1f8326c0f8bdef68 (patch) | |
tree | b27bdde6a3294072b5ff15ce07081e51696b2909 /src/mongo/db/s/transaction_coordinator_futures_util.h | |
parent | 9dd07662bbe80415d90131fca2be6312166d6f39 (diff) | |
download | mongo-907e4760487e081db031232d1f8326c0f8bdef68.tar.gz |
SERVER-40297 Make all TransactionCoordinatorDriver methods free functions
The TransactionCoordinatorDriver is not really a "driver", but just a
set of functions to perform asynchronous work. There isn't any state to
keep, so there is no need for them to be in a class.
Diffstat (limited to 'src/mongo/db/s/transaction_coordinator_futures_util.h')
-rw-r--r-- | src/mongo/db/s/transaction_coordinator_futures_util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/s/transaction_coordinator_futures_util.h b/src/mongo/db/s/transaction_coordinator_futures_util.h index 7a302d5a2b4..c7361906c2c 100644 --- a/src/mongo/db/s/transaction_coordinator_futures_util.h +++ b/src/mongo/db/s/transaction_coordinator_futures_util.h @@ -34,7 +34,6 @@ #include "mongo/client/read_preference.h" #include "mongo/executor/task_executor.h" #include "mongo/executor/task_executor_pool.h" -#include "mongo/s/grid.h" #include "mongo/s/shard_id.h" #include "mongo/util/concurrency/mutex.h" #include "mongo/util/future.h" |